Get Report
Name
get_report
Description
Downloads an Amazon Ads report. [API reference]
Parameters
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. |
If the column you are looking for is missing, consider customizing Amazon Ads Connector.
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. |
Examples
SSIS
Use Amazon Ads Connector in API Source component to read data or in API Destination component to read/write data:
Get Report using API Source
Amazon Ads
Get Report

Get Report using API Destination
Amazon Ads
Get Report

ODBC application
Use these SQL queries in your ODBC application data source:
Get report
SELECT * FROM get_report
WITH
(
"RecordType" = 'keywords',
"ReportDate" = 'today',
"Metrics" = 'abcd-1234-metrics'
)
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Get report
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_report
WITH
(
"RecordType" = ''keywords'',
"ReportDate" = ''today'',
"Metrics" = ''abcd-1234-metrics''
)';
EXEC (@MyQuery) AT [LS_TO_AMAZON_ADS_IN_GATEWAY];