JDBC Driver for Yahoo! Ads

Build 24.0.9062

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 Accepts Output Streams Description
AccountId Int64 False Account ID.
MediaId Int64 False Media ID.
DownloadLocation String False Download location. For example: C:\Report.mp4
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.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062