SearchAdsDownloadReport
Download the SearchAds report.
Stored Procedure Specific Information
Yahoo! Ads allows only a small subset of columns to be used in the Exec query. These columns can typically be used with only = comparison. The required columns in SearchAdsDownloadReport are AccountId, ReportJobId and DownloadLocation
For example:
EXECUTE SearchAdsDownloadReport AccountId = '1265', ReportJobId = '8974', DownloadLocation = 'C:/SearchAdsDownloadReport.txt'
Input
Name | Type | Accepts Output Streams | Description |
AccountId | Int64 | False | Account ID. |
ReportJobId | Int64 | False | Report Job ID. |
DownloadLocation | String | False | Download location. For example: C:\Report.csv |
Encoding | String | False | The FileData input encoding type.
使用できる値は次のとおりです。NONE, BASE64 デフォルト値はBASE64です。 |
FileStream | String | True | An instance of an output stream where file data is written to. Only used if DownloadPath is not provided. |
Result Set Columns
Name | Type | Description |
Status | String | Execution status of the stored procedure |
FileData | String | If the DownloadLocation and FileStream are not provided, this contains the content of the file. |