ADO.NET Provider for Yahoo! Ads

Build 24.0.9062

DisplayAdsDownloadCampaignMigrationOriginalFile

Download the uploaded original csv file as well as error files.

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 DownloadCampaignMigrationOriginalFileAndErrorFile are AccountId, MigrationJobId and DownloadLocation. For example:

EXECUTE DisplayAdsDownloadCampaignMigrationOriginalFile AccountId = '8976', MigrationJobId = '8936', DownloadLocation = 'C:\DownloadCampaignMigrationOriginalFile.txt'

Input

Name Type Accepts Output Streams Description
AccountId Int64 False Account ID.
MigrationJobId Int64 False Migration Job ID.
DownloadLocation String False Download location. For example: C:\Report.csv
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
FileData String If the DownloadLocation and FileStream are not provided, this contains the content of the file.
Status String Execution status of the stored procedure

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