Reference

Table Profiles


Description

No description available

Supported Operations

Below section contains supported CRUD operations. Each operation is executed by some EndPoint behind the scene.
Method Supported Reference EndPoint
SELECT get_profiles
INSERT
UPDATE
UPSERT
DELETE
LOOKUP

Examples

SSIS

Use Amazon Ads Connector in API Source component to read data or in API Destination component to read/write data:

Read from Profiles table using API Source

API Source - Amazon Ads
Read and write Amazon Ads data effortlessly. Integrate, manage, and automate campaigns, ad groups, and performance metrics — almost no coding required.
Amazon Ads
Profiles
There are no parameters to configure.
SSIS API Source - Read from table or endpoint

Read/write to Profiles table using API Destination

API Destination - Amazon Ads
Read and write Amazon Ads data effortlessly. Integrate, manage, and automate campaigns, ad groups, and performance metrics — almost no coding required.
Amazon Ads
Profiles
Select
There are no parameters to configure.
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

List profiles

<p>Return all available advertising profiles as rows. Use this to see which profiles (accounts) are accessible with the current credentials.</p>

SELECT * FROM Profiles

Get profile by ID

<p>Fetch a single profile by its ID. Use your own profile ID in place of the sample.</p>

SELECT * FROM Profiles
WHERE ProfileId = 'YOUR_PROFILE_ID'

List profiles filtered by country and currency

<p>List only profiles for a specific marketplace by filtering by country and currency. Adjust the sample values (e.g. US and USD) to match your region.</p>

SELECT * FROM Profiles
WHERE CountryCode = 'US'
  AND CurrencyCode = 'USD'

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

List profiles

<p>Return all available advertising profiles as rows. Use this to see which profiles (accounts) are accessible with the current credentials.</p>

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Profiles';

EXEC (@MyQuery) AT [LS_TO_AMAZON_ADS_IN_GATEWAY];

Get profile by ID

<p>Fetch a single profile by its ID. Use your own profile ID in place of the sample.</p>

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Profiles
WHERE ProfileId = ''YOUR_PROFILE_ID''';

EXEC (@MyQuery) AT [LS_TO_AMAZON_ADS_IN_GATEWAY];

List profiles filtered by country and currency

<p>List only profiles for a specific marketplace by filtering by country and currency. Adjust the sample values (e.g. US and USD) to match your region.</p>

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Profiles
WHERE CountryCode = ''US''
  AND CurrencyCode = ''USD''';

EXEC (@MyQuery) AT [LS_TO_AMAZON_ADS_IN_GATEWAY];