SearchAdsAssetServiceDownloadImage
Download the submitted image 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 SearchAdsAssetServiceDownloadImage are AccountId and AssetId.
For example:
EXEC SearchAdsAssetServiceDownloadImage accountId=1234566, assetid=5363471; EXEC SearchAdsAssetServiceDownloadImage accountId=1234566, assetid=5363471, DownloadLocation='D:/image.jpg';
Input
| Name | Type | Description |
| AccountId | Int64 | Account ID. |
| AssetId | Int64 | Asset ID. |
| DownloadLocation | String | Download location. For example: C:\Image.png |
| 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. |