JDBC Driver for Yahoo! Ads

Build 25.0.9434

SearchAdsAssetServiceUploadImage

Insert the image type asset data into the asset.

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 SearchAdsAssetServiceUploadImage are AccountId, ImageName, and (FileLocation or content). For example:

EXEC SearchAdsAssetServiceUploadImage accountId=1234339, ImageName='img.jpeg', filelocation='C:/img.jpg';

Input

Name Type Description
AccountId Int64 Account ID.
ImageName String Image name.
ImageAspectRatio String The type of aspect ratio.
ImageFileSize Int64 The file size of image.
ImageHeight Int64 The height of image.
ImageWidth Int64 The width of image.
ImageFileType String The file type of image.

使用できる値は次のとおりです。PNG, JPEG, UNKNOWN

FileLocation String File to upload.
Content String The content as Base64 encoded string to be uploading when FileLocation is not specified.

Result Set Columns

Name Type Description
Status String Execution status of the stored procedure
AssetId String Asset Id.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434