DisplayAdsDownloadMedia
Download the submitted media file.
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 DisplayAdsDownloadMedia are AccountId, MediaId and DownloadLocation.
For example:
EXECUTE DisplayAdsDownloadMedia AccountId = '1234', MediaId = '9826', DownloadLocation = 'C:/DownloadMedia.txt'
Input
Name | Type | Description |
AccountId | Int64 | Account ID. |
MediaId | Int64 | Media ID. |
DownloadLocation | String | Download location. For example: C:\Report.mp4 |
Encoding | String | The FileData input encoding type.
使用できる値は次のとおりです。NONE, BASE64 デフォルト値はBASE64です。 |
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. |