Amazon Ads Reference
The public API procedures may call the internal procedures which should not be used directly as they can be changed without any explicit notification in the newer versions of the connector. Internal procedures can be recognized by the prefix internal_
in their names. Public API procedures do not have such prefixes in their names.
AdGroups
Ad groups of sponsored products satisfying optional criteria PLANNED API DEPRECATION June 30, 2023
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<adGroupId> (optional): Retrieve an ad group by ID
<extended> (optional): Retrieve an ad group along with additional properties
<stateFilter> (optional): Restricts results to keywords with state within the specified comma-separated list. Must be one of: enabled, paused, or archived. Default behavior is to include all
<campaignIdFilter> (optional): Restricts results to ad groups within campaigns specified in comma-separated list
<adGroupIdFilter> (optional): Restricts results to ad groups specified in comma-separated list
<name> (optional): Restricts results to ad groups with the specified name
<target_table> (optional): Table name to save the data to
<preview> (optional): Preview only, don't write into table
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adGroupId | long | ID of the ad group |
name | string | Name of the ad group |
campaignId | long | ID of the campaign to which this ad group belongs |
defaultBid | bigdecimal | The bid used when keywords belonging to this ad group don't specify a bid |
state | string | Advertiser-specified state of the ad group |
creationDate | timestamp | The date the ad group was created |
lastUpdatedDate | timestamp | The date the ad group was last updated |
servingStatus | string | The computed status, accounting for out of budget, policy violations, etc |
Example
CREATE VIEW amazon_ads_examples.example_AdGroups AS
SELECT * FROM (
CALL amazon_ads.AdGroups (
profileId => 0001,
extended => true,
preview => true
)
)x
Attribution_Advertisers
Advertisers associated with an Amazon Attribution account
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
advertiserId | long | The identifier of the advertiser |
advertiserName | string | The name of the advertiser |
Example
CREATE VIEW amazon_ads_examples.example_Attribution_Advertisers AS
SELECT *
FROM (
CALL amazon_ads.Attribution_Advertisers (
profileId => 2480654271163770
)
) AS x
Attribution_Publishers
All available publishers
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
id | string | The identifier of the publisher |
macroEnabled | boolean | Set to 'true' if the publisher supports macros |
name | string | The name of the publisher |
Example
SQL
|
Attribution_Report
Attribution report
Parameter
<profileId> (optional): Profile ID
<advertiserIds> (optional): One or more advertiser Ids to filter reporting by. If requesting reporting for multiple advertiser Ids, input via a comma-delimited list
<endDate> (optional): The end date for the report
<reportType> (optional): The type of report. Either PERFORMANCE or PRODUCTS
<startDate> (optional): The start date for the report. For reportType PRODUCTS, startDate can only be within last 90 days from current date
<daysToRedownload> (optional): Re-download days|How many days to query into the past
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profile_id | long | Profile ID |
report_type | string | The type of report. Either PERFORMANCE or PRODUCTS |
advertiser_id | long | One or more advertiser Ids to filter reporting by. If requesting reporting for multiple advertiser Ids, input via a comma-delimited list |
date | date | Date on which the events took place. Applies to PERFORMANCE and PRODUCTS reportType |
adGroupId | string | An ad group external identifier. Applies to PERFORMANCE and PRODUCTS reportType |
advertiserName | string | Name of advertiser. Applies to PERFORMANCE and PRODUCTS reportType |
brandName | string | Name of the advertiser's brand. Applies only to PRODUCTS reportType |
campaignId | string | A campaign external identifier. Applies to PERFORMANCE and PRODUCTS reportType |
creativeId | string | A creative external identifier. Applies only to PERFORMANCE reportType |
marketplace | string | The Amazon-owned site the product is sold on. Applies only to PRODUCTS reportType |
productAsin | string | A unique block of letters and/or numbers that identify all products sold on Amazon. Applies only to PRODUCTS reportType |
productCategory | string | A classification for the type of product being sold which determines its place in the Amazon retail catalog. Contains categories of products. Applies only to PRODUCTS reportType |
productSubcategory | string | A classification for the type of product being sold which determines its place in the Amazon retail catalog. Contains subcategories of products. Applies only to PRODUCTS reportType |
productConversionType | string | The conversion type describes whether the conversion happened on a promoted or a brand halo ASIN. Applies only to PRODUCTS reportType |
productGroup | string | A distinct product grouping distinguishing products like watches from video games from toys. Contains groups of products. Applies only to PRODUCTS reportType |
productName | string | The name of the product. Applies only to PRODUCTS reportType |
publisher | string | The publisher name. Applies to PERFORMANCE and PRODUCTS reportType |
attributedAddToCartClicks14d | bigdecimal | The number of promoted add to cart conversions attributed to ad click-throughs within 14 days |
attributedDetailPageViewsClicks14d | bigdecimal | The number of promoted detail page view conversions attributed to ad click-throughs within 14 days |
attributedNewToBrandPurchases14d | bigdecimal | The number of promoted purchases made for the first time over a one-year lookback window by customers on Amazon, attributed to ad click-throughs within 14 days |
attributedNewToBrandSales14d | bigdecimal | The aggregate value of promoted sales made for the first time over a one-year lookback window by customers on Amazon, attributed to ad click-throughs within 14 days |
attributedNewToBrandUnitsSold14d | bigdecimal | The number of promoted units sold made for the first time over a one-year lookback window by customers on Amazon, attributed to ad click-throughs within 14 days |
attributedPurchases14d | bigdecimal | The number of promoted purchases attributed to ad click-throughs within 14 days |
attributedSales14d | bigdecimal | Aggregate value of promoted attributed sales occurring within 14 days of an attribution event in local currency |
attributedTotalAddToCartClicks14d | bigdecimal | The number of total add to cart conversions attributed to ad click-throughs within 14 days, including brand halo |
attributedTotalDetailPageViewsClicks14d | bigdecimal | The number of total detail page view conversions attributed to ad click-throughs within 14 days, including brand halo |
attributedTotalPurchases14d | bigdecimal | The number of total purchases attributed to ad click-throughs within 14 days, including brand halo |
brandHaloAttributedAddToCartClicks14d | bigdecimal | The number of Brand halo add to cart conversions attributed to ad click-throughs within 14 days |
brandHaloAttributedPurchases14d | bigdecimal | The number of Brand halo purchases attributed to ad click-throughs within 14 days |
brandHaloAttributedSales14d | bigdecimal | Aggregate value of Brand halo attributed sales occurring within 14 days of an attribution event in local currency |
brandHaloDetailPageViewsClicks14d | bigdecimal | The number of Brand halo detail page view conversions attributed to ad click-throughs within 14 days |
brandHaloNewToBrandPurchases14d | bigdecimal | The number of Brand halo purchases made for the first time over a one-year lookback window by customers on Amazon, attributed to ad click-throughs within 14 days |
brandHaloNewToBrandSales14d | bigdecimal | The aggregate value of Brand halo sales made for the first time over a one-year lookback window by customers on Amazon, attributed to ad click-throughs within 14 days |
brandHaloNewToBrandUnitsSold14d | bigdecimal | The number of Brand halo units sold made for the first time over a one-year lookback window by customers on Amazon, attributed to ad click-throughs within 14 days |
brandHaloUnitsSold14d | bigdecimal | The number of Brand halo units sold attributed to ad click-throughs within 14 days |
totalAttributedSales14d | bigdecimal | Aggregate value of total attributed sales occurring within 14 days of an attribution event in local currency, including brand halo |
totalUnitsSold14d | bigdecimal | The number of total units sold attributed to ad click-throughs within 14 days, including brand halo |
unitsSold14d | bigdecimal | The number of promoted units sold attributed to ad click-throughs within 14 days |
Example
CREATE VIEW amazon_ads_examples.example_Attribution_Report AS
SELECT *
FROM (
CALL amazon_ads.Attribution_Report (
profileId => 2426252344407568,
reportType => 'PERFORMANCE',
advertiserIds => '3199887370002,2427069160401',
startDate => TIMESTAMPADD (SQL_TSI_DAY, -365, CURDATE ()),
endDate => CURDATE ()
)
) AS x
Attribution_TagsMacro
Attribution tags for third-party publisher campaigns that support macros
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<publisherIds> (optional): List of publisher identifiers for which to request tags
<advertiserIds> (optional): List of advertiser identifiers for which to request tags. If no values are passed, all advertisers are returned
<nonMacroTemplateTag> (optional): If 'true' - gets a list of attribution tags for third-party publisher campaigns that do not support macros, otherwise if 'false' - gets a list of attribution tags for third-party publisher campaigns that support macros, if NULL - gets both
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
advertiserId | string | The advertiser identifier |
publisherId | string | Publisher Id |
macroTag | string |
|
Example
CREATE VIEW amazon_ads_examples.example_Attribution_TagsMacro AS
SELECT *
FROM (
CALL amazon_ads.Attribution_TagsMacro (
profileId => 2480654271163770,
publisherIds => '1,2,3',
advertiserIds => NULL,
nonMacroTemplateTag => NULL
)
) AS x
BrandMetrics_Report
Brand Metrics report
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<lookBackPeriod> (optional): Defines the period of time used to determine the number of shoppers in the metrics computation. Currently supported values: "1w" (one week), "1m" (one month) and "1cm" (one calendar month)
<reportStartDate> (optional): Retrieves metrics with metricsComputationDate between reportStartDate and reportEndDate
<reportEndDate> (optional): Retrieves metrics with metricsComputationDate between reportStartDate and reportEndDate
<daysToRedownload> (optional): How many days to query into the past
<daysStep> (optional): Days step to split range of dates
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profile_id | long | Profile ID |
brandName | string | Brand Name |
categoryNodeName | string | The hierarchical path that leads to a node starting with the root node. If no Category Node Name is passed, then all data available for all brands belonging to the entity are retrieved |
categoryNodeTreeName | string | The node at the top of a browse tree. It is the start node of a tree |
lookbackPeriod | string | Defines the period of time used to determine the number of shoppers in the metrics computation |
metricsComputationDate | date | Metrics computation date |
addToCarts | bigdecimal | shoppers that added [Brand Name] to cart in [categoryNodePath] in [lookBackPeriod] |
addToCartsCategoryMedian | bigdecimal | shoppers that added the peer median to cart in [categoryNodePath] in [lookBackPeriod] |
addToCartsReturnOnEngagement | bigdecimal | The average amount of sales each customer who was in this state 12 months ago drove over 1 year. Calculated by taking the total original population 12 months ago by the total amount of sales this population drove over the last year for your brand in the selected category |
addToCartsROECategoryMedian | bigdecimal | The average amount of sales each customer who was in this state for the peer median 12 months ago drove over 1 year. Calculated by taking the total original population 12 months ago by the total amount of sales this population drove over the last year for your brand in the selected category |
addToCartsROECategoryTopPerformers | bigdecimal | The average amount of sales each customer who was in this state for the 95-99 percent peers 12 months ago drove over 1 year. Calculated by taking the total orginal population 12 months ago by the total amount of sales this populaton drove over the last year for your brand in the selected category |
awarenessIndex | bigdecimal | Awareness Index measures actual on-Amazon audience signals reflecting awareness for your brand in the short and long term, across the whole on-Amazon audience. The percentile lets you know how the awareness activity for your brand compares to that of your peers |
brandCustomers | bigdecimal | 0%-90% of sales contributing shoppers for [Brand Name] whom purchased in [categoryNodePath] in [lookBackPeriod] |
brandCustomersCategoryMedian | bigdecimal | 0%-90% of sales contributors for the peer median whom purchased in [categoryNodePath] in [lookBackPeriod] |
brandCustomersCategoryTopPerformers | bigdecimal | 0%-90% of sales contributors for avg. of the top 95th - 99th percent of peers whom purchased in [categoryNodePath] in [lookBackPeriod] |
brandCustomersReturnOnEngagement | bigdecimal | The average amount of sales each customer who was in this state 12 months ago drove over 1 year. Calculated by taking the total orginal population 12 months ago by the total amount of sales this populaton drove over the last year for your brand in the selected category |
brandCustomersROECategoryMedian | bigdecimal | The average amount of sales each customer who was in this state for the peer median 12 months ago drove over 1 year. Calculated by taking the total orginal population 12 months ago by the total amount of sales this populaton drove over the last year for your brand in the selected category |
brandCustomersROECategoryTopPerformers | bigdecimal | The average amount of sales each customer who was in this state for the 95-99 percent peers 12 months ago drove over 1 year. Calculated by taking the total orginal population 12 months ago by the total amount of sales this populaton drove over the last year for your brand in the selected category |
brandedSearchesAndDetailPageViews | bigdecimal | shoppers that searched brand and viewed detail page of [Brand Name] in [categoryNodePath] in [lookBackPeriod] |
brandedSearchesAndDetailPageViewsCategoryMedian | bigdecimal | shoppers that searched brand and viewed the detail page of peer median in [categoryNodePath] in [lookBackPeriod] |
brandedSearchesAndDetailPageViewsCategoryTopPerformers | bigdecimal | shoppers that searched brand and viewed the detail page of avg. of the top 95th - 99th percent of peers in [categoryNodePath] in [lookBackPeriod] |
brandedSearchesAndDetailPageViewsReturnOnEngagement | bigdecimal | The average amount of sales each customer who was in this state 12 months ago drove over 1 year. Calculated by taking the total original population 12 months ago by the total amount of sales this population drove over the last year for your brand in the selected category |
brandedSearchesAndDetailPageViewsROECategoryMedian | bigdecimal | The average amount of sales each customer who was in this state for the peer median 12 months ago drove over 1 year. Calculated by taking the total original population 12 months ago by the total amount of sales this population drove over the last year for your brand in the selected category |
brandedSearchesAndDetailPageViewsROECategoryTopPerformers | bigdecimal | The average amount of sales each customer who was in this state for the 95-99 percent peers 12 months ago drove over 1 year. Calculated by taking the total original population 12 months ago by the total amount of sales this population drove over the last year for your brand in the selected category |
brandedSearchesCategoryMedian | bigdecimal | shoppers that searched for the peer median, but did not further engage or purchase from peer median and [categoryNodePath] in the [lookBackPeriod] |
brandedSearchesCategoryTopPerformers | bigdecimal | shoppers that searched for the avg. of the top 95th - 99th percent of peers, and [categoryNodePath] but did not further engage or purchase from the Top Performers in the [lookBackPeriod] |
brandedSearchesOnly | bigdecimal | shoppers that searched for [Brand Name] but did not further engage or purchase from [Brand Name] and [categoryNodePath] in the [lookBackPeriod] |
considerationIndex | bigdecimal | Consideration Index measures actual on-Amazon audience signals reflecting consideration for your brand in the short and long term, across the whole on-Amazon audience. The percentile lets you know how the consideration activity for your brand compares to that of your peers |
customerConversionRate | bigdecimal | percentage of shoppers moving from "considering" [Brand Name] in the [categoryNodePath] to "purchased" in the [lookBackPeriod] |
customerConversionRateCategoryMedian | bigdecimal | percentage of shoppers moving from "considering" the peer median in the [categoryNodePath] to "purchased" in the [lookBackPeriod] |
customerConversionRateCategoryTopPerformers | bigdecimal | percentage of shoppers moving from "considering" the average of the top 95th-99th percent of peers in the [categoryNodePath] to "purchased" in the l[lookBackPeriod] |
engagedShopperRateCategoryMedianLowerBound | bigdecimal | Lower bound on the percentage of unique shoppers in a category that your brand has driven an engagement with or purchased from in the selected time frame divided by the total unique shoppers with 1+ detail page view in the selected category for the median peers |
engagedShopperRateCategoryMedianUpperBound | bigdecimal | Upper bound on the percentage of unique shoppers in a category that your brand has driven an engagement with or purchase from in the selected time frame divided by the total unique shoppers with 1+ detail page view in the selected category for the median peers |
engagedShopperRateCategoryTopPerformersLowerBound | bigdecimal | Lower bound on the percentage of unique shoppers in a category that your brand has driven an engagement with or purchase from in the selected time frame by the total unique shoppers with 1+ detail page view in the selected category for the top 95th-99th percent of peers |
engagedShopperRateCategoryTopPerformersUpperBound | bigdecimal | Upper bound on the percentage of unique shoppers in a category that your brand has driven an engagement with or purchase from in the selected time frame divided by the total unique shoppers with 1+ detail page view in the selected category for the top 95th-99th percent of peers |
engagedShopperRateLowerBound | bigdecimal | Lower bound on the percentage of unique shoppers in a category that your brand has driven an engagement with or purchase from int the selected time frame divided by the total unique shoppers with 1+ detail page view in the selected category |
engagedShopperRateUpperBound | bigdecimal | Upper bound on the percentage of unique shoppers in a category that your brand has driven an engagement with or purchase from in the selected time frame divided by the total unique shoppers with 1+ detail page view in the selected category |
highValueCustomers | bigdecimal | top 10% of sales contributing shoppers for |
highValueCustomersCategoryMedian | bigdecimal | top 10% of sales contributing shoppers for peer median in [categoryNodePath] in [lookBackPeriod] |
highValueCustomersCategoryTopPerformers | bigdecimal | The average amount of sales each customer who was in this state for the 95-99 percent peers 12 months ago drove over 1 year. Calculated by taking the total orginal population 12 months ago by the total amount of sales this populaton drove over the last year for your brand in the selected category |
highValueCustomersReturnOnEngagement | bigdecimal | The average amount of sales each customer who was in this state 12 months ago drove over 1 year. Calculated by taking the total orginal population 12 months ago by the total amount of sales this populaton drove over the last year for your brand in the selected category |
highValueCustomersROECategoryMedian | bigdecimal | The average amount of sales each customer who was in this state for the peer median 12 months ago drove over 1 year. Calculated by taking the total orginal population 12 months ago by the total amount of sales this populaton drove over the last year for your brand in the selected category |
newToBrandCustomerRate | bigdecimal | share of customers that had not purchased [Brand Name] products in the last 12 months, but did so in the [lookBackPeriod] |
newToBrandCustomerRateCategoryMedian | bigdecimal | share of customers that had not purchased peer median products in the last 12 months, but did so in the [lookBackPeriod] |
newToBrandCustomerRateCategoryTopPerformers | bigdecimal | share of customers that had not purchased average of the top 95th-99th percent of peers products in the last 12 months, but did so in the [lookBackPeriod] |
salesIndex | bigdecimal | Sales Index represents actual on-Amazon sales in the short term and long term, across the whole on-Amazon audience. The percentile lets you know how your sales compare to that of your peers |
viewedDetailPageCategoryMedian | bigdecimal | shoppers that viewed the detail page only of peer median in [categoryNodePath] in [lookBackPeriod] |
viewedDetailPageCategoryTopPerformers | bigdecimal | shoppers that viewed the detail page only of avg. of the top 95th - 99th percent of peers in [categoryNodePath] in [lookBackPeriod] |
viewedDetailPageOnly | bigdecimal | shoppers that viewed detail page only of [Brand Name] in [categoryNodePath] in [lookBackPeriod] |
viewedDetailPageOnlyReturnOnEngagement | bigdecimal | The average amount of sales each customer who was in this state 12 months ago drove over 1 year. Calculated by taking the total original population 12 months ago by the total amount of sales this population drove over the last year for your brand in the selected category |
viewedDetailPageROECategoryMedian | bigdecimal | The average amount of sales each customer who was in this state for the peer median 12 months ago drove over 1 year. Calculated by taking the total original population 12 months ago by the total amount of sales this population drove over the last year for your brand in the selected category |
viewedDetailPageROECategoryTopPerformers | bigdecimal | The average amount of sales each customer who was in this state for the 95-99 percent peers 12 months ago drove over 1 year. Calculated by taking the total original population 12 months ago by the total amount of sales this population drove over the last year for your brand in the selected category |
Example
CREATE VIEW amazon_ads_examples.example_BrandMetrics_Report AS
SELECT *
FROM (
CALL amazon_ads.BrandMetrics_Report (
profileId => 2426252344407568,
lookBackPeriod => '1w',
reportStartDate => TIMESTAMPADD (SQL_TSI_DAY, -100, CURDATE ()),
reportEndDate => CURDATE ()
)
) AS x
Brands_AdGroups
Ad groups of sponsored brands associated with the client identifier passed in the authorization header, filtered by specified criteria
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<adGroupIdFilter> (optional): The returned array includes only ad groups with identifiers matching those specified in the comma-delimited string
<campaignIdFilter> (optional): The returned array includes only ad groups associated with campaign identifiers matching those specified in the comma-delimited string
<name> (optional): The returned array includes only ad groups with the specified name
<adGroupId> (optional): The identifier of an existing ad group
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adGroupId | long | The idenitifier of the ad group |
campaignId | long | The identifier of the campaign associated with the ad group |
name | string | The name of the ad group |
Example
CREATE VIEW amazon_ads_examples.example_Brands_AdGroups AS
SELECT *
FROM (
CALL amazon_ads.Brands_AdGroups (
profileId => 0001,
name => NULL,
adGroupIdFilter => NULL,
campaignIdFilter => NULL
)
) AS x
Brands_Asins
Gets ASIN information for a specified address
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<pageUrl> (required): For sellers, the address of a Store page. Vendors may also specify the address of a custom landing page
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
code | string | The enumerated response code: - SUCCESS - The request was successful. The 'asinList' field includes all available ASINs. - INVALID_ARGUMENT - The request was not successful because the address was not for a valid landing page. - BAD_GATEWAY - The request failed because the landing page at the specified address did not have any ASINs |
description | string |
|
Example
CREATE VIEW amazon_ads_examples.example_Brands_Asins AS
SELECT *
FROM (
CALL amazon_ads.Brands_Asins (
profileId => 0001,
pageUrl => 'https://www.amazon.com/stores/JIMMYBAR/JIMMYBAR/page/2FEB7CEA-D932-4BAF-85B9-5FE4D106DF0B'
)
) AS x
Brands_Assets
Assets of sponsored brands associated with a specified brand entity identifier
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<brandEntityId> (optional): For sellers, the Brand entity identifier of the Brand for which assets are returned
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
assetID | string | The identifier of an asset associated with a store |
mediaType | string |
|
name | string | The name of the asset |
url | string | The address where the asset is stored |
Example
CREATE VIEW amazon_ads_examples.example_Brands_Assets AS
SELECT *
FROM (
CALL amazon_ads.Brands_Assets (
profileId => 0001,
brandEntityId => NULL
)
) AS x
Brands_BidsRecommendations
Bid recommendations for a specified list of keywords or products
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<campaignId> (optional): The identifier of the campaign for which bid recommendations are created
<keywords> (optional): CSV list of text of the keyword. Maximum of 10 words
<targets> (optional): CSV list of A name value pair that defines a targeting expression. The type field defines the predicate. The value field defines the value to match for the predicate
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
recommendation_type | string |
|
code | string | An enumerated response code |
details | string | A human-readable description of the enumerated response code in the 'code' field |
keywordIndex | bigdecimal | Correlates the keyword to the keyword array index specified in the request |
keyword_keywordText | string | The keyword text |
keyword_matchType | string | Match Type |
keyword_type | string | The match type, one of the following: broad, exact, phrase |
keyword_value | string | The text of the keyword |
recommendationId | string | The identifier of the target bid recommendation |
recommendedBid_rangeEnd | bigdecimal |
|
recommendedBid_rangeStart | bigdecimal |
|
recommendedBid_recommended | bigdecimal |
|
targetsIndex | bigdecimal | Correlates the keyword to the keyword array index specified in the request |
targets_type | string | One of the following: asinCategorySameAs, asinBrandSameAs, asinPriceLessThan, asinPriceBetween, asinPriceGreaterThan, asinReviewRatingLessThan, asinReviewRatingBetween, asinReviewRatingGreaterThan, asinSameAs |
targets_value | string | The text of the targeting expression |
Example
CREATE VIEW amazon_ads_examples.example_Brands_BidsRecommendations AS
SELECT *
FROM (
CALL amazon_ads.Brands_BidsRecommendations (
profileId => 0001,
campaignId => NULL,
targets => NULL,
keywords => NULL
)
) AS x
Brands_BrandRecommendations
Brand suggestions
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<preview> (optional): Preview only, don't write into table
<categoryId> (optional): The category identifier for which to get recommendations
<keyword> (optional): The keyword for which to get recommendations
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
id | long | The Brand identifier |
name | string | The Brand name |
Example
CREATE VIEW amazon_ads_examples.example_Brands_BrandRecommendations AS
SELECT *
FROM (
CALL amazon_ads.Brands_BrandRecommendations (
profileId => 0001,
keyword => 'bar'
)
) AS x
Brands_Brands
Brand data objects for the Brand associated with the profile ID passed in the header
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attibute | Type | Description |
---|---|---|
profileId | long | Profile ID |
brandEntityId | string | The Brand entity identifier |
brandId | string | The Brand identifier |
brandRegistryName | string | The Brand name |
Example
CREATE VIEW amazon_ads_examples.example_Brands_Brands AS
SELECT *
FROM (
CALL amazon_ads.Brands_Brands (
profileId => 0001
)
) AS x
Brands_Campaigns
Campaigns of sponsored brands associated with the client identifier passed in the authorization header, filtered by specified criteria
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<campaignIdFilter> (optional): The returned array includes only campaigns with identifiers matching those specified in the comma-delimited string
<name> (optional): The returned array includes only campaigns with the specified name
<portfolioIdFilter> (optional): The returned array includes only campaigns associated with Portfolio identifiers matching those specified in the comma-delimited string
<campaignId> (optional): The identifier of an existing campaign
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The campaign identifier |
name | string | The name of the campaign. This name must be unique to the Amazon Advertising account to which the campaign is associated. Maximum length of the string is 128 characters |
startDate | date | The start date for the campaign. If this field is not set to a value, the current date is used |
endDate | date | The end date for the campaign. Must be greater than the value for 'startDate'. If not specified, the campaign has no end date and runs continuously |
bidMultiplier | bigdecimal | A bid multiplier. Note that this field can only be set when 'bidOptimization' is set to false. Value is a percentage to two decimal places. Example: If set to -30.00 for a $5.00 bid, the resulting bid is $3.00 |
bidOptimization | boolean | Set to 'true' to allow Amazon to automatically optimize bids for placements below top of search |
brandEntityId | string | The brand entity identifier. Note that this field is required for sellers |
budget | bigdecimal | The budget amount associated with the campaign |
budgetType | string | Note that for the lifetime budget type, 'startDate' and 'endDate' must be specified. The lifetime budget range is from 100 to 20,000,000 and daily budget range is 1 to 1,000,000 by default for most marketplaces. For the JP marketplace, the lifetime budget range is fromt 10,000 to 2,000,000,000, and the daily budget range is 100 to 21,000,000 |
creative_asins | string | An array of ASINs associated with the creative |
creative_brandLogoAssetID | string | The identifier of the brand logo image from the Store assets library |
creative_brandLogoUrl | string | The address of the hosted image |
creative_brandName | string | A brand name. Maximum length is 30 characters |
creative_headline | string | The headline text. Maximum length of the string is 50 characters for all marketplaces other than Japan, which has a maximum length of 35 characters |
creative_shouldOptimizeAsins | boolean | Note that this field is supported only in the US and UK marketplaces. Set to true to have Amazon show other products from your landing page in the advertisement if they are more relevant to the shopper's search. Set to false to use the ASINs specified in the 'asins' field. Do not specify in unsupported marketplaces |
landingPage_asins | string | An array of ASINs used to generate a simple landing page. The response includes the URL of the generated simple landing page. Do not include this property in the request if the 'url' property is also included, these properties are mutually exclusive |
landingPage_pageType | string |
|
landingPage_url | string | "URL of a Store page. Vendors may also specify the URL of a custom landing page. If a custom URL is specified, the landing page must include include the ASINs of at least three products that are advertised as part of the campaign. Do not include this property in the request if the 'asins' property is also included, these properties are mutually exclusive." |
portfolioId | long | The identifier of the portfolio to which the campaign is associated |
servingStatus | string | One of the following : asinNotBuyable, billingError, ended, landingPageNotAvailable, outOfBudget, paused, pendingReview, ready, rejected, running, scheduled, terminated |
state | string |
Example
CREATE VIEW amazon_ads_examples.example_Brands_Campaigns AS
SELECT *
FROM (
CALL amazon_ads.Brands_Campaigns (
profileId => 0001,
name => NULL,
portfolioIdFilter => NULL,
campaignIdFilter => NULL
)
) AS x
Brands_CampaignsModeration
Moderation result for a campaign specified by identifier
Parameter
<profileId> (optional): Profile ID
<campaignId> (optional): The identifier of an existing campaign
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The campaign identifie |
moderationStatus | string | One of the following : APPROVED, IN_PROGRESS, REJECTED |
etaForModeration | timestamp | Expected date and time by which moderation will be complete |
policyDescription | string | A human-readable description of the policy |
policyLinkUrl | string | Address of the policy documentation. Follow the link to learn more about the specified policy |
asinEvidences_asin | string | The ASIN that violates the specified policy |
imageEvidences_violatingImageCrop_height | integer | The height of the content that violates the specfied policy within the image |
imageEvidences_violatingImageCrop_topLeftX | integer | The top left X-coordinate of the content that violates the specfied policy within the image |
imageEvidences_violatingImageCrop_topLeftY | integer | The top left Y-coordinate of the content that violates the specfied policy within the image |
imageEvidences_violatingImageCrop_width | integer | The width of the content that violates the specfied policy within the image |
moderatedComponent | string | The ad component that includes the text that violates the specified policy |
reviewedImageUrl | string | Address of the image reviewed during moderation |
reviewedText | string | The specific text reviewed during moderation |
textEvidences | string | The specific text determined to violate the specified policy in 'reviewedText' |
Example
CREATE VIEW amazon_ads_examples.example_Brands_CampaignsModeration AS
SELECT *
FROM (
CALL amazon_ads.Brands_CampaignsModeration (
profileId => 0001,
campaignId => 0002
)
) AS x
Brands_DraftCampaigns
Draft campaign objects of sponsored brands
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<draftCampaignIdFilter> (optional): The returned array includes only draft campaigns with identifiers matching those specified in the comma-delimited string.
<name> (optional): The returned array only includes draft campaigns with the specified name
<portfolioIdFilter> (optional): The returned array includes only campaigns associated with Portfolio identifiers matching those specified in the comma-delimited string
<draftCampaignId> (optional): The identifier of an existing draft campaign
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
draftCampaignId | long | The identifier of the draft campaign |
name | string | The name of the draft campaign. Maximum 128 characters. Duplicate campaign names are not allowed |
startDate | date | The start date for the campaign. If this field is not set to a value, the current date is used |
endDate | date | The end date for the campaign. Must be greater than the value for 'startDate'. If not specified, the campaign has no end date and runs continuously |
bidMultiplier | bigdecimal | A bid multiplier. Note that this field can only be set when 'bidOptimization' is set to false. Value is a percentage to two decimal places. Example: If set to -30.00 for a $5.00 bid, the resulting bid is $3.00 |
bidOptimization | boolean | Set to 'true' to allow Amazon to automatically optimize bids for placements below top of search |
brandEntityId | string | The brand entity identifier. Note that this field is required for sellers |
budget | bigdecimal | The budget associated with the draft campaign |
budgetType | string | Note that for the lifetime budget type, 'startDate' and 'endDate' must be specified. The lifetime budget range is from 100 to 20,000,000 and daily budget range is 1 to 1,000,000 by default for most marketplaces. For the JP marketplace, the lifetime budget range is fromt 10,000 to 2,000,000,000, and the daily budget range is 100 to 21,000,000 |
creative_asins | string | An array of ASINs associated with the creative |
creative_brandLogoAssetID | string | The identifier of the brand logo image from the Store assets library |
creative_brandLogoUrl | string | The address of the hosted image |
creative_brandName | string | A brand name. Maximum length is 30 characters |
creative_headline | string | The headline text. Maximum length of the string is 50 characters for all marketplaces other than Japan, which has a maximum length of 35 characters |
creative_shouldOptimizeAsins | boolean | Note that this field is supported only in the US and UK marketplaces. Set to true to have Amazon show other products from your landing page in the advertisement if they are more relevant to the shopper's search. Set to false to use the ASINs specified in the 'asins' field. Do not specify in unsupported marketplaces |
landingPage_asins | string | An array of ASINs used to generate a simple landing page. The response includes the URL of the generated simple landing page. Do not include this property in the request if the 'url' property is also included, these properties are mutually exclusive |
landingPage_pageType | string |
|
landingPage_url | string | "URL of a Store page. Vendors may also specify the URL of a custom landing page. If a custom URL is specified, the landing page must include include the ASINs of at least three products that are advertised as part of the campaign. Do not include this property in the request if the 'asins' property is also included, these properties are mutually exclusive." |
portfolioId | long | The identifier of the Portfolio to which the draft campaign is associated |
Example
CREATE VIEW amazon_ads_examples.example_Brands_DraftCampaigns AS
SELECT *
FROM (
CALL amazon_ads.Brands_DraftCampaigns (
profileId => 0001,
name => NULL,
draftCampaignIdFilter => NULL,
portfolioIdFilter => NULL
)
) AS x
Brands_KeywordRecommendations
Keyword recommendation objects for a set of ASINs included either on a landing page or a Store page. Vendors may also specify a custom landing page
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<maxNumSuggestions> (required): Maximum number of suggestions to return. Max value is 1000. If not provided, default to 100
<asins> (optional): CSV list of of ASINs. Minimum: 3, maximum: 100
<url> (optional): The URL of the Stores page, or, Vendors may also specify the URL of a custom landing page
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
matchType | string | The match type |
recommendationId | string | A recommendation identifier that describes the suggested action for the recommendation |
value | string | Recommended keyword value |
Example
CREATE VIEW amazon_ads_examples.example_Brands_KeywordRecommendations AS
SELECT *
FROM (
CALL amazon_ads.Brands_KeywordRecommendations (
profileId => 0001,
asins => NULL,
url => 'https://www.amazon.com/stores/URL'
)
) AS x
Brands_Keywords
Keywords of sponsored brands, filtered by optional criteria
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<adGroupIdFilter> (optional): The returned array includes only keywords associated with ad groups matching those specified by identifier in the comma-delimited string
<campaignIdFilter> (optional): The returned array includes only keywords associated with campaigns matching those specified by identifier in the comma-delimited string
<keywordIdFilter> (optional): The returned array includes only keywords with identifiers matching those specified in the comma-delimited string
<keywordText> (optional): The returned array includes only keywords with the specified text
<keywordId> (optional): The identifier of an existing keyword
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adGroupId | long | The identifier of the ad group associated with the keyword |
bid | bigdecimal | The bid associated with the keyword |
campaignId | long | The identifier of the campaign associated with the keyword |
keywordId | long | The keyword identifier |
keywordText | string | The keyword text. The maximum number of words for this string is 10 |
matchType | string | The match type. For more information, see match types in the Amazon Advertising support center |
state | string | Newly created SB keywords are in a default state of 'draft' before transitioning to a 'pending' state for moderation. After moderation, the keyword will be in an enabled state |
Example
CREATE VIEW amazon_ads_examples.example_Brands_Keywords AS
SELECT *
FROM (
CALL amazon_ads.Brands_Keywords (
profileId => 0001,
keywordText => NULL,
campaignIdFilter => NULL,
adGroupIdFilter => NULL,
keywordIdFilter => NULL
)
) AS x
Brands_NegativeKeywords
Negative keywords of sponsored brands, filtered by optional criteria
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<adGroupIdFilter> (optional): The returned array includes only negative keywords associated with ad groups matching those specified by identifier in the comma-delimited string
<campaignIdFilter> (optional): The returned array includes only negative keywords associated with campaigns matching those specified by identifier in the comma-delimited string
<keywordIdFilter> (optional): The returned array includes only negative keywords with identifiers matching those specified in the comma-delimited string
<keywordText> (optional): The returned array includes only negative keywords with the specified text
<keywordId> (optional): The identifier of an existing negative keyword
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adGroupId | long | The identifier of the ad group associated with the keyword |
campaignId | long | The identifier of the campaign associated with the keyword |
keywordId | long | The keyword identifier |
keywordText | string | The keyword text. The maximum number of words for this string is 10 |
matchType | string | The negative match type. For more information, see negative keyword match types in the Amazon Advertising support center |
state | string | Newly created SB keywords are in a default state of 'draft' before transitioning to a 'pending' state for moderation. After moderation, the keyword will be in an enabled state |
Example
CREATE VIEW amazon_ads_examples.example_Brands_NegativeKeywords AS
SELECT *
FROM (
CALL amazon_ads.Brands_NegativeKeywords (
profileId => 0001,
keywordText => NULL,
campaignIdFilter => NULL,
adGroupIdFilter => NULL,
keywordIdFilter => NULL
)
) AS x
Brands_NegativeTargets
Product negative targets associated with the client identifier passed in the authorization header, filtered by specified criteria
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<maxResults> (required): Sets a limit on the number of results returned by an operation. Max value is 100. If not provided, default to 100
<adGroup_ids> (optional): CSV list of of AdGroup Ids
<campaign_ids> (optional): CSV list of of Campaign Ids
<targeting_states> (optional): CSV list of of targeting states
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adGroupId | long | The identifier of the ad group to which the target is associated |
bid | bigdecimal | The bid associated with the keyword |
campaignId | long | The identifier of the campaign to which the target is associated |
expressions_type | string | One of the following: asinCategorySameAs, asinBrandSameAs, asinPriceLessThan, asinPriceBetween, asinPriceGreaterThan, asinReviewRatingLessThan, asinReviewRatingBetween, asinReviewRatingGreaterThan, asinSameAs |
expressions_value | string | The text of the targeting expression |
resolvedExpressions_type | string | One of the following: asinCategorySameAs, asinBrandSameAs, asinPriceLessThan, asinPriceBetween, asinPriceGreaterThan, asinReviewRatingLessThan, asinReviewRatingBetween, asinReviewRatingGreaterThan, asinSameAs |
resolvedExpressions_value | string | The human-readable target text |
state | string | One of the following: enabled, paused, pending, archived, draft |
targetId | long | The target identifier |
Example
CREATE VIEW amazon_ads_examples.example_Brands_NegativeTargets AS
SELECT *
FROM (
CALL amazon_ads.Brands_NegativeTargets (
profileId => 0001,
targeting_states => 'enabled,pending'
)
) AS x
Brands_ProductRecommendations
Recommended products for targeting
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<asins> (optional): CSV list of of ASINs
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
recommendedTargetAsin | string |
|
Example
CREATE VIEW amazon_ads_examples.example_Brands_ProductRecommendations AS
SELECT *
FROM (
CALL amazon_ads.Brands_ProductRecommendations (
profileId => 0001,
asins => '1'
)
) AS x
Brands_Report
Sponsored Brands Reports
Parameter
<recordType> (required): The type of entity for which the report should be generated. Supported record types: campaigns, adGroups, keywords, targets
<segment> (optional): Dimension on which to segment the report. Supported dimensions: placement, query
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<reportDate> (optional): The date to retrieve the performance report for
<reportDateEnd> (optional): The date to retrieve the performance reports for multiple days till
<includeVideo> (optional): Include Sponsored Brands video report
<daysToRedownload> (optional): Re-download days|How many days to query into the past
<leaveReDownloadedData> (optional): Leave all data in the table|Skip the deletion of data
<days_step> (optional): Number of days to query in a single batch
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multitenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile Id |
reportDate | date | The date of the performance report |
isVideo | boolean | From Sponsored Brands video report |
placement | string | The optional dimension on which to segment a campaigns report. Placement refers to the location on a page where your ad appears |
query | string | The optional dimension on which to segment a keyword report. This is also referred to as the search terms report |
adGroupId | long | Unique AdGroup ID |
adGroupName | string | Unique AdGroup name |
campaignBudget | bigdecimal | The campaign budget |
campaignBudgetType | string | One of: daily or lifetime |
campaignId | long | Unique campaign ID |
campaignName | string | Advertiser created campaign name |
campaignRuleBasedBudget | bigdecimal | The value of the rule-based budget |
campaignStatus | string | Current status of the campaign |
keywordId | long | Keyword ID |
keywordBid | bigdecimal | User-set bid value for keyword |
keywordStatus | string | Keyword state |
keywordText | string | Keyword or phrase used in bid |
applicableBudgetRuleId | string | The identifier of the active rule |
applicableBudgetRuleName | string | The name of the active rule |
targetId | long | The product target identifier |
targetingExpression | string | The product targeting expression. Not available for search term report |
targetingText | string | The product targeting text. Not available for search term report |
targetingType | string | The product targeting type. One of: asinCategorySameAs, asinBrandSameAs, asinPriceLessThan, asinPriceBetween, asinPriceGreaterThan, asinReviewRatingLessThan, asinReviewRatingBetween, asinReviewRatingGreaterThan, asinSameAs |
searchTermImpressionRank | string | Search term impression rank provides account-level ad-attributed impression rank for search terms |
searchTermImpressionShare | string | Search term impression share provides account-level ad-attributed impression share for search terms |
matchType | string | One of: broad, phrase, or exact |
attributedConversions14d | bigdecimal | Number of attributed conversion events occurring within 14 days of click on ad |
attributedConversions14dSameSKU | bigdecimal | Number of attributed conversion events occurring within 14 days of click on ad where the purchased SKU was the same as the one advertised |
attributedDetailPageViewsClicks14d | bigdecimal | The number of detail page view conversions attributed to ad click-throughs within 14 days |
attributedOrderRateNewToBrand14d | bigdecimal | The number of new-to-brand orders relative to the number of clicks |
attributedOrdersNewToBrand14d | bigdecimal | The number of first-time orders for products within the brand over a one-year lookback window |
attributedOrdersNewToBrandPercentage14d | bigdecimal | The percentage of total orders that are new-to-brand orders |
attributedSales14d | bigdecimal | Number of attributed sales occurring within 14 days of click on an ad |
attributedSales14dSameSKU | bigdecimal | Aggregate value of attributed sales occurring within 14 days of click on ad where the purchased SKU was the same as the one advertised |
attributedSalesNewToBrand14d | bigdecimal | The total sales of new-to-brand orders |
attributedSalesNewToBrandPercentage14d | bigdecimal | The percentage of total sales of new-to-brand purchases |
attributedUnitsOrderedNewToBrand14d | bigdecimal | The number of units from first-time orders for products within the brand over a one-year lookback window |
attributedUnitsOrderedNewToBrandPercentage14d | bigdecimal | The percentage of total units that are units from new-to-brand orders |
clicks | bigdecimal | Total ad clicks |
cost | bigdecimal | Total cost of all clicks |
dpv14d | bigdecimal | Number of attributed detail page views occurring within 14 days of click on an ad |
impressions | bigdecimal | Total ad impressions |
topOfSearchImpressionShare | bigdecimal | The percentage of top-of-search impressions earned out of all the top-of-search impressions that were eligible for a given date range. Various factors determine the eligibility for an impression including campaign status and targeting status |
unitsSold14d | bigdecimal | Number of attributed units sold occurring within 14 days of click on an ad |
viewableImpressions | bigdecimal | Views is the number of impressions that met the MRC viewability standard (50% viewable with 2 seconds playback completed) |
videoFirstQuartileViews | bigdecimal | The number of impressions where the video was viewed to 25% |
videoMidpointViews | bigdecimal | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | bigdecimal | The number of impressions where the video was viewed to 75% |
videoCompleteViews | bigdecimal | The number of impressions where the video was viewed to 100% |
video5SecondViews | bigdecimal | The number of impressions where the shopper watched the complete video or 5 seconds (whichever is shorter) |
video5SecondViewRate | bigdecimal | The percentage of impressions where the shopper watched the complete video or 5 seconds (whichever is shorter) |
videoUnmutes | bigdecimal | The number of impressions where a shopper unmuted the video |
vtr | bigdecimal | View-through-rate (views/impressions) |
vctr | bigdecimal | Clicks-through-rate for views (clicks/views) |
errorMessage | string | Error message if any problem happened |
Brands_TargetingCategoriesRecommendations
Recommended categories for targeting
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<asins> (required): CSV list of of ASINs
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
id | long | The category identifier |
isTargetable | boolean | Set to 'true' if the category can be targeted in a targeting expression, and 'false' if not |
name | string | The category name |
path | string | The path of the category within the category catalogue |
Example
CREATE VIEW amazon_ads_examples.example_Brands_TargetingCategoriesRecommendations AS
SELECT *
FROM (
CALL amazon_ads.Brands_TargetingCategoriesRecommendations (
profileId => 0001,
asins => '1'
)
) AS x
Brands_Targets
Product targets associated with the client identifier passed in the authorization header, filtered by specified criteria
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<maxResults> (required): Sets a limit on the number of results returned by an operation. Max value is 100. If not provided, default to 100
<adGroup_ids> (optional): CSV list of of AdGroup Ids
<campaign_ids> (optional): CSV list of of Campaign Ids
<targeting_states> (optional): CSV list of of targeting states
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adGroupId | long | The identifier of the ad group to which the target is associated |
bid | bigdecimal | The bid associated with the keyword |
campaignId | long | The identifier of the campaign to which the target is associated |
expressions_type | string | One of the following: asinCategorySameAs, asinBrandSameAs, asinPriceLessThan, asinPriceBetween, asinPriceGreaterThan, asinReviewRatingLessThan, asinReviewRatingBetween, asinReviewRatingGreaterThan, asinSameAs |
expressions_value | string | The text of the targeting expression |
resolvedExpressions_type | string | One of the following: asinCategorySameAs, asinBrandSameAs, asinPriceLessThan, asinPriceBetween, asinPriceGreaterThan, asinReviewRatingLessThan, asinReviewRatingBetween, asinReviewRatingGreaterThan, asinSameAs |
resolvedExpressions_value | string | The human-readable target text |
state | string | One of the following: enabled, paused, pending, archived, draft |
targetId | long | The target identifier |
Example
CREATE VIEW amazon_ads_examples.example_Brands_Targets AS
SELECT *
FROM (
CALL amazon_ads.Brands_Targets (
profileId => 0001,
targeting_states => 'enabled,pending'
)
) AS x
Campaigns
Sponsored Products campaigns with additional properties based on the specified criteria PLANNED API DEPRECATION June 30, 2023
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<campaignId> (optional): Retrieves a campaign by ID
<extended> (optional): Retrieve a campaign along with additional properties
<campaignType> (optional): Campaign type filter
<stateFilter> (optional): Restricts results to campaigns with state within the specified comma-separated list. Must be one of: enabled, paused, or archived. Default behavior is to include all
<name> (optional): Restricts results to campaigns with the specified name
<campaignIdFilter> (optional): Restricts results to campaigns specified in comma-separated list
<target_table> (optional): Table name to save the data to
<preview> (optional): Preview only, don't write into table
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | ID of the campaign |
name | string | Name of the campaign |
targetingType | string | Differentiates between a keyword-targeted and automatically targeted campaign |
state | string | Advertiser-specified state of the campaign |
dailyBudget | bigdecimal | Daily budget for the campaign |
startDate | date | The date the campaign will go or went live |
endDate | date | The optional date the campaign will stop running |
premiumBidAdjustment | boolean | When enabled, Amazon will increase the default bid for your ads that are eligible to appear in this placement |
placement | string | Ad placement. Only returned when segment is set to placement |
creationDate | timestamp | The date the campaign was created |
lastUpdatedDate | timestamp | The date the campaign was last updated |
servingStatus | string | The computed status, accounting for campaign out of budget, policy violations, etc |
portfolioId | long | The ID of the portfolio |
Example
CREATE VIEW amazon_ads_examples.example_Campaigns AS
SELECT * FROM (
CALL amazon_ads.Campaigns (
profileId => 0001,
extended => true,
preview => true
)
)x
Consolidated_Report
Consolidated Reports
Parameter
<recordType> (required): The type of entity for which the report should be generated. Available values: campaigns, adGroups, keywords, productAds, targets
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<reportDate> (optional): The date to retrieve the performance report for
<reportDateEnd> (optional): The date to retrieve the performance reports for multiple days till
<daysToRedownload> (optional): Re-download days|How many days to query into the past
<leaveReDownloadedData> (optional): Leave all data in the table|Skip the deletion of data
<days_step> (optional): Number of days to query in a single batch
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<target_table_products> (optional): Table name to save the data to
<target_table_display> (optional): Table name to save the data to
<target_table_brands> (optional): Table name to save the data to
<target_table_keywords> (optional): Table name to save keyword data to
<label> (optional): Multitenancy label
Attribute | Type | Description |
---|---|---|
report_source | string | Source report name |
tactic | string | Advertising tactic associated with campaign for sponsored display report |
profileId | long | Profile Id |
reportDate | date | The date of the performance report |
campaignName | string | Unique name of the campaign |
campaignId | long | Unique numerical ID of the campaign |
campaignStatus | string | Current status of the campaign |
campaignBudget | bigdecimal | Total budget allotted to the campaign |
campaignBudgetType | string | One of: daily or lifetime |
adGroupName | string | Unique name of the ad group |
adGroupId | long | Unique numerical ID of the ad group |
adid | long | The unique numerical ID of the ad |
keywordId | long | ID of the keyword used in bid |
keywordText | string | Text of the keyword or phrase used in bid |
keywordStatus | string | Keyword state |
keywordBid | bigdecimal | User-set bid value for keyword |
matchType | string | Type of matching for the keyword or phrase used in bid. Must be one of: broad, phrase, or exact |
placement | string | The optional dimension on which to segment a campaigns report. Placement refers to the location on a page where your ad appears |
query | string | The optional dimension on which to segment a keyword report. This is also referred to as the search terms report |
targetId | long | The identifier of the targeting expression used in a bid |
targetingExpression | string | A string representation of your expression object in targeting clauses |
targetingText | string | A resolved string representation of your expression object in targeting clauses |
targetingType | string | Type of matching for the targeting expression used in bid. For manually created expressions this value is: TARGETING_EXPRESSION. For auto-targeting expressions this value is: TARGETING_EXPRESSION_PREDEFINED |
clicks | bigdecimal | Total number of ad clicks associated with the campaign |
cost | bigdecimal | The total cost of all ad clicks for the campaign. Divide cost by clicks to calculate average cost per click (CPC) |
currency | string | The currency code associated with the campaign |
impressions | bigdecimal | Total number of ad impressions |
asin | string | The ASIN that is being advertised |
sku | string | The SKU that is being advertised |
attributedConversions1d | bigdecimal | Total number of attributed conversion events occuring within 24 hours of ad click |
attributedConversions1dSameSKU | bigdecimal | Total number of attributed conversion events occuring within 24 hours of ad click, where the SKU of the product advertised and the SKU of the conversion event are equivalent |
attributedSales1d | bigdecimal | Total number of attributed sales occuring within 24 hours of ad click |
attributedSales1dSameSKU | bigdecimal | Aggregate value of all attributed sales occuring within 24 hours of ad click, where the SKU of the product advertised and the SKU of the purchased item are equivalent |
attributedUnitsOrdered1d | bigdecimal | Total number of attributed units ordered within 24 hours of ad click |
attributedUnitsOrdered1dSameSKU | bigdecimal | Total number of units ordered within 24 hours of ad click where the purchased SKU was the same as the SKU advertised |
attributedConversions7d | bigdecimal | Total number of attributed conversion events occuring within 7 days of ad click |
attributedConversions7dSameSKU | bigdecimal | Total number of attributed conversion events occuring within 7 days of ad click, where the SKU of the product advertised and the SKU of the conversion event are equivalent |
attributedSales7d | bigdecimal | Total number of attributed sales occuring within 7 days of ad click |
attributedSales7dSameSKU | bigdecimal | Aggregate value of all attributed sales occuring within 7 days of ad click, where the SKU of the product advertised and the SKU of the purchased item are equivalent |
attributedUnitsOrdered7d | bigdecimal | Total number of attributed units ordered within 7 days of ad click |
attributedConversions14d | bigdecimal | Total number of attributed conversion events occuring within 14 days of ad click |
attributedConversions14dSameSKU | bigdecimal | Total number of attributed conversion events occuring within 14 days of ad click, where the SKU of the product advertised and the SKU of the conversion event are equivalent |
attributedDPV14d | bigdecimal | Number of attributed detail page views occuring within 14 days of click on an ad |
attributedDetailPageViewsClicks14d | bigdecimal | The number of detail page view conversions attributed to ad click-throughs within 14 days |
attributedOrderRateNewToBrand14d | bigdecimal | The number of new-to-brand orders relative to the number of clicks |
attributedOrdersNewToBrand14d | bigdecimal | The number of first-time orders for products within the brand over a one-year lookback window |
attributedOrdersNewToBrandPercentage14d | bigdecimal | The percentage of total orders that are new-to-brand orders |
attributedSales14d | bigdecimal | Number of attributed sales occurring within 14 days of click on an ad |
attributedSales14dSameSKU | bigdecimal | Aggregate value of all attributed sales occuring within 14 days of ad click, where the SKU of the product advertised and the SKU of the purchased item are equivalent |
attributedSalesNewToBrand14d | bigdecimal | The total sales of new-to-brand orders |
attributedSalesNewToBrandPercentage14d | bigdecimal | The percentage of total sales of new-to-brand purchases |
attributedUnitsOrdered14d | bigdecimal | Total number of attributed units ordered within 14 days of ad click |
attributedUnitsOrderedNewToBrand14d | bigdecimal | The number of units from first-time orders for products within the brand over a one-year lookback window |
attributedUnitsOrderedNewToBrandPercentage14d | bigdecimal | The percentage of total units that are units from new-to-brand orders |
attributedUnitsSold14d | bigdecimal | Number of attributed units sold occurring within 14 days of click on an ad |
dpv14d | bigdecimal | Number of attributed detail page views occurring within 14 days of click on an ad |
attributedConversions30d | bigdecimal | Total number of attributed conversion events occuring within 30 days of ad click |
attributedConversions30dSameSKU | bigdecimal | Total number of attributed conversion events occuring within 30 days of ad click, where the SKU of the product advertised and the SKU of the conversion event are equivalent |
attributedSales30d | bigdecimal | Total number of attributed sales occuring within 30 days of ad click |
attributedSales30dSameSKU | bigdecimal | Aggregate value of all attributed sales occuring within 30 days of ad click, where the SKU of the product advertised and the SKU of the purchased item are equivalent |
attributedUnitsOrdered30d | bigdecimal | Total number of attributed units ordered within 30 days of ad click |
isVideo | boolean | From Sponsored Brands video report |
errorMessage | string | Error message if any problem happened |
Display_AdGroups
Ad groups of sponsored display with extended fields
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<adGroupIdFilter> (optional): The returned array is filtered to include only ad groups with an identifier specified in the comma-delimited list
<campaignIdFilter> (optional): The returned array is filtered to include only ad groups associated with the campaign identifiers in the comma-delimited list
<name> (optional): The returned array includes only ad groups with the specified name
<stateFilter> (optional): The returned array is filtered to include only campaigns with state set to one of the values in the comma-delimited list
<adGroupId> (optional): The identifier of the requested ad group
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adGroupId | long | The identifier of the ad group |
campaignId | long | The identifier of the campaign that this ad group is associated with |
defaultBid | bigdecimal | The amount of the default bid associated with the ad group. Used if no bid is specified |
name | string | The name of the ad group |
servingStatus | string | The status of the ad group |
state | string | The delivery state of the ad group |
creationDate | timestamp | Epoch time the ad group was created |
lastUpdatedDate | timestamp | Epoch time any property in the ad group was last updated |
Example
CREATE VIEW amazon_ads_examples.example_Display_AdGroups AS
SELECT *
FROM (
CALL amazon_ads.Display_AdGroups (
profileId => 0001,
stateFilter => NULL,
campaignIdFilter => NULL,
adGroupIdFilter => NULL,
name => NULL
)
) AS x
Display_Campaigns
Campaigns of sponsored display with extended fields
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<campaignIdFilter> (optional): The returned array includes only campaigns with identifiers matching those specified in the comma-delimited string
<name> (optional): The returned array includes only campaign with the specified name using an exact string match
<stateFilter> (optional): The returned array is filtered to include only campaigns with state set to one of the values in the specified comma-delimited list
<campaignId> (optional): The identifier of the requested campaign
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The identifier of the campaign |
startDate | date | The start date of the campaign. The date must be today or in the future |
endDate | date | The end date of the campaign |
budget | bigdecimal | The amount of the budget |
budgetType | string | The time period over which the amount specified in the 'budget' property is allocated |
costType | string |
|
deliveryProfile | string |
|
name | string | The name of the campaign |
servingStatus | string | The status of the campaign |
state | string | The state of the campaign |
tactic | string | The advertising tactic associated with the campaign. The following table lists available tactic names: T00001, T00020, remarketing |
creationDate | timestamp | Epoch date the campaign was created |
lastUpdatedDate | timestamp | Epoch date of the last update to any property associated with the campaign |
Example
CREATE VIEW amazon_ads_examples.example_Display_Campaigns AS
SELECT *
FROM (
CALL amazon_ads.Display_Campaigns (
profileId => 0001,
stateFilter => NULL,
name => NULL,
campaignIdFilter => NULL
)
) AS x
Display_ProductAds
Product ads of sponsored display with extended fields
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<adGroupIdFilter> (optional): The returned array is filtered to include only products ads associated with ad groups identifiers in the comma-delimited list
<adIdFilter> (optional): The returned array includes only product ads with identifiers matching those in the comma-delimited string
<campaignIdFilter> (optional): The returned array is filtered to include only product ads associated with the campaign identifiers in the comma-delimited list
<stateFilter> (optional): The returned array is filtered to include only campaigns with state set to one of the values in the specified comma-delimited list
<adId> (optional): The identifier of the requested product ad
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adId | long | The identifier of the ad |
adGroupId | long | The identifier of the ad group associated with the ad |
asin | string | The ASIN of the product being advertised |
campaignId | long | The identifier of the campaign associated with the ad |
servingStatus | string | The status of the product ad |
sku | string | The SKU of the product being advertised |
state | string | The state of the product ad |
creationDate | timestamp | Epoch date the product ad was created |
lastUpdatedDate | timestamp | Epoch date of the last update to any property associated with the product ad |
Example
CREATE VIEW amazon_ads_examples.example_Display_ProductAds AS
SELECT *
FROM (
CALL amazon_ads.Display_ProductAds (
profileId => 0001,
stateFilter => NULL,
adIdFilter => NULL,
adGroupIdFilter => NULL,
campaignIdFilter => NULL
)
) AS x
Display_Report
Sponsored Display Reports
Parameter
<recordType> (required): The type of entity for which the report should be generated. Supported record types: asins, adGroups, campaigns, matchedTarget, productAds, targets
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<reportDate> (optional): The date to retrieve the performance report for
<reportDateEnd> (optional): The date to retrieve the performance reports for multiple days till
<tactic> (optional): The advertising tactic associated with the campaign. The following table lists available tactic names: T00020, T00030
<daysToRedownload> (optional): Re-download days|How many days to query into the past
<leaveReDownloadedData> (optional): Leave all data in the table|Skip the deletion of data
<days_step> (optional): Number of days to query in a single batch
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multitenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile Id |
reportDate | date | The date of the performance report |
tactic | string | The advertising tactic associated with the campaign |
adGroupId | long | Unique numerical ID of the ad group. |
adGroupName | string | The name of the ad group as entered by the advertiser. |
adId | long | Unique numerical ID of the ad. |
applicableBudgetRuleId | string | The ID associated to the active budget rule for Sponsored Brands campaigns. For more information, see Including budget rules values in Reports. |
applicableBudgetRuleName | string | The name associated to the active budget rule for Sponsored Brands campaigns. For more information, see Including budget rules values in Reports. |
asin | string | The ASIN associated to an advertised product. |
attributedBrandedSearches14d | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click. |
attributedConversions14d | integer | Number of attributed conversion events occurring within 14 days of an ad click. |
attributedConversions14dOtherSKU | integer | The total number of attributed conversion events occurring within 14 days of an ad click where the purchased SKU was different from the SKU advertised. |
attributedConversions14dSameSKU | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. |
attributedConversions1d | integer | Number of attributed conversion events occurring within 24 hours of ad click. |
attributedConversions1dSameSKU | integer | Number of attributed conversion events occurring within 24 hours of ad click where the purchased SKU was the same as the SKU advertised. |
attributedConversions30d | integer | Number of attributed conversion events occurring within 30 days of an ad click. |
attributedConversions30dOtherSKU | integer | The total number of attributed conversion events occurring within 30 days of an ad click where the purchased SKU was different from the SKU advertised. |
attributedConversions30dSameSKU | integer | Number of attributed conversion events occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised. |
attributedConversions7d | integer | Number of attributed conversion events occurring within seven days of an ad click. |
attributedConversions7dOtherSKU | integer | The total number of attributed conversion events occurring within seven days of an ad click where the purchased SKU was different from the SKU advertised. |
attributedConversions7dSameSKU | integer | Number of attributed conversion events occurring within seven days of ad click where the purchased SKU was the same as the SKU advertised. |
attributedDPV14d | integer | This metric is in beta. Number of attributed detail page views occurring within 14 days of ad click. |
attributedOrdersNewToBrand14d | integer | The number of first-time orders for brand products over a one-year lookback window. Not available for book vendors. |
attributedSales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
attributedSales14dOtherSKU | bigdecimal | Total value of sales occurring within 14 days of an ad click where the purchased SKU was different from the SKU advertised. |
attributedSales14dSameSKU | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. |
attributedSales1d | bigdecimal | Total value of sales occurring within 24 hours of an ad click. |
attributedSales1dOtherSKU | bigdecimal | Total value of sales occurring within 24 hours of an ad click where the purchased SKU was different from the SKU advertised. |
attributedSales1dSameSKU | bigdecimal | Total value of sales occurring within 24 hours of ad click where the purchased SKU was the same as the SKU advertised. |
attributedSales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click. |
attributedSales30dOtherSKU | bigdecimal | Total value of sales occurring within 30 days of an ad click where the purchased SKU was different from the SKU advertised. |
attributedSales30dSameSKU | bigdecimal | Total value of sales occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised. |
attributedSales7d | bigdecimal | Total value of sales occurring within seven days of an ad click. |
attributedSales7dOtherSKU | bigdecimal | Total value of sales occurring within seven days of an ad click where the purchased SKU was different from the SKU advertised. |
attributedSales7dSameSKU | bigdecimal | Total value of sales occurring within seven days of ad click where the purchased SKU was the same as the SKU advertised. |
attributedSalesNewToBrand14d | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors. |
attributedUnitsOrdered14d | integer | Total number of units ordered within 14 days of an ad click. |
attributedUnitsOrdered14dOtherSKU | integer | Total number of units ordered within 14 days of an ad click where the purchased SKU was different from the SKU advertised. |
attributedUnitsOrdered1d | integer | Total number of units ordered within 24 hours of an ad click. |
attributedUnitsOrdered1dOtherSKU | integer | Total number of units ordered within 24 hours of an ad click where the purchased SKU was different from the SKU advertised. |
attributedUnitsOrdered30d | integer | Total number of units ordered within 30 days of an ad click. |
attributedUnitsOrdered30dOtherSKU | integer | Total number of units ordered within 30 days of an ad click where the purchased SKU was different from the SKU advertised. |
attributedUnitsOrdered7d | integer | Total number of units ordered within 7 days of an ad click. |
attributedUnitsOrdered7dOtherSKU | integer | Total number of units ordered within seven days of an ad click where the purchased SKU was different from the SKU advertised. |
attributedUnitsOrderedNewToBrand14d | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors. |
avgImpressionsFrequency | bigdecimal | Average number of times unique users were exposed to an ad over the lifetime of the campaign. |
bidOptimization | string | Bid optimization for Sponsored Display ad groups. For vCPM campaigns, the value is always reach. For CPC campaigns, value is either clicks or conversions. |
campaignBudget | bigdecimal | Total budget allocated to the campaign. |
campaignId | long | Unique numerical ID of a campaign. |
campaignName | string | The name of the campaign as entered by the advertiser. |
campaignRuleBasedBudget | bigdecimal | The value of the rule-based budget for Sponsored Brands campaigns. For more information, see Including budget rules values in Reports. |
campaignStatus | string | Current status of the campaign. One of active, paused, or archived. |
clicks | integer | Total number of ad clicks. |
cost | bigdecimal | Total cost of ad clicks. |
costType | string | Determines how the campaign will bid and charge. One of vCPM (cost per thousand viewable impressions) or CPC (cost per click). Only relevant for Sponsored Display campaigns. |
cumulativeReach | integer | Total number of unique users exposed to an ad from either a campaign, ad group, or product ad over the lifetime of the campaign or the past six months, whichever is shorter. This metric is updated daily. |
currency | string | The currency code associated with the campaign. |
impressions | integer | Total number of ad impressions. |
otherAsin | string | Represents a product that was purchased after an ad click but has a different SKU/ASIN that what was advertised. |
sku | string | The SKU being advertised. Not available for vendors. |
targetId | long | The identifier of the targeting expression. |
targetingExpression | string | A string representation of the expression object used in the targeting clause. |
targetingText | string | The text used in the targeting expression. |
targetingType | string | The type of targeting used in the expression. |
vctr | bigdecimal | Click-through rate for views (clicks divided by views). |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100%. |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25%. |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50%. |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75%. |
videoUnmutes | integer | The number of impressions where a customer unmuted the video. |
viewAttributedBrandedSearches14d | integer | For Sponsored Display vCPM campaigns, this is the number of searches that included the name of your brand occurring within 14 days of an ad click or view. For CPC campaigns, this value is equal to attributedBrandedSearches14d. |
viewAttributedConversions14d | integer | For Sponsored Display vCPM campaigns, the total number of attributed conversion events occurring within 14 days of an ad click or view. For CPC campaigns, this value is equal to attributedConversions14d. |
viewAttributedConversions14dOtherSKU | integer | For Sponsored Display vCPM campaigns, the total number of attributed conversion events occurring within 14 days of an ad click or view where the purchased SKU was different from the SKU advertised. For CPC campaigns, this value is equal to attributedConversions14dOtherSKU. |
viewAttributedConversions1dOtherSKU | integer | For Sponsored Display vCPM campaigns, the total number of attributed conversion events occurring within 24 hours of an ad click or view where the purchased SKU was different from the SKU advertised. For CPC campaigns, this value is equal to attributedConversions1dOtherSKU. |
viewAttributedConversions30dOtherSKU | integer | For Sponsored Display vCPM campaigns, the total number of attributed conversion events occurring within 30 days of an ad click or view where the purchased SKU was different from the SKU advertised. For CPC campaigns, this value is equal to attributedConversions30dOtherSKU. |
viewAttributedConversions7dOtherSKU | integer | For Sponsored Display vCPM campaigns, the total number of attributed conversion events occurring within seven days of an ad click or view where the purchased SKU was different from the SKU advertised. For CPC campaigns, this value is equal to attributedConversions7dOtherSKU. |
viewattributedDPV14d | integer | This metric is in beta. For Sponsored Display vCPM campaigns, the total number of attributed detail page views occurring within 14 days of an ad click or view. For CPC campaigns, this value is equal to attributedDPV14d. |
viewAttributedOrdersNewToBrand14d | integer | For Sponsored Display vCPM campaigns, the number of first-time orders for brand products over a one-year lookback window. Not available for book vendors. For CPC campaigns, this value is equal to attributedOrdersNewToBrand14d. |
viewAttributedSales14d | bigdecimal | For Sponsored Display vCPM campaigns, the total value of sales occurring within 14 days of an ad click or view. For CPC campaigns, this value is equal to attributedSales14d. |
viewAttributedSales14dOtherSKU | bigdecimal | For Sponsored Display vCPM campaigns, the total value of sales occurring within 14 days of an ad click or view where the purchased SKU was different from the SKU advertised. For CPC campaigns, this value is equal to attributedSales14dOtherSKU. |
viewAttributedSales1dOtherSKU | bigdecimal | For Sponsored Display vCPM campaigns, the total value of sales occurring within 24 hours of an ad click or view where the purchased SKU was different from the SKU advertised. For CPC campaigns, this value is equal to attributedSales1dOtherSKU. |
viewAttributedSales30dOtherSKU | bigdecimal | For Sponsored Display vCPM campaigns, the total value of sales occurring within 30 days of an ad click or view where the purchased SKU was different from the SKU advertised. For CPC campaigns, this value is equal to attributedSales30dOtherSKU. |
viewAttributedSales7dOtherSKU | bigdecimal | For Sponsored Display vCPM campaigns, the total value of sales occurring within seven days of an ad click or view where the purchased SKU was different from the SKU advertised. For CPC campaigns, this value is equal to attributedSales7dOtherSKU. |
viewAttributedSalesNewToBrand14d | bigdecimal | For Sponsored Display vCPM campaigns, the total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors. For CPC campaigns, this value is equal to attributedSalesNewToBrand14d. |
viewAttributedUnitsOrdered14d | integer | For Sponsored Display vCPM campaigns, the total number of units ordered within 14 days of an ad click or view. For CPC campaigns, this value is equal to attributedUnitsOrdered14d. |
viewAttributedUnitsOrdered14dOtherSKU | integer | For Sponsored Display vCPM campaigns, the total number of units ordered within 14 days of an ad click or view where the purchased SKU was different from the SKU advertised. For CPC campaigns, this value is equal to attributedUnitsOrdered14dOtherSKU. |
viewAttributedUnitsOrdered1dOtherSKU | integer | For Sponsored Display vCPM campaigns, the total number of units ordered within 24 hours of an ad click or view where the purchased SKU was different from the SKU advertised. For CPC campaigns, this value is equal to attributedUnitsOrdered1dOtherSKU. |
viewAttributedUnitsOrdered30dOtherSKU | integer | For Sponsored Display vCPM campaigns, the total number of units ordered within 30 days of an ad click or view where the purchased SKU was different from the SKU advertised. For CPC campaigns, this value is equal to attributedUnitsOrdered30dOtherSKU. |
viewAttributedUnitsOrdered7dOtherSKU | integer | For Sponsored Display vCPM campaigns, the total number of units ordered within seven days of an ad click or view where the purchased SKU was different from the SKU advertised. For CPC campaigns, this value is equal to attributedUnitsOrdered7dOtherSKU. |
viewAttributedUnitsOrderedNewToBrand14d | integer | For Sponsored Display vCPM campaigns, the total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors. For CPC campaigns, this value is equal to attributedUnitsOrderedNewToBrand14d. |
viewImpressions | integer | The total number of viewable impressions. Only relevant for Sponsored Display vCPM campaigns. |
vtr | bigdecimal | View-through rate (vtr). Views divided by impressions. |
errorMessage | string | Error message if any problem happened |
Display_SuggestedProducts
Products eligible for advertising using the specified tactic type. Each product in the list includes an associated readiness status
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<tacticFilter> (required): The list in the response is filtered to include only products that are eligible for advertising using the requested tactic. The currently available tactic identifiers are: T00010, remarketing
<readinessFilter> (optional): The returned response is filtered to include only eligible products with a readiness status value that matches those specified in the comma-delimited string
<preview> (optional): Preview only, don't write into table
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
asins | string | A list of ASINs |
readinessStatus | string | One of the following: HIGH, MEDIUM, LOW |
Example
CREATE VIEW amazon_ads_examples.example_Display_SuggestedProducts AS
SELECT *
FROM (
CALL amazon_ads.Display_SuggestedProducts (
profileId => 0001,
tacticFilter => 'remarketing',
readinessFilter => NULL
)
) AS x
Display_Targets
Targeting clause objects of sponsored display with extended fields
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<adGroupIdFilter> (optional): optional list of comma separated adGroupIds. Restricts results to targeting clauses with the specified 'adGroupId'
<campaignIdFilter> (optional): Restricts results to ads within campaigns specified in comma-separated list
<stateFilter> (optional): Restricts results to keywords with state within the specified comma-separated list. Must be one of: 'enabled', 'paused', or 'archived'. Default behavior is to include enabled, paused, and archived
<targetIdFilter> (optional): Restricts results to ads with the specified 'tagetId' specified in comma-separated list
<targetId> (optional): The identifier of a targeting clause
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
targetId | long | The identifier of the targeting expression used in a bid |
adGroupId | long | The identifier of the ad group |
bid | bigdecimal | If a value for 'bid' is specified, it overrides the current adGroup bid. Note that this field is ignored for negative targeting clauses |
expression | string | The targeting expression to match against |
resolvedExpression | string |
|
servingStatus | string | The status of the target |
state | string | One of the following: enabled, paused, archived |
creationDate | timestamp | Epoch date the target was created |
lastUpdatedDate | timestamp | Epoch date of the last update to any property associated with the target |
Example
CREATE VIEW amazon_ads_examples.example_Display_Targets AS
SELECT *
FROM (
CALL amazon_ads.Display_Targets (
profileId => 0001,
stateFilter => NULL,
targetIdFilter => NULL,
adGroupIdFilter => NULL,
campaignIdFilter => NULL
)
) AS x
History
History of changes for provided event sources that match the filters and time ranges specified
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<fromDate> (optional): Start from date. Max 90 days of history
<toDate> (optional): Finish to date
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
timestamp | timestamp | Timestamp |
changeType | string | Change type for Entity types |
entityType | string | Entity type |
entityId | string | Entity id |
newValue | string | New value |
previousValue | string | Previous value |
metadata_productTargetingType | string | Product targeting type |
metadata_programType | string | Program type |
metadata_campaignId | string | Campaign id |
metadata_campaignBudgetType | string | Campaign budget type |
metadata_keywordType | string | Keyword type |
metadata_predefinedTarget | string | Predefined target |
metadata_keyword | string | Keyword |
metadata_adAsin | string | Ad asin |
metadata_targetingExpression | string | Targeting expression |
metadata_placementGroupPosition | string | Placement group position |
metadata_negativeTargetingType | string | Negative targeting type |
metadata_adGroupId | string | AdGroup id |
Example
CREATE VIEW amazon_ads_examples.example_History AS
SELECT *
FROM (
CALL amazon_ads.History (
profileId => 3394093858963275,
fromDate => TIMESTAMPADD (SQL_TSI_MONTH, -1, CURDATE ()),
toDate => CURDATE ()
)
) AS x
Invoices
Invoices for advertiser
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<invoiceStatuses> (optional): Invoice status: - ISSUED: An invoice is issued when its charges are finalized and tax is computed on the total amount; - PAID_IN_PART: When a partial payment is received, the invoice status will change to paid in part; - PAID_IN_PART: One full payment has been received, the invoice will be paid in full; - WRITTEN_OFF: If an invoice is written off because of an error, the status will be updated to written off
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
fromDate | date | From date |
toDate | date | To date |
id | string | Invoice Id |
invoiceDate | date | Invoice date |
dueDate | date | Due date |
status | string | Invoice Status: - ISSUED: An invoice is issued when its charges are finalized and tax is computed on the total amount; - PAID_IN_PART: When a partial payment is received, the invoice status will change to paid in part; - PAID_IN_PART: One full payment has been received, the invoice will be paid in full; - WRITTEN_OFF: If an invoice is written off because of an error, the status will be updated to written off |
purchaseOrderNumber | string | Account-level purchase order number |
paymentMethod | string | Payment method: CREDIT_CARD, ELECTRONIC_FUNDS_TRANSFER, DEDUCT_FROM_PAYMENT, UNIFIED_BILLING |
amountDue_amount | bigdecimal | Amount due |
amountDue_currencyCode | string | The currency used for all monetary values for entities under this profile |
taxAmountDue_amount | bigdecimal | Amount due |
taxAmountDue_currencyCode | string | The currency used for all monetary values for entities under this profile |
remainingAmountDue_amount | bigdecimal | Remaining Amount due |
remainingAmountDue_currencyCode | string | The currency used for all monetary values for entities under this profile |
remainingTaxAmountDue_amount | bigdecimal | Amount due |
remainingTaxAmountDue_currencyCode | string | The currency used for all monetary values for entities under this profile |
Example
CREATE VIEW amazon_ads_examples.example_Invoices AS
SELECT *
FROM (
CALL amazon_ads.Invoices (
profileId => 1384439365692608,
invoiceStatuses => 'PAID_IN_FULL'
)
) AS x
Keywords
Ad group or campaign-level biddable or negative keywords based on the specified criteria PLANNED API DEPRECATION June 30, 2023
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<negative> (optional): If true, will return negative keywords. Biddable otherwise (and default)
<campaignLevel> (optional): If true, will return campaign-level keywords. AdGroup otherwise (and default)
<keywordId> (optional): Keyword ID
<extended> (optional): Retrieve keywords along with additional properties
<campaignType> (optional): Campaign type
<matchTypeFilter> (optional): Match type filter
<keywordText> (optional): Keyword text
<stateFilter> (optional): State filter
<campaignIdFilter> (optional): Campaign ID filter
<adGroupIdFilter> (optional): Ad group ID filter
<target_table> (optional): Table name to save the data to
<preview> (optional): Preview only, don't write into table
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
keywordId | long | Keyword ID |
adGroupId | long | Ad group ID |
campaignId | long | Campaign ID |
keywordText | string | Keyword text |
nativeLanguageKeyword | string | The unlocalized keyword text in the preferred locale of the advertiser |
bid | bigdecimal | id associated with this keyword. Applicable to biddable match types only |
matchType | string | Match type |
state | string | State |
servingStatus | string | Serving status |
creationDate | timestamp | Creation date |
lastUpdatedDate | timestamp | Last update date |
Example
CREATE VIEW amazon_ads_examples.example_Keywords AS
SELECT * FROM (
CALL amazon_ads.Keywords (
profileId => 0001,
extended => true,
campaignType => null,
matchTypeFilter => null,
keywordText => null,
stateFilter => null,
campaignIdFilter => null,
adGroupIdFilter => 0005,
target_table => null,
preview => true,
label => null
)
)x
Keywords_Suggested
Suggested keywords for specified ad group
Parameter
<profileId> (optional): Profile ID
<adGroupId> (optional): Ad group ID
<target_table> (optional): Table name to save the data to
<preview> (optional): Preview only, don't write into table
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adGroupId | long | Ad group ID |
keywordText | string | Keyword text |
matchType | string | Match type |
Example
CREATE VIEW amazon_ads_examples.example_Keywords_Suggested AS
SELECT * FROM (
CALL amazon_ads.Keywords_Suggested (
profileId => 0001,
adGroupId => 0004,
preview => true
)
)x
ManagerAccounts
Manager accounts that a user has access to, along with metadata for all of the Amazon Advertising accounts that are linked to the Manager account
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
managerAccountId | string | Id of the Manager Account |
managerAccountName | string | The name given to a Manager Account |
linkedAccounts_accountId | string | Id of the Amazon Advertising account |
linkedAccounts_accountName | string | The name given to the Amazon Advertising account |
linkedAccounts_accountType | string | Type of the Amazon Advertising account |
linkedAccounts_marketplaceId | string | The identifier of the marketplace to which the account is associated. See this table for marketplaceId mappings |
linkedAccounts_profileId | string | The identifier of a profile associated with the advertiser account. Note that this value is only populated for a subset of account types: [ SELLER, VENDOR, MARKETING_CLOUD ]. It will be null for accounts of other types |
Example
CREATE VIEW amazon_ads_examples.example_ManagerAccounts AS
SELECT *
FROM (
CALL amazon_ads.ManagerAccounts (
profileId => 2480654271163770
)
) AS x
Portfolios
Portfolios that consist of campaigns that are grouped together and linked to a distinct Advertiser Account
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<portfolioId> (optional): Retrieve a portfolio by ID
<extended> (optional): Retrieve a portfolio along with additional properties
<portfolioIdFilter> (optional): Restricts results to portfolios with ID within the specified comma-separated list
<portfolioNameFilter> (optional): Restricts results to portfolios within names specified in comma-separated list
<portfolioStateFilter> (optional): Restricts results to portfolios with state specified in comma-separated list
<target_table> (optional): Table name to save the data to
<preview> (optional): Preview only, don't write into table
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
portfolioId | long | ID of the portfolio |
name | string | Name of the portfolio |
budget_amount | bigdecimal | Bdget amount |
budget_currencyCode | string | Currency code of the budget |
budget_policy | string | Policy of the portfolio |
budget_startDate | date | Start date of the portfolio |
budget_endDate | date | End date of the portfolio |
inBudget | boolean | States if the portfolio is still within budget |
state | string | Status of the portfolio |
creationDate | timestamp | Date the portfolio was created |
lastUpdatedDate | timestamp | Date the portfolio was last updated |
servingStatus | string | Serving status of the portfolio |
Example
CREATE VIEW amazon_ads_examples.example_Portfolios AS
SELECT * FROM (
CALL amazon_ads.Portfolios (
profileId => 0001,
extended => true,
preview => true
)
) x
ProductAds
Product ads satisfying optional criteria PLANNED API DEPRECATION June 30, 2023
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<adId> (optional): Returns single Ad, rather than list
<extended> (optional): Retrieve product ads along with additional properties
<sku> (optional): Restricts results to product ads with the specified sku
<asin> (optional): Restricts results to product ads with the specified asin
<stateFilter> (optional): Restricts results to ads with state within the specified comma-separated list. Must be one of: enabled, paused, archived. Default behavior is to include all
<campaignIdFilter> (optional): Restricts results to ads within campaigns specified in comma-separated list
<adGroupIdFilter> (optional): Restricts results to ads within ad groups specified in comma-separated list
<adIdFilter> (optional): Restricts results to ads with the specified product ad Id specified in comma-separated list
<target_table> (optional): Table name to save the data to
<preview> (optional): Preview only, don't write into table
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adId | long | ID of the product ad |
campaignId | long | ID of the campaign to which this product ad belongs |
adGroupId | long | ID of the ad group to which this product ad belongs |
sku | string | SKU for the listed product to be advertised |
asin | string | ASIN for the listed product to be advertised |
state | string | Advertiser-specified state of the product ad |
creationDate | timestamp | Date the ad group was created |
lastUpdatedDate | timestamp | Date the ad group was last updated |
servingStatus | string | Computed status, accounting for out of budget, policy violations, etc. |
Example
CREATE VIEW amazon_ads_examples.example_ProductAds AS
SELECT * FROM (
CALL amazon_ads.ProductAds (
profileId => 0001,
extended => true,
preview => true
)
)x
Profiles
Profiles associated with credentials
Parameter
<profileId> (optional): Return one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return one or more profiles for the mentioned in CSV list of account Ids
<target_table> (optional): Table name to save the data to
<preview> (optional): Preview only, don't write into table
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
countryCode | string | Country code identifying the publisher(s) on which ads will run |
currencyCode | string | Currency used for all monetary values for entities under this profile |
dailyBudget | bigdecimal | Optional budget shared by all entities created under this profile |
timezone | string | Tz database time zone used for all date-based campaign management and reporting |
marketplaceStringId | string | Identifier for the marketplace associated with this profile. This is the same identifier used by MWS |
account_id | string | Identifier for the ID associated with this account |
account_name | string | Identifier for the account name |
account_type | string |
|
account_subType | string |
|
validPaymentMethod | string |
|
Example
CREATE VIEW amazon_ads_examples.example_Profiles AS
SELECT * FROM (
CALL amazon_ads.Profiles(
profileId => null
)
) x
Report_Brands_AdGroup
Sponsored Brands : Ad Group Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: adGroup
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartRate | bigdecimal | Calculated by divididing addToCart by impressions |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
adStatus | string | Status of the ad group. |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignBudgetType | string | One of daily or lifetime |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
costType | string | Determines how the campaign will bid and charge. One of vCPM (cost per thousand viewable impressions) or CPC (cost per click). |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
eCPAddToCart | bigdecimal | Effect cost per add to cart, calculated by cost divided by add-to-cart |
impressions | integer | Total number of ad impressions |
newToBrandDetailPageViewRate | bigdecimal | Calculated by dividing newToBrandDetailPageViews / impressions |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewsClicks | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who clicked an ad |
newToBrandECPDetailPageView | bigdecimal | Effective cost per new-to-brand detail page view, calculated by cost divided by new-to-brand detail page view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandPurchasesPercentage | bigdecimal | The percentage of total orders that are new-to-brand orders within 14 days of an ad click. Not available for book vendors. |
newToBrandPurchasesRate | bigdecimal | The percentage of total orders that are new-to-brand orders. Not available for book vendors |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandSalesPercentage | bigdecimal | Percentage of total sales made up of new-to-brand purchases within 14 days of an ad click. Not available for book vendors. Same as newToBrandSalesPercentage14d |
newToBrandUnitsSold | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldClicks | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSoldPercentage | bigdecimal | Percentage of total attributed units ordered within 14 days of an ad click that are part of a new-to-brand purchase. Not available for book vendors. Same as newToBrandUnitsSoldPercentage14d |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesPromoted | integer | Number of attributed conversion events occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as purchasesSameSku14d |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesPromoted | bigdecimal | Total value of sales occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as attributedSales14dSameSKU |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
video5SecondViewRate | bigdecimal | The percentage of impressions where the customer watched the complete video or 5 seconds of the video (whichever is shorter). Sponsored Brands video-only metric |
video5SecondViews | integer | The number of impressions where the customer watched the complete video or 5 seconds (whichever is shorter). Sponsored Brands video-only metric |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Brands_AdGroup AS
SELECT *
FROM (
CALL amazon_ads.Report_Brands_AdGroup (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Brands_Ads
Sponsored Brands : Ads Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: ads
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
adId | long | Unique numerical ID of the ad |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartRate | bigdecimal | Calculated by divididing addToCart by impressions |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignBudgetType | string | One of daily or lifetime |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
costType | string | Determines how the campaign will bid and charge. One of vCPM (cost per thousand viewable impressions) or CPC (cost per click). |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
eCPAddToCart | bigdecimal | Effect cost per add to cart, calculated by cost divided by add-to-cart |
impressions | integer | Total number of ad impressions |
newToBrandDetailPageViewRate | bigdecimal | Calculated by dividing newToBrandDetailPageViews / impressions |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewsClicks | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who clicked an ad |
newToBrandECPDetailPageView | bigdecimal | Effective cost per new-to-brand detail page view, calculated by cost divided by new-to-brand detail page view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandPurchasesPercentage | bigdecimal | The percentage of total orders that are new-to-brand orders within 14 days of an ad click. Not available for book vendors. |
newToBrandPurchasesRate | bigdecimal | The percentage of total orders that are new-to-brand orders. Not available for book vendors |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandSalesPercentage | bigdecimal | Percentage of total sales made up of new-to-brand purchases within 14 days of an ad click. Not available for book vendors. Same as newToBrandSalesPercentage14d |
newToBrandUnitsSold | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldClicks | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSoldPercentage | bigdecimal | Percentage of total attributed units ordered within 14 days of an ad click that are part of a new-to-brand purchase. Not available for book vendors. Same as newToBrandUnitsSoldPercentage14d |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesPromoted | integer | Number of attributed conversion events occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as purchasesSameSku14d |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesPromoted | bigdecimal | Total value of sales occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as attributedSales14dSameSKU |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
video5SecondViewRate | bigdecimal | The percentage of impressions where the customer watched the complete video or 5 seconds of the video (whichever is shorter). Sponsored Brands video-only metric |
video5SecondViews | integer | The number of impressions where the customer watched the complete video or 5 seconds (whichever is shorter). Sponsored Brands video-only metric |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
viewableImpressions | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Brands_Ads AS
SELECT *
FROM (
CALL amazon_ads.Report_Brands_Ads (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Brands_CampaignPlacement
Sponsored Brands : Campaign Placement Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: campaignPlacement,campaign
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartRate | bigdecimal | Calculated by divididing addToCart by impressions |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignBudgetType | string | One of daily or lifetime |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
costType | string | Determines how the campaign will bid and charge. One of vCPM (cost per thousand viewable impressions) or CPC (cost per click). |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
eCPAddToCart | bigdecimal | Effect cost per add to cart, calculated by cost divided by add-to-cart |
impressions | integer | Total number of ad impressions |
newToBrandDetailPageViewRate | bigdecimal | Calculated by dividing newToBrandDetailPageViews / impressions |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewsClicks | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who clicked an ad |
newToBrandECPDetailPageView | bigdecimal | Effective cost per new-to-brand detail page view, calculated by cost divided by new-to-brand detail page view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandPurchasesPercentage | bigdecimal | The percentage of total orders that are new-to-brand orders within 14 days of an ad click. Not available for book vendors. |
newToBrandPurchasesRate | bigdecimal | The percentage of total orders that are new-to-brand orders. Not available for book vendors |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandSalesPercentage | bigdecimal | Percentage of total sales made up of new-to-brand purchases within 14 days of an ad click. Not available for book vendors. Same as newToBrandSalesPercentage14d |
newToBrandUnitsSold | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldClicks | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSoldPercentage | bigdecimal | Percentage of total attributed units ordered within 14 days of an ad click that are part of a new-to-brand purchase. Not available for book vendors. Same as newToBrandUnitsSoldPercentage14d |
placementClassification | string | The page location where an ad appeared |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesPromoted | integer | Number of attributed conversion events occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as purchasesSameSku14d |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesPromoted | bigdecimal | Total value of sales occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as attributedSales14dSameSKU |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
video5SecondViewRate | bigdecimal | The percentage of impressions where the customer watched the complete video or 5 seconds of the video (whichever is shorter). Sponsored Brands video-only metric |
video5SecondViews | integer | The number of impressions where the customer watched the complete video or 5 seconds (whichever is shorter). Sponsored Brands video-only metric |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
viewableImpressions | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
viewClickThroughRate | bigdecimal | Click-through rate for views (clicks divided by views) |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Brands_CampaignPlacement AS
SELECT *
FROM (
CALL amazon_ads.Report_Brands_CampaignPlacement (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;
Report_Brands_Campaigns
Sponsored Brands : Campaigns Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: campaign
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartRate | bigdecimal | Calculated by divididing addToCart by impressions |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignBudgetType | string | One of daily or lifetime |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
costType | string | Determines how the campaign will bid and charge. One of vCPM (cost per thousand viewable impressions) or CPC (cost per click). |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
eCPAddToCart | bigdecimal | Effect cost per add to cart, calculated by cost divided by add-to-cart |
impressions | integer | Total number of ad impressions |
newToBrandDetailPageViewRate | bigdecimal | Calculated by dividing newToBrandDetailPageViews / impressions |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewsClicks | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who clicked an ad |
newToBrandECPDetailPageView | bigdecimal | Effective cost per new-to-brand detail page view, calculated by cost divided by new-to-brand detail page view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandPurchasesPercentage | bigdecimal | The percentage of total orders that are new-to-brand orders within 14 days of an ad click. Not available for book vendors. |
newToBrandPurchasesRate | bigdecimal | The percentage of total orders that are new-to-brand orders. Not available for book vendors |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandSalesPercentage | bigdecimal | Percentage of total sales made up of new-to-brand purchases within 14 days of an ad click. Not available for book vendors. Same as newToBrandSalesPercentage14d |
newToBrandUnitsSold | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldClicks | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSoldPercentage | bigdecimal | Percentage of total attributed units ordered within 14 days of an ad click that are part of a new-to-brand purchase. Not available for book vendors. Same as newToBrandUnitsSoldPercentage14d |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesPromoted | integer | Number of attributed conversion events occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as purchasesSameSku14d |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesPromoted | bigdecimal | Total value of sales occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as attributedSales14dSameSKU |
topOfSearchImpressionShare | bigdecimal | The percentage of top-of-search impressions earned out of all the top-of-search impressions that were eligible for a given date range. Various factors determine the eligibility for an impression including campaign status and targeting status |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
video5SecondViewRate | bigdecimal | The percentage of impressions where the customer watched the complete video or 5 seconds of the video (whichever is shorter). Sponsored Brands video-only metric |
video5SecondViews | integer | The number of impressions where the customer watched the complete video or 5 seconds (whichever is shorter). Sponsored Brands video-only metric |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
viewableImpressions | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
viewClickThroughRate | bigdecimal | Click-through rate for views (clicks divided by views) |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Brands_Campaigns AS
SELECT *
FROM (
CALL amazon_ads.Report_Brands_Campaigns (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Brands_GrossAndInvalids
Sponsored Brands : Gross And Invalids Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: campaign
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
clicks | integer | Total number of clicks on an ad |
grossClickThroughs | integer | The total number of times the ad was clicked. This includes valid, potentially fraudulent, non-human, and other illegitimate clicks |
grossImpressions | integer | The total number of times the ad was displayed. This includes valid and invalid impressions such as potentially fraudulent, non-human, and other illegitimate impressions |
impressions | integer | Total number of ad impressions |
invalidClickThroughRate | bigdecimal | The percentage of gross click-throughs that were removed by the traffic quality filter. (Invalid click-throughs rate = invalid click-throughs / gross click-throughs) |
invalidClickThroughs | integer | Clicks that were removed by the traffic quality filter. This includes potentially fraudulent, non-human, and other illegitimate traffic |
invalidImpressionRate | bigdecimal | The percentage of gross impressions that were removed by the traffic quality filter. (Invalid impression rate = invalid impressions / gross impressions) |
invalidImpressions | integer | The number of impressions removed by a traffic quality filter. This includes potentially fraudulent, non-human, and other illegitimate traffic |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Brands_GrossAndInvalids AS
SELECT *
FROM (
CALL amazon_ads.Report_Brands_GrossAndInvalids (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Brands_PurchasedProducts
Sponsored Brands : Purchased Products Report v.3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
date | date | Date when the ad activity occurred in the format YYYY-MM-DD |
adGroupName | string | The name of the ad group as entered by the advertiser |
attributionType | string | Describes whether a purchase is attributed to a promoted product or brand-halo effect |
budgetCurrency | string | The currency code |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignName | string | The name associated with a campaign |
newToBrandOrders14d | integer | The number of orders |
newToBrandOrdersPercentage14d | bigdecimal | The percentage of orders |
newToBrandPurchases14d | integer | The number of first-time orders for brand products over a one-year lookback window. Not available for book vendors |
newToBrandPurchasesPercentage14d | bigdecimal | The percentage of total orders that are new-to-brand orders. Not available for book vendors |
newToBrandSales14d | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandSalesPercentage14d | bigdecimal | Percentage of total sales made up of new-to-brand purchases. Not available for book vendors |
newToBrandUnitsSold14d | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSoldPercentage14d | bigdecimal | Percentage of total attributed units ordered within 14 days of an ad click that are part of a new-to-brand purchase. Not available for book vendors |
orders14d | integer | Orders within the last 14 days |
productCategory | string | The category the product is associated with on Amazon |
productName | string | The name of the product |
purchasedAsin | string | The ASIN of the product that was purchased |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click |
unitsSold14d | integer | Number of attributed units sold within 14 days of click on an ad. Vendor-only field. Same as unitsSoldClicks14d |
Example
CREATE VIEW amazon_ads_examples.example_Report_Brands_PurchasedProducts AS
SELECT *
FROM (
CALL amazon_ads.Report_Brands_PurchasedProducts (
groupBy => NULL,
startDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
endDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Brands_SearchTerms
Sponsored Brands : Search Term Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: searchTerm
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
keywordId | long | ID associated with a keyword or targeting expression |
keywordText | string | Text of the keyword. |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
adKeywordStatus | string | Current status of a keyword |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignBudgetType | string | One of daily or lifetime |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
costType | string | Determines how the campaign will bid and charge. One of vCPM (cost per thousand viewable impressions) or CPC (cost per click). |
impressions | integer | Total number of ad impressions |
keywordBid | bigdecimal | Bid associated with a keyword or targeting expression |
matchType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For Sponsored Products reports, keywordType can also contain the type of targeting expressions, one of: TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
searchTerm | string | The search term used by the customer. Same as query |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
video5SecondViewRate | bigdecimal | The percentage of impressions where the customer watched the complete video or 5 seconds of the video (whichever is shorter). Sponsored Brands video-only metric |
video5SecondViews | integer | The number of impressions where the customer watched the complete video or 5 seconds (whichever is shorter). Sponsored Brands video-only metric |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
viewableImpressions | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
viewClickThroughRate | bigdecimal | Click-through rate for views (clicks divided by views) |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Brands_SearchTerms AS
SELECT *
FROM (
CALL amazon_ads.Report_Brands_SearchTerms (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Brands_Targeting
Sponsored Brands : Targeting Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: targeting
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
keywordId | long | ID associated with a keyword or targeting expression |
keywordText | string | Text of the keyword. |
keywordType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For Sponsored Products reports, keywordType can also contain the type of targeting expressions, one of: TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartRate | bigdecimal | Calculated by divididing addToCart by impressions |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
adKeywordStatus | string | Current status of a keyword |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignBudgetType | string | One of daily or lifetime |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
costType | string | Determines how the campaign will bid and charge. One of vCPM (cost per thousand viewable impressions) or CPC (cost per click). |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
eCPAddToCart | bigdecimal | Effect cost per add to cart, calculated by cost divided by add-to-cart |
impressions | integer | Total number of ad impressions |
keywordBid | bigdecimal | Bid associated with a keyword or targeting expression |
matchType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For Sponsored Products reports, keywordType can also contain the type of targeting expressions, one of: TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED |
newToBrandDetailPageViewRate | bigdecimal | Calculated by dividing newToBrandDetailPageViews / impressions |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewsClicks | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who clicked an ad |
newToBrandECPDetailPageView | bigdecimal | Effective cost per new-to-brand detail page view, calculated by cost divided by new-to-brand detail page view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandPurchasesPercentage | bigdecimal | The percentage of total orders that are new-to-brand orders within 14 days of an ad click. Not available for book vendors. |
newToBrandPurchasesRate | bigdecimal | The percentage of total orders that are new-to-brand orders. Not available for book vendors |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandSalesPercentage | bigdecimal | Percentage of total sales made up of new-to-brand purchases within 14 days of an ad click. Not available for book vendors. Same as newToBrandSalesPercentage14d |
newToBrandUnitsSold | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldClicks | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSoldPercentage | bigdecimal | Percentage of total attributed units ordered within 14 days of an ad click that are part of a new-to-brand purchase. Not available for book vendors. Same as newToBrandUnitsSoldPercentage14d |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesPromoted | integer | Number of attributed conversion events occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as purchasesSameSku14d |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesPromoted | bigdecimal | Total value of sales occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as attributedSales14dSameSKU |
targetingExpression | string | A string representation of the expression object used in the targeting clause |
targetingId | long | The identifier of the targeting expression |
targetingText | string | The text used in the targeting expression |
targetingType | string | The type of targeting used in the expression |
topOfSearchImpressionShare | bigdecimal | The percentage of top-of-search impressions earned out of all the top-of-search impressions that were eligible for a given date range. Various factors determine the eligibility for an impression including campaign status and targeting status |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Brands_Targeting AS
SELECT *
FROM (
CALL amazon_ads.Report_Brands_Targeting (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Consolidated_AdGroup
Consolidated Report for Ad Group v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): The date to retrieve the performance report for
<endDate> (optional): The date to retrieve the performance reports for multiple days till
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<target_table_Brands> (optional): Table name to save the data for Brands
<target_table_Display> (optional): Table name to save the data for Display
<target_table_Products> (optional): Table name to save the data for Products
<target_table_Television> (optional): Table name to save the data for Television
<label> (optional): Multitenancy label
Attribute | Type | Description |
---|---|---|
report_source | string | Source report name |
profileId | long | Profile Id |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignName | string | The name associated with a campaign |
campaignId | long | The ID associated with a campaign |
campaignStatus | string | The status of a campaign |
campaignBudgetType | string | One of daily or lifetime |
adGroupName | string | The name of the ad group as entered by the advertiser |
adGroupId | long | Unique numerical ID of the ad group |
adStatus | string | Status of the ad group. |
portfolioId | long | The portfolio the campaign is associated with |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
impressions | integer | Total number of ad impressions |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartRate | bigdecimal | Calculated by divididing addToCart by impressions |
addToCartViews | integer | Number of times shoppers added the brands' products to their cart, attributed to an ad view |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
addToListFromViews | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view |
attributedSalesSameSku14d | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. Sponsored Products only |
attributedSalesSameSku1d | bigdecimal | Total value of sales occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku30d | bigdecimal | Total value of sales occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku7d | bigdecimal | Total value of sales occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
bidOptimization | string | Bid optimization for Sponsored Display ad groups. For vCPM campaigns, the value is always reach. For CPC campaigns, value is either clicks or conversions |
brandedSearchRate | bigdecimal | Rate of Branded Searches relative to the number of impressions. (BS/Impressions) |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
brandedSearchesViews | integer | The number of times a branded keyword was searched on Amazon based on the brands associated to the featured ASINs in your campaign, attributed to an ad view |
campaignApplicableBudgetRuleId | long | The ID associated to the active budget rule for a campaign |
campaignApplicableBudgetRuleName | string | The name associated to the active budget rule for a campaign |
campaignBiddingStrategy | string | The bidding strategy associated with a campaign |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignRuleBasedBudgetAmount | bigdecimal | The value of the rule-based budget for a campaign |
clickThroughRate | bigdecimal | Clicks divided by impressions |
costPerClick | bigdecimal | Total cost divided by total number of clicks |
costPerThousandImpressions | bigdecimal | The cost per thousand impressions |
costType | string | Determines how the campaign will bid and charge. One of vCPM (cost per thousand viewable impressions) or CPC (cost per click). |
cumulativeReach | integer | Total unduplicated audience reached |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
detailPageViewsViews | integer | The number of times a product detail page was viewed attributed to an ad view |
eCPAddToCart | bigdecimal | Effect cost per add to cart, calculated by cost divided by add-to-cart |
eCPBrandSearch | bigdecimal | Effective (average) cost to acquire a Branded Search |
impressionsFrequencyAverage | bigdecimal | Average number of times unique users were exposed to an ad over the lifetime of the campaign |
impressionsViews | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
leadFormOpens | integer | The number of times your lead forms were opened |
leads | integer | The number of leads collected through your lead generation campaigns |
linkOuts | integer | The number of times link-outs to landing page were clicked. |
newToBrandDetailPageViewClicks | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad click. |
newToBrandDetailPageViewRate | bigdecimal | Calculated by dividing newToBrandDetailPageViews / impressions |
newToBrandDetailPageViewViews | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad view |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewsClicks | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who clicked an ad |
newToBrandECPDetailPageView | bigdecimal | Effective cost per new-to-brand detail page view, calculated by cost divided by new-to-brand detail page view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandPurchasesPercentage | bigdecimal | The percentage of total orders that are new-to-brand orders within 14 days of an ad click. Not available for book vendors. |
newToBrandPurchasesRate | bigdecimal | The percentage of total orders that are new-to-brand orders. Not available for book vendors |
newToBrandPurchasesViews | integer | The number of new to branch purchases attributed to an ad view |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandSalesPercentage | bigdecimal | Percentage of total sales made up of new-to-brand purchases within 14 days of an ad click. Not available for book vendors. Same as newToBrandSalesPercentage14d |
newToBrandSalesViews | bigdecimal | Total value of sales by new to brand customers occurring within 14 days of an ad view. |
newToBrandUnitsSold | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldClicks | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSoldPercentage | bigdecimal | Percentage of total attributed units ordered within 14 days of an ad click that are part of a new-to-brand purchase. Not available for book vendors. Same as newToBrandUnitsSoldPercentage14d |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click. Sponsored Products only |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesPromoted | integer | Number of attributed conversion events occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as purchasesSameSku14d |
purchasesPromotedClicks | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku14d | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. Sponsored Products only. Same as puchasesPromoted |
purchasesSameSku1d | integer | Number of attributed conversion events occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku30d | integer | Number of attributed conversion events occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku7d | integer | Number of attributed conversion events occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesViews | integer | Number of attributed conversion events occurring within 14 days of an ad view |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromViews | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
roas | bigdecimal | Return on ad spend |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromViews | integer | Estimated royalty payment attributed to Kindle Unlimited users who viewed the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click. Includes sales attributed to both clicks and views for vCPM campaigns, but only sales attributed to clicks for CPC campaigns |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesPromoted | bigdecimal | Total value of sales occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as attributedSales14dSameSKU |
salesPromotedClicks | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
salesViews | bigdecimal | Total value of sales occurring within 14 days of an ad view. |
spend | bigdecimal | Total cost of ad clicks |
topOfSearchImpressionShare | bigdecimal | The percentage of top-of-search impressions earned out of all the top-of-search impressions that were eligible for a given date range. Various factors determine the eligibility for an impression including campaign status and targeting status |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
unitsSoldClicks14d | integer | Total number of units sold within 14 days of an ad click |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldSameSku14d | integer | Total number of units ordered within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku1d | integer | Total number of units ordered within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku30d | integer | Total number of units ordered within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku7d | integer | Total number of units ordered within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldViews | integer | Number of attributed units sold within 14 days of an ad view |
video5SecondViewRate | bigdecimal | The percentage of impressions where the customer watched the complete video or 5 seconds of the video (whichever is shorter). Sponsored Brands video-only metric |
video5SecondViews | integer | The number of impressions where the customer watched the complete video or 5 seconds (whichever is shorter). Sponsored Brands video-only metric |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewClickThroughRate | bigdecimal | Click-through rate for views (clicks divided by views) |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
errorMessage | string | Error message if any problem happened |
Report_Consolidated_AdvertisedProduct
Consolidated Report for Advertised Product v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): The date to retrieve the performance report for
<endDate> (optional): The date to retrieve the performance reports for multiple days till
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<target_table_Display> (optional): Table name to save the data for Display
<target_table_Products> (optional): Table name to save the data for Products
<label> (optional): Multitenancy label
Attribute | Type | Description |
---|---|---|
report_source | string | Source report name |
profileId | long | Profile Id |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignName | string | The name associated with a campaign |
campaignId | long | The ID associated with a campaign |
campaignStatus | string | The status of a campaign |
campaignBudgetType | string | One of daily or lifetime |
adGroupName | string | The name of the ad group as entered by the advertiser |
adGroupId | long | Unique numerical ID of the ad group |
adId | long | Unique numerical ID of the ad |
portfolioId | long | The portfolio the campaign is associated with |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
impressions | integer | Total number of ad impressions |
acosClicks14d | bigdecimal | Advertising cost of sales based on purchases made within 14 days of an ad click |
acosClicks7d | bigdecimal | Advertising cost of sales based on purchases made within 7 days of an ad click |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartRate | bigdecimal | Calculated by divididing addToCart by impressions |
addToCartViews | integer | Number of times shoppers added the brands' products to their cart, attributed to an ad view |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
addToListFromViews | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view |
advertisedAsin | string | The ASIN associated to an advertised product |
advertisedSku | string | The SKU being advertised. Not available for vendors |
attributedSalesSameSku14d | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. Sponsored Products only |
attributedSalesSameSku1d | bigdecimal | Total value of sales occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku30d | bigdecimal | Total value of sales occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku7d | bigdecimal | Total value of sales occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
bidOptimization | string | Bid optimization for Sponsored Display ad groups. For vCPM campaigns, the value is always reach. For CPC campaigns, value is either clicks or conversions |
brandedSearchRate | bigdecimal | Rate of Branded Searches relative to the number of impressions. (BS/Impressions) |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
brandedSearchesViews | integer | The number of times a branded keyword was searched on Amazon based on the brands associated to the featured ASINs in your campaign, attributed to an ad view |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
clickThroughRate | bigdecimal | Clicks divided by impressions |
costPerClick | bigdecimal | Total cost divided by total number of clicks |
cumulativeReach | integer | Total unduplicated audience reached |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
eCPAddToCart | bigdecimal | Effect cost per add to cart, calculated by cost divided by add-to-cart |
eCPBrandSearch | bigdecimal | Effective (average) cost to acquire a Branded Search |
impressionsFrequencyAverage | bigdecimal | Average number of times unique users were exposed to an ad over the lifetime of the campaign |
impressionsViews | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
leadFormOpens | integer | The number of times your lead forms were opened |
leads | integer | The number of leads collected through your lead generation campaigns |
linkOuts | integer | The number of times link-outs to landing page were clicked. |
newToBrandDetailPageViewClicks | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad click. |
newToBrandDetailPageViewRate | bigdecimal | Calculated by dividing newToBrandDetailPageViews / impressions |
newToBrandDetailPageViewViews | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad view |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandECPDetailPageView | bigdecimal | Effective cost per new-to-brand detail page view, calculated by cost divided by new-to-brand detail page view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSold | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldClicks | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
promotedAsin | string | The ASIN associated to an advertised product |
promotedSku | string | The SKU being advertised. Not available for vendors |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click. Sponsored Products only |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesPromotedClicks | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku14d | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. Sponsored Products only. Same as puchasesPromoted |
purchasesSameSku1d | integer | Number of attributed conversion events occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku30d | integer | Number of attributed conversion events occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku7d | integer | Number of attributed conversion events occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromViews | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
roasClicks14d | bigdecimal | Return on ad spend based on purchases made within 14 days of an ad click |
roasClicks7d | bigdecimal | Return on ad spend based on purchases made within 7 days of an ad click |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromViews | integer | Estimated royalty payment attributed to Kindle Unlimited users who viewed the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click. Includes sales attributed to both clicks and views for vCPM campaigns, but only sales attributed to clicks for CPC campaigns |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesOtherSku7d | bigdecimal | Total value of sales occurring within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
salesPromotedClicks | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
spend | bigdecimal | Total cost of ad clicks |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
unitsSoldClicks14d | integer | Total number of units sold within 14 days of an ad click |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldOtherSku7d | integer | Total number of units ordered within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldSameSku14d | integer | Total number of units ordered within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku1d | integer | Total number of units ordered within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku30d | integer | Total number of units ordered within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku7d | integer | Total number of units ordered within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewClickThroughRate | bigdecimal | Click-through rate for views (clicks divided by views) |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
errorMessage | string | Error message if any problem happened |
Report_Consolidated_CampaignPlacement
Consolidated Report for Campaign Placement v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): The date to retrieve the performance report for
<endDate> (optional): The date to retrieve the performance reports for multiple days till
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<target_table_Brands> (optional): Table name to save the data for Brands
<target_table_Display> (optional): Table name to save the data for Display
<target_table_Products> (optional): Table name to save the data for Products
<target_table_Television> (optional): Table name to save the data for Television
<label> (optional): Multitenancy label
Attribute | Type | Description |
---|---|---|
report_source | string | Source report name |
profileId | long | Profile Id |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignName | string | The name associated with a campaign |
campaignId | long | The ID associated with a campaign |
campaignStatus | string | The status of a campaign |
campaignBudgetType | string | One of daily or lifetime |
portfolioId | long | The portfolio the campaign is associated with |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
impressions | integer | Total number of ad impressions |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartRate | bigdecimal | Calculated by divididing addToCart by impressions |
addToCartViews | integer | Number of times shoppers added the brands' products to their cart, attributed to an ad view |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
addToListFromViews | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view |
attributedSalesSameSku14d | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. Sponsored Products only |
attributedSalesSameSku1d | bigdecimal | Total value of sales occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku30d | bigdecimal | Total value of sales occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku7d | bigdecimal | Total value of sales occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
brandedSearchRate | bigdecimal | Rate of Branded Searches relative to the number of impressions. (BS/Impressions) |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
brandedSearchesViews | integer | The number of times a branded keyword was searched on Amazon based on the brands associated to the featured ASINs in your campaign, attributed to an ad view |
campaignApplicableBudgetRuleId | long | The ID associated to the active budget rule for a campaign |
campaignApplicableBudgetRuleName | string | The name associated to the active budget rule for a campaign |
campaignBiddingStrategy | string | The bidding strategy associated with a campaign |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignRuleBasedBudgetAmount | bigdecimal | The value of the rule-based budget for a campaign |
clickThroughRate | bigdecimal | Clicks divided by impressions |
costPerClick | bigdecimal | Total cost divided by total number of clicks |
costPerThousandImpressions | bigdecimal | The cost per thousand impressions |
costType | string | Determines how the campaign will bid and charge. One of vCPM (cost per thousand viewable impressions) or CPC (cost per click). |
cumulativeReach | integer | Total unduplicated audience reached |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
detailPageViewsViews | integer | The number of times a product detail page was viewed attributed to an ad view |
eCPAddToCart | bigdecimal | Effect cost per add to cart, calculated by cost divided by add-to-cart |
eCPBrandSearch | bigdecimal | Effective (average) cost to acquire a Branded Search |
impressionsFrequencyAverage | bigdecimal | Average number of times unique users were exposed to an ad over the lifetime of the campaign |
impressionsViews | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
leadFormOpens | integer | The number of times your lead forms were opened |
leads | integer | The number of leads collected through your lead generation campaigns |
linkOuts | integer | The number of times link-outs to landing page were clicked. |
newToBrandDetailPageViewClicks | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad click. |
newToBrandDetailPageViewRate | bigdecimal | Calculated by dividing newToBrandDetailPageViews / impressions |
newToBrandDetailPageViewViews | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad view |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewsClicks | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who clicked an ad |
newToBrandECPDetailPageView | bigdecimal | Effective cost per new-to-brand detail page view, calculated by cost divided by new-to-brand detail page view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandPurchasesPercentage | bigdecimal | The percentage of total orders that are new-to-brand orders within 14 days of an ad click. Not available for book vendors. |
newToBrandPurchasesRate | bigdecimal | The percentage of total orders that are new-to-brand orders. Not available for book vendors |
newToBrandPurchasesViews | integer | The number of new to branch purchases attributed to an ad view |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandSalesPercentage | bigdecimal | Percentage of total sales made up of new-to-brand purchases within 14 days of an ad click. Not available for book vendors. Same as newToBrandSalesPercentage14d |
newToBrandSalesViews | bigdecimal | Total value of sales by new to brand customers occurring within 14 days of an ad view. |
newToBrandUnitsSold | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldClicks | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSoldPercentage | bigdecimal | Percentage of total attributed units ordered within 14 days of an ad click that are part of a new-to-brand purchase. Not available for book vendors. Same as newToBrandUnitsSoldPercentage14d |
placementClassification | string | The page location where an ad appeared |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click. Sponsored Products only |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesPromoted | integer | Number of attributed conversion events occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as purchasesSameSku14d |
purchasesPromotedClicks | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku14d | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. Sponsored Products only. Same as puchasesPromoted |
purchasesSameSku1d | integer | Number of attributed conversion events occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku30d | integer | Number of attributed conversion events occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku7d | integer | Number of attributed conversion events occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesViews | integer | Number of attributed conversion events occurring within 14 days of an ad view |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromViews | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
roas | bigdecimal | Return on ad spend |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromViews | integer | Estimated royalty payment attributed to Kindle Unlimited users who viewed the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click. Includes sales attributed to both clicks and views for vCPM campaigns, but only sales attributed to clicks for CPC campaigns |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesPromoted | bigdecimal | Total value of sales occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as attributedSales14dSameSKU |
salesPromotedClicks | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
salesViews | bigdecimal | Total value of sales occurring within 14 days of an ad view. |
spend | bigdecimal | Total cost of ad clicks |
topOfSearchImpressionShare | bigdecimal | The percentage of top-of-search impressions earned out of all the top-of-search impressions that were eligible for a given date range. Various factors determine the eligibility for an impression including campaign status and targeting status |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
unitsSoldClicks14d | integer | Total number of units sold within 14 days of an ad click |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldSameSku14d | integer | Total number of units ordered within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku1d | integer | Total number of units ordered within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku30d | integer | Total number of units ordered within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku7d | integer | Total number of units ordered within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldViews | integer | Number of attributed units sold within 14 days of an ad view |
video5SecondViewRate | bigdecimal | The percentage of impressions where the customer watched the complete video or 5 seconds of the video (whichever is shorter). Sponsored Brands video-only metric |
video5SecondViews | integer | The number of impressions where the customer watched the complete video or 5 seconds (whichever is shorter). Sponsored Brands video-only metric |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewClickThroughRate | bigdecimal | Click-through rate for views (clicks divided by views) |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
viewableImpressions | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
errorMessage | string | Error message if any problem happened |
Report_Consolidated_Campaigns
Consolidated Report for Campaigns v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): The date to retrieve the performance report for
<endDate> (optional): The date to retrieve the performance reports for multiple days till
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<target_table_Brands> (optional): Table name to save the data for Brands
<target_table_Display> (optional): Table name to save the data for Display
<target_table_Products> (optional): Table name to save the data for Products
<target_table_Television> (optional): Table name to save the data for Television
<label> (optional): Multitenancy label
Attribute | Type | Description |
---|---|---|
report_source | string | Source report name |
profileId | long | Profile Id |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignName | string | The name associated with a campaign |
campaignId | long | The ID associated with a campaign |
campaignStatus | string | The status of a campaign |
campaignBudgetType | string | One of daily or lifetime |
portfolioId | long | The portfolio the campaign is associated with |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
impressions | integer | Total number of ad impressions |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartRate | bigdecimal | Calculated by divididing addToCart by impressions |
addToCartViews | integer | Number of times shoppers added the brands' products to their cart, attributed to an ad view |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
addToListFromViews | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view |
attributedSalesSameSku14d | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. Sponsored Products only |
attributedSalesSameSku1d | bigdecimal | Total value of sales occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku30d | bigdecimal | Total value of sales occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku7d | bigdecimal | Total value of sales occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
brandedSearchRate | bigdecimal | Rate of Branded Searches relative to the number of impressions. (BS/Impressions) |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
brandedSearchesViews | integer | The number of times a branded keyword was searched on Amazon based on the brands associated to the featured ASINs in your campaign, attributed to an ad view |
campaignApplicableBudgetRuleId | long | The ID associated to the active budget rule for a campaign |
campaignApplicableBudgetRuleName | string | The name associated to the active budget rule for a campaign |
campaignBiddingStrategy | string | The bidding strategy associated with a campaign |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignRuleBasedBudgetAmount | bigdecimal | The value of the rule-based budget for a campaign |
clickThroughRate | bigdecimal | Clicks divided by impressions |
costPerClick | bigdecimal | Total cost divided by total number of clicks |
costPerThousandImpressions | bigdecimal | The cost per thousand impressions |
costType | string | Determines how the campaign will bid and charge. One of vCPM (cost per thousand viewable impressions) or CPC (cost per click). |
cumulativeReach | integer | Total unduplicated audience reached |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
detailPageViewsViews | integer | The number of times a product detail page was viewed attributed to an ad view |
eCPAddToCart | bigdecimal | Effect cost per add to cart, calculated by cost divided by add-to-cart |
eCPBrandSearch | bigdecimal | Effective (average) cost to acquire a Branded Search |
impressionsFrequencyAverage | bigdecimal | Average number of times unique users were exposed to an ad over the lifetime of the campaign |
impressionsViews | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
leadFormOpens | integer | The number of times your lead forms were opened |
leads | integer | The number of leads collected through your lead generation campaigns |
linkOuts | integer | The number of times link-outs to landing page were clicked. |
newToBrandDetailPageViewClicks | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad click. |
newToBrandDetailPageViewRate | bigdecimal | Calculated by dividing newToBrandDetailPageViews / impressions |
newToBrandDetailPageViewViews | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad view |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewsClicks | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who clicked an ad |
newToBrandECPDetailPageView | bigdecimal | Effective cost per new-to-brand detail page view, calculated by cost divided by new-to-brand detail page view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandPurchasesPercentage | bigdecimal | The percentage of total orders that are new-to-brand orders within 14 days of an ad click. Not available for book vendors. |
newToBrandPurchasesRate | bigdecimal | The percentage of total orders that are new-to-brand orders. Not available for book vendors |
newToBrandPurchasesViews | integer | The number of new to branch purchases attributed to an ad view |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandSalesPercentage | bigdecimal | Percentage of total sales made up of new-to-brand purchases within 14 days of an ad click. Not available for book vendors. Same as newToBrandSalesPercentage14d |
newToBrandSalesViews | bigdecimal | Total value of sales by new to brand customers occurring within 14 days of an ad view. |
newToBrandUnitsSold | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldClicks | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSoldPercentage | bigdecimal | Percentage of total attributed units ordered within 14 days of an ad click that are part of a new-to-brand purchase. Not available for book vendors. Same as newToBrandUnitsSoldPercentage14d |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click. Sponsored Products only |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesPromoted | integer | Number of attributed conversion events occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as purchasesSameSku14d |
purchasesPromotedClicks | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku14d | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. Sponsored Products only. Same as puchasesPromoted |
purchasesSameSku1d | integer | Number of attributed conversion events occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku30d | integer | Number of attributed conversion events occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku7d | integer | Number of attributed conversion events occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesViews | integer | Number of attributed conversion events occurring within 14 days of an ad view |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromViews | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
roas | bigdecimal | Return on ad spend |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromViews | integer | Estimated royalty payment attributed to Kindle Unlimited users who viewed the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click. Includes sales attributed to both clicks and views for vCPM campaigns, but only sales attributed to clicks for CPC campaigns |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesPromoted | bigdecimal | Total value of sales occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as attributedSales14dSameSKU |
salesPromotedClicks | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
salesViews | bigdecimal | Total value of sales occurring within 14 days of an ad view. |
spend | bigdecimal | Total cost of ad clicks |
topOfSearchImpressionShare | bigdecimal | The percentage of top-of-search impressions earned out of all the top-of-search impressions that were eligible for a given date range. Various factors determine the eligibility for an impression including campaign status and targeting status |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
unitsSoldClicks14d | integer | Total number of units sold within 14 days of an ad click |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldSameSku14d | integer | Total number of units ordered within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku1d | integer | Total number of units ordered within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku30d | integer | Total number of units ordered within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku7d | integer | Total number of units ordered within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldViews | integer | Number of attributed units sold within 14 days of an ad view |
video5SecondViewRate | bigdecimal | The percentage of impressions where the customer watched the complete video or 5 seconds of the video (whichever is shorter). Sponsored Brands video-only metric |
video5SecondViews | integer | The number of impressions where the customer watched the complete video or 5 seconds (whichever is shorter). Sponsored Brands video-only metric |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewClickThroughRate | bigdecimal | Click-through rate for views (clicks divided by views) |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
viewableImpressions | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
errorMessage | string | Error message if any problem happened |
Report_Consolidated_GrossAndInvalids
Consolidated Report for Gross And Invalids v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): The date to retrieve the performance report for
<endDate> (optional): The date to retrieve the performance reports for multiple days till
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<target_table_Brands> (optional): Table name to save the data for Brands
<target_table_Display> (optional): Table name to save the data for Display
<target_table_Products> (optional): Table name to save the data for Products
<label> (optional): Multitenancy label
Attribute | Type | Description |
---|---|---|
report_source | string | Source report name |
profileId | long | Profile Id |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
clicks | integer | Total number of clicks on an ad |
impressions | integer | Total number of ad impressions |
grossClickThroughs | integer | The total number of times the ad was clicked. This includes valid, potentially fraudulent, non-human, and other illegitimate clicks |
grossImpressions | integer | The total number of times the ad was displayed. This includes valid and invalid impressions such as potentially fraudulent, non-human, and other illegitimate impressions |
invalidClickThroughRate | bigdecimal | The percentage of gross click-throughs that were removed by the traffic quality filter. (Invalid click-throughs rate = invalid click-throughs / gross click-throughs) |
invalidClickThroughs | integer | Clicks that were removed by the traffic quality filter. This includes potentially fraudulent, non-human, and other illegitimate traffic |
invalidImpressionRate | bigdecimal | The percentage of gross impressions that were removed by the traffic quality filter. (Invalid impression rate = invalid impressions / gross impressions) |
invalidImpressions | integer | The number of impressions removed by a traffic quality filter. This includes potentially fraudulent, non-human, and other illegitimate traffic |
errorMessage | string | Error message if any problem happened |
Report_Consolidated_PurchasedProduct
Consolidated Report for Purchased Product v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): The date to retrieve the performance report for
<endDate> (optional): The date to retrieve the performance reports for multiple days till
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<target_table_Brands> (optional): Table name to save the data for Brands
<target_table_Display> (optional): Table name to save the data for Display
<target_table_Products> (optional): Table name to save the data for Products
<label> (optional): Multitenancy label
Attribute | Type | Description |
---|---|---|
report_source | string | Source report name |
profileId | long | Profile Id |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignName | string | The name associated with a campaign |
campaignId | long | The ID associated with a campaign |
adGroupName | string | The name of the ad group as entered by the advertiser |
adGroupId | long | Unique numerical ID of the ad group |
portfolioId | long | The portfolio the campaign is associated with |
keywordId | long | ID associated with a keyword or targeting expression |
matchType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For Sponsored Products reports, keywordType can also contain the type of targeting expressions, one of: TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
addToListFromViews | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view |
advertisedAsin | string | The ASIN associated to an advertised product |
advertisedSku | string | The SKU being advertised. Not available for vendors |
asinBrandHalo | string | Represents a product that was purchased after an ad click but has a different SKU/ASIN that what was advertised |
attributionType | string | Describes whether a purchase is attributed to a promoted product or brand-halo effect |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignPriceTypeCode | string | The code of the campaign cost type |
conversionsBrandHalo | integer | For Sponsored Display vCPM campaigns, the total number of attributed conversion events occurring within 14 days of an ad click or view where the purchased SKU was different from the SKU advertised |
conversionsBrandHaloClicks | integer | For Sponsored Display vCPM campaigns, the total number of attributed conversion events occurring within 14 days of an ad click or view where the purchased SKU was different from the SKU advertised |
keyword | string | Text of the keyword or a representation of the targeting expression (for Sponsored Products). For Sponsored Products targeting reports, the same value is returned in the targeting metric |
keywordType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For Sponsored Products reports, keywordType can also contain the type of targeting expressions, one of: TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
newToBrandPurchases14d | integer | The number of first-time orders for brand products over a one-year lookback window. Not available for book vendors |
newToBrandPurchasesPercentage14d | bigdecimal | The percentage of total orders that are new-to-brand orders within 14 days of an ad click. Not available for book vendors. |
newToBrandSales14d | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandSalesPercentage14d | bigdecimal | Percentage of total sales made up of new-to-brand purchases within 14 days of an ad click. Not available for book vendors. Same as newToBrandSalesPercentage |
newToBrandUnitsSold14d | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldPercentage14d | bigdecimal | Percentage of total attributed units ordered within 14 days of an ad click that are part of a new-to-brand purchase. Not available for book vendors. Same as newToBrandUnitsSoldPercentage |
orders14d | integer | Number of orders within the last 14 days. Includes orders attributed to both clicks and views for vCPM campaigns, but only sales attributed to clicks for CPC campaigns |
ordersClicks14d | integer | Number of orders within the last 14 days attributed to ad clicks |
productCategory | string | The category the product is associated with on Amazon |
productName | string | The name of the product |
promotedAsin | string | The ASIN associated to an advertised product |
promotedSku | string | The SKU being advertised. Not available for vendors |
purchasedAsin | string | The ASIN of the product that was purchased |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click. Sponsored Products only |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesOtherSku14d | integer | Number of attributed conversion events occurring within 14 days of an ad click where the SKU purchased was different that the advertised SKU |
purchasesOtherSku1d | integer | Number of attributed conversion events occurring within 1 day of an ad click where the SKU purchased was different that the advertised SKU |
purchasesOtherSku30d | integer | Number of attributed conversion events occurring within 30 days of an ad click where the SKU purchased was different that the advertised SKU |
purchasesOtherSku7d | integer | Number of attributed conversion events occurring within 7 days of an ad click where the SKU purchased was different that the advertised SKU |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromViews | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromViews | integer | Estimated royalty payment attributed to Kindle Unlimited users who viewed the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click. Includes sales attributed to both clicks and views for vCPM campaigns, but only sales attributed to clicks for CPC campaigns |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
salesBrandHalo | integer | For Sponsored Display vCPM campaigns, the total value of sales occurring within 14 days of an ad click or view where the purchased SKU was different from the SKU advertised |
salesBrandHaloClicks | integer | Total value of sales occurring within 14 days of an ad click where the purchased SKU was different from the SKU advertised |
salesClicks14d | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesOtherSku14d | bigdecimal | Total value of sales occurring within 14 days of an ad click where the purchased SKU was different from the SKU advertised |
salesOtherSku1d | bigdecimal | Total value of sales occurring within 1 day of an ad click where the purchased SKU was different from the SKU advertised |
salesOtherSku30d | bigdecimal | Total value of sales occurring within 30 days of an ad click where the purchased SKU was different from the SKU advertised |
salesOtherSku7d | bigdecimal | Total value of sales occurring within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSold14d | integer | Number of attributed units sold within 14 days of an click or view. Only valid for Sponsored Brands version 3 campaigns, not Sponsored Brands video or multi-ad group (version 4) campaigns. Includes sales attributed to both clicks and views for vCPM campaigns, but only sales attributed to clicks for CPC campaigns |
unitsSoldBrandHalo | integer | For Sponsored Display vCPM campaigns, the total number of units ordered within 14 days of an ad click or view where the purchased SKU was different from the SKU advertised. For CPC campaigns, this value is equal to attributedUnitsOrdered14dOtherSKU |
unitsSoldBrandHaloClicks | integer | Total number of units ordered within 14 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldClicks14d | integer | Total number of units sold within 14 days of an ad click |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldOtherSku14d | integer | Total number of units ordered within 14 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldOtherSku1d | integer | Total number of units ordered within 1 day of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldOtherSku30d | integer | Total number of units ordered within 30 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldOtherSku7d | integer | Total number of units ordered within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
errorMessage | string | Error message if any problem happened |
Report_Consolidated_SearchTerm
Consolidated Report for Search Term v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): The date to retrieve the performance report for
<endDate> (optional): The date to retrieve the performance reports for multiple days till
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<target_table_Brands> (optional): Table name to save the data for Brands
<target_table_Products> (optional): Table name to save the data for Products
<label> (optional): Multitenancy label
Attribute | Type | Description |
---|---|---|
report_source | string | Source report name |
profileId | long | Profile Id |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignName | string | The name associated with a campaign |
campaignId | long | The ID associated with a campaign |
campaignStatus | string | The status of a campaign |
campaignBudgetType | string | One of daily or lifetime |
adGroupName | string | The name of the ad group as entered by the advertiser |
adGroupId | long | Unique numerical ID of the ad group |
portfolioId | long | The portfolio the campaign is associated with |
keywordId | long | ID associated with a keyword or targeting expression |
keywordText | string | Text of the keyword. |
keywordBid | bigdecimal | Bid associated with a keyword or targeting expression |
matchType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For Sponsored Products reports, keywordType can also contain the type of targeting expressions, one of: TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
impressions | integer | Total number of ad impressions |
acosClicks14d | bigdecimal | Advertising cost of sales based on purchases made within 14 days of an ad click |
acosClicks7d | bigdecimal | Advertising cost of sales based on purchases made within 7 days of an ad click |
adKeywordStatus | string | Current status of a keyword |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
attributedSalesSameSku14d | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. Sponsored Products only |
attributedSalesSameSku1d | bigdecimal | Total value of sales occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku30d | bigdecimal | Total value of sales occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku7d | bigdecimal | Total value of sales occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
clickThroughRate | bigdecimal | Clicks divided by impressions |
costPerClick | bigdecimal | Total cost divided by total number of clicks |
costType | string | Determines how the campaign will bid and charge. One of vCPM (cost per thousand viewable impressions) or CPC (cost per click). |
keyword | string | Text of the keyword or a representation of the targeting expression (for Sponsored Products). For Sponsored Products targeting reports, the same value is returned in the targeting metric |
keywordType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For Sponsored Products reports, keywordType can also contain the type of targeting expressions, one of: TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click. Sponsored Products only |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesSameSku14d | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. Sponsored Products only. Same as puchasesPromoted |
purchasesSameSku1d | integer | Number of attributed conversion events occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku30d | integer | Number of attributed conversion events occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku7d | integer | Number of attributed conversion events occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
roasClicks14d | bigdecimal | Return on ad spend based on purchases made within 14 days of an ad click |
roasClicks7d | bigdecimal | Return on ad spend based on purchases made within 7 days of an ad click |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click. Includes sales attributed to both clicks and views for vCPM campaigns, but only sales attributed to clicks for CPC campaigns |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesOtherSku7d | bigdecimal | Total value of sales occurring within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
searchTerm | string | The search term used by the customer. Same as query |
targeting | string | A string representation of the expression object used in the targeting clause |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks14d | integer | Total number of units sold within 14 days of an ad click |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldOtherSku7d | integer | Total number of units ordered within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldSameSku14d | integer | Total number of units ordered within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku1d | integer | Total number of units ordered within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku30d | integer | Total number of units ordered within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku7d | integer | Total number of units ordered within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
video5SecondViewRate | bigdecimal | The percentage of impressions where the customer watched the complete video or 5 seconds of the video (whichever is shorter). Sponsored Brands video-only metric |
video5SecondViews | integer | The number of impressions where the customer watched the complete video or 5 seconds (whichever is shorter). Sponsored Brands video-only metric |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewClickThroughRate | bigdecimal | Click-through rate for views (clicks divided by views) |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
viewableImpressions | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
errorMessage | string | Error message if any problem happened |
Report_Consolidated_Targeting
Consolidated Report for Targeting v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): The date to retrieve the performance report for
<endDate> (optional): The date to retrieve the performance reports for multiple days till
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<target_table_Brands> (optional): Table name to save the data for Brands
<target_table_Display> (optional): Table name to save the data for Display
<target_table_Products> (optional): Table name to save the data for Products
<target_table_Television> (optional): Table name to save the data for Television
<label> (optional): Multitenancy label
Attribute | Type | Description |
---|---|---|
report_source | string | Source report name |
profileId | long | Profile Id |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignName | string | The name associated with a campaign |
campaignId | long | The ID associated with a campaign |
campaignStatus | string | The status of a campaign |
campaignBudgetType | string | One of daily or lifetime |
adGroupName | string | The name of the ad group as entered by the advertiser |
adGroupId | long | Unique numerical ID of the ad group |
portfolioId | long | The portfolio the campaign is associated with |
keywordId | long | ID associated with a keyword or targeting expression |
keywordText | string | Text of the keyword. |
keywordBid | bigdecimal | Bid associated with a keyword or targeting expression |
matchType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For Sponsored Products reports, keywordType can also contain the type of targeting expressions, one of: TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED |
targetingExpression | string | A string representation of the expression object used in the targeting clause |
targetingText | string | The text used in the targeting expression |
targetingType | string | The type of targeting used in the expression |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
impressions | integer | Total number of ad impressions |
acosClicks14d | bigdecimal | Advertising cost of sales based on purchases made within 14 days of an ad click |
acosClicks7d | bigdecimal | Advertising cost of sales based on purchases made within 7 days of an ad click |
adKeywordStatus | string | Current status of a keyword |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartRate | bigdecimal | Calculated by divididing addToCart by impressions |
addToCartViews | integer | Number of times shoppers added the brands' products to their cart, attributed to an ad view |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
addToListFromViews | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view |
attributedSalesSameSku14d | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. Sponsored Products only |
attributedSalesSameSku1d | bigdecimal | Total value of sales occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku30d | bigdecimal | Total value of sales occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku7d | bigdecimal | Total value of sales occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
brandedSearchRate | bigdecimal | Rate of Branded Searches relative to the number of impressions. (BS/Impressions) |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
brandedSearchesViews | integer | The number of times a branded keyword was searched on Amazon based on the brands associated to the featured ASINs in your campaign, attributed to an ad view |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
clickThroughRate | bigdecimal | Clicks divided by impressions |
costPerClick | bigdecimal | Total cost divided by total number of clicks |
costPerThousandImpressions | bigdecimal | The cost per thousand impressions |
costType | string | Determines how the campaign will bid and charge. One of vCPM (cost per thousand viewable impressions) or CPC (cost per click). |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
detailPageViewsViews | integer | The number of times a product detail page was viewed attributed to an ad view |
eCPAddToCart | bigdecimal | Effect cost per add to cart, calculated by cost divided by add-to-cart |
eCPBrandSearch | bigdecimal | Effective (average) cost to acquire a Branded Search |
impressionsViews | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
keyword | string | Text of the keyword or a representation of the targeting expression (for Sponsored Products). For Sponsored Products targeting reports, the same value is returned in the targeting metric |
keywordType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For Sponsored Products reports, keywordType can also contain the type of targeting expressions, one of: TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
leadFormOpens | integer | The number of times your lead forms were opened |
leads | integer | The number of leads collected through your lead generation campaigns |
linkOuts | integer | The number of times link-outs to landing page were clicked. |
newToBrandDetailPageViewClicks | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad click. |
newToBrandDetailPageViewRate | bigdecimal | Calculated by dividing newToBrandDetailPageViews / impressions |
newToBrandDetailPageViewViews | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad view |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewsClicks | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who clicked an ad |
newToBrandECPDetailPageView | bigdecimal | Effective cost per new-to-brand detail page view, calculated by cost divided by new-to-brand detail page view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandPurchasesPercentage | bigdecimal | The percentage of total orders that are new-to-brand orders within 14 days of an ad click. Not available for book vendors. |
newToBrandPurchasesRate | bigdecimal | The percentage of total orders that are new-to-brand orders. Not available for book vendors |
newToBrandPurchasesViews | integer | The number of new to branch purchases attributed to an ad view |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandSalesPercentage | bigdecimal | Percentage of total sales made up of new-to-brand purchases within 14 days of an ad click. Not available for book vendors. Same as newToBrandSalesPercentage14d |
newToBrandSalesViews | bigdecimal | Total value of sales by new to brand customers occurring within 14 days of an ad view. |
newToBrandUnitsSold | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldClicks | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSoldPercentage | bigdecimal | Percentage of total attributed units ordered within 14 days of an ad click that are part of a new-to-brand purchase. Not available for book vendors. Same as newToBrandUnitsSoldPercentage14d |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click. Sponsored Products only |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesPromoted | integer | Number of attributed conversion events occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as purchasesSameSku14d |
purchasesPromotedClicks | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku14d | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. Sponsored Products only. Same as puchasesPromoted |
purchasesSameSku1d | integer | Number of attributed conversion events occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku30d | integer | Number of attributed conversion events occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku7d | integer | Number of attributed conversion events occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesViews | integer | Number of attributed conversion events occurring within 14 days of an ad view |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromViews | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
roas | bigdecimal | Return on ad spend |
roasClicks14d | bigdecimal | Return on ad spend based on purchases made within 14 days of an ad click |
roasClicks7d | bigdecimal | Return on ad spend based on purchases made within 7 days of an ad click |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromViews | integer | Estimated royalty payment attributed to Kindle Unlimited users who viewed the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click. Includes sales attributed to both clicks and views for vCPM campaigns, but only sales attributed to clicks for CPC campaigns |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesOtherSku7d | bigdecimal | Total value of sales occurring within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
salesPromoted | bigdecimal | Total value of sales occurring within 14 days of ad click or view where the purchased SKU was the same as the SKU advertised. Same as attributedSales14dSameSKU |
salesPromotedClicks | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
salesViews | bigdecimal | Total value of sales occurring within 14 days of an ad view. |
targeting | string | A string representation of the expression object used in the targeting clause |
targetingId | long | The identifier of the targeting expression |
topOfSearchImpressionShare | bigdecimal | The percentage of top-of-search impressions earned out of all the top-of-search impressions that were eligible for a given date range. Various factors determine the eligibility for an impression including campaign status and targeting status |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
unitsSoldClicks14d | integer | Total number of units sold within 14 days of an ad click |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldOtherSku7d | integer | Total number of units ordered within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldSameSku14d | integer | Total number of units ordered within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku1d | integer | Total number of units ordered within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku30d | integer | Total number of units ordered within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku7d | integer | Total number of units ordered within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldViews | integer | Number of attributed units sold within 14 days of an ad view |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewClickThroughRate | bigdecimal | Click-through rate for views (clicks divided by views) |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
errorMessage | string | Error message if any problem happened |
Report_Display_AdGroup
Sponsored Display : Ad Group Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: adGroup,matchedTarget
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartRate | bigdecimal | Calculated by divididing addToCart by impressions |
addToCartViews | integer | Number of times shoppers added the brands' products to their cart, attributed to an ad view |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
addToListFromViews | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view |
bidOptimization | string | Bid optimization for Sponsored Display ad groups. For vCPM campaigns, the value is always reach. For CPC campaigns, value is either clicks or conversions |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
brandedSearchesViews | integer | The number of times a branded keyword was searched on Amazon based on the brands associated to the featured ASINs in your campaign, attributed to an ad view |
brandedSearchRate | bigdecimal | Rate of Branded Searches relative to the number of impressions. (BS/Impressions) |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
cumulativeReach | integer | Total unduplicated audience reached |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
eCPAddToCart | bigdecimal | Effect cost per add to cart, calculated by cost divided by add-to-cart |
eCPBrandSearch | bigdecimal | Effective (average) cost to acquire a Branded Search |
impressions | integer | Total number of ad impressions |
impressionsFrequencyAverage | bigdecimal | Average number of times unique users were exposed to an ad over the lifetime of the campaign |
impressionsViews | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
leadFormOpens | integer | The number of times your lead forms were opened |
leads | integer | The number of leads collected through your lead generation campaigns |
linkOuts | integer | The number of times link-outs to landing page were clicked. |
matchedTargetAsin | string | The ASIN associated with the product page where a Sponsored Display ad appeared |
newToBrandDetailPageViewClicks | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad click. |
newToBrandDetailPageViewRate | bigdecimal | Calculated by dividing newToBrandDetailPageViews / impressions |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewViews | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad view |
newToBrandECPDetailPageView | bigdecimal | Effective cost per new-to-brand detail page view, calculated by cost divided by new-to-brand detail page view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSold | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldClicks | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesPromotedClicks | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromViews | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromViews | integer | Estimated royalty payment attributed to Kindle Unlimited users who viewed the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesPromotedClicks | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
viewClickThroughRate | bigdecimal | Click-through rate for views (clicks divided by views) |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Display_AdGroup AS
SELECT *
FROM (
CALL amazon_ads.Report_Display_AdGroup (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Display_AdvertisedProducts
Sponsored Display : Advertised Products Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: advertiser
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
adId | long | Unique numerical ID of the ad |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartRate | bigdecimal | Calculated by divididing addToCart by impressions |
addToCartViews | integer | Number of times shoppers added the brands' products to their cart, attributed to an ad view |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
addToListFromViews | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view |
bidOptimization | string | Bid optimization for Sponsored Display ad groups. For vCPM campaigns, the value is always reach. For CPC campaigns, value is either clicks or conversions |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
brandedSearchesViews | integer | The number of times a branded keyword was searched on Amazon based on the brands associated to the featured ASINs in your campaign, attributed to an ad view |
brandedSearchRate | bigdecimal | Rate of Branded Searches relative to the number of impressions. (BS/Impressions) |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
cumulativeReach | integer | Total unduplicated audience reached |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
eCPAddToCart | bigdecimal | Effect cost per add to cart, calculated by cost divided by add-to-cart |
eCPBrandSearch | bigdecimal | Effective (average) cost to acquire a Branded Search |
impressions | integer | Total number of ad impressions |
impressionsFrequencyAverage | bigdecimal | Average number of times unique users were exposed to an ad over the lifetime of the campaign |
impressionsViews | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
leadFormOpens | integer | The number of times your lead forms were opened |
leads | integer | The number of leads collected through your lead generation campaigns |
linkOuts | integer | The number of times link-outs to landing page were clicked. |
newToBrandDetailPageViewClicks | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad click. |
newToBrandDetailPageViewRate | bigdecimal | Calculated by dividing newToBrandDetailPageViews / impressions |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewViews | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad view |
newToBrandECPDetailPageView | bigdecimal | Effective cost per new-to-brand detail page view, calculated by cost divided by new-to-brand detail page view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSold | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldClicks | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
promotedAsin | string | The ASIN associated to an advertised product |
promotedSku | string | The SKU being advertised. Not available for vendors |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesPromotedClicks | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromViews | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromViews | integer | Estimated royalty payment attributed to Kindle Unlimited users who viewed the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesPromotedClicks | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
viewClickThroughRate | bigdecimal | Click-through rate for views (clicks divided by views) |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Display_AdvertisedProducts AS
SELECT *
FROM (
CALL amazon_ads.Report_Display_AdvertisedProducts (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Display_Campaigns
Sponsored Display : Campaigns Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: campaign,matchedTarget
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartRate | bigdecimal | Calculated by divididing addToCart by impressions |
addToCartViews | integer | Number of times shoppers added the brands' products to their cart, attributed to an ad view |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
addToListFromViews | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
brandedSearchesViews | integer | The number of times a branded keyword was searched on Amazon based on the brands associated to the featured ASINs in your campaign, attributed to an ad view |
brandedSearchRate | bigdecimal | Rate of Branded Searches relative to the number of impressions. (BS/Impressions) |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
costType | string | Determines how the campaign will bid and charge. One of vCPM (cost per thousand viewable impressions) or CPC (cost per click). |
cumulativeReach | integer | Total unduplicated audience reached |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
eCPAddToCart | bigdecimal | Effect cost per add to cart, calculated by cost divided by add-to-cart |
eCPBrandSearch | bigdecimal | Effective (average) cost to acquire a Branded Search |
impressions | integer | Total number of ad impressions |
impressionsFrequencyAverage | bigdecimal | Average number of times unique users were exposed to an ad over the lifetime of the campaign |
impressionsViews | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
leadFormOpens | integer | The number of times your lead forms were opened |
leads | integer | The number of leads collected through your lead generation campaigns |
linkOuts | integer | The number of times link-outs to landing page were clicked. |
matchedTargetAsin | string | The ASIN associated with the product page where a Sponsored Display ad appeared |
newToBrandDetailPageViewClicks | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad click. |
newToBrandDetailPageViewRate | bigdecimal | Calculated by dividing newToBrandDetailPageViews / impressions |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewViews | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad view |
newToBrandECPDetailPageView | bigdecimal | Effective cost per new-to-brand detail page view, calculated by cost divided by new-to-brand detail page view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSold | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldClicks | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesPromotedClicks | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromViews | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromViews | integer | Estimated royalty payment attributed to Kindle Unlimited users who viewed the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesPromotedClicks | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
viewClickThroughRate | bigdecimal | Click-through rate for views (clicks divided by views) |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Display_Campaigns AS
SELECT *
FROM (
CALL amazon_ads.Report_Display_Campaigns (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Display_GrossAndInvalids
Sponsored Display : Gross And Invalids Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: campaign
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
clicks | integer | Total number of clicks on an ad |
grossClickThroughs | integer | The total number of times the ad was clicked. This includes valid, potentially fraudulent, non-human, and other illegitimate clicks |
grossImpressions | integer | The total number of times the ad was displayed. This includes valid and invalid impressions such as potentially fraudulent, non-human, and other illegitimate impressions |
impressions | integer | Total number of ad impressions |
invalidClickThroughRate | bigdecimal | The percentage of gross click-throughs that were removed by the traffic quality filter. (Invalid click-throughs rate = invalid click-throughs / gross click-throughs) |
invalidClickThroughs | integer | Clicks that were removed by the traffic quality filter. This includes potentially fraudulent, non-human, and other illegitimate traffic |
invalidImpressionRate | bigdecimal | The percentage of gross impressions that were removed by the traffic quality filter. (Invalid impression rate = invalid impressions / gross impressions) |
invalidImpressions | integer | The number of impressions removed by a traffic quality filter. This includes potentially fraudulent, non-human, and other illegitimate traffic |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Display_GrossAndInvalids AS
SELECT *
FROM (
CALL amazon_ads.Report_Display_GrossAndInvalids (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Products_PurchasedProducts
Deprecated Sponsored Products : Purchased Products Report V3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
advertisedAsin | string | The ASIN associated to an advertised product |
advertisedSku | string | The SKU being advertised. Not available for vendors |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
keyword | string | Text of the keyword or a representation of the targeting expression. For targets, the same value is returned in the targeting metric |
keywordId | long | ID associated with a keyword or targeting expression |
keywordType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For targeting expressions, one of TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED. Same as matchType |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
matchType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For targeting expressions, one of TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED. Same as keywordType |
portfolioId | long | The portfolio the campaign is associated with |
purchasedAsin | string | The ASIN of the product that was purchased |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesOtherSku14d | integer | Number of attributed conversion events occurring within 14 days of an ad click where the SKU purchased was different that the advertised SKU |
purchasesOtherSku1d | integer | Number of attributed conversion events occurring within 1 day of an ad click where the SKU purchased was different that the advertised SKU |
purchasesOtherSku30d | integer | Number of attributed conversion events occurring within 30 days of an ad click where the SKU purchased was different that the advertised SKU |
purchasesOtherSku7d | integer | Number of attributed conversion events occurring within 7 days of an ad click where the SKU purchased was different that the advertised SKU |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
salesOtherSku14d | bigdecimal | Total value of sales occurring within 14 days of an ad click where the purchased SKU was different from the SKU advertised |
salesOtherSku1d | bigdecimal | Total value of sales occurring within 1 day of an ad click where the purchased SKU was different from the SKU advertised |
salesOtherSku30d | bigdecimal | Total value of sales occurring within 30 days of an ad click where the purchased SKU was different from the SKU advertised |
salesOtherSku7d | bigdecimal | Total value of sales occurring within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldClicks14d | integer | Total number of units ordered within 14 days of an ad click. Same as unitsSold14d |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldOtherSku14d | integer | Total number of units ordered within 14 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldOtherSku1d | integer | Total number of units ordered within 1 day of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldOtherSku30d | integer | Total number of units ordered within 30 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldOtherSku7d | integer | Total number of units ordered within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Display_PurchasedProducts AS
SELECT *
FROM (
CALL amazon_ads.Report_Products_PurchasedProducts_v3 (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Products_SearchTerms
Deprecated Sponsored Products : Search Term Report V3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
acosClicks14d | bigdecimal | Advertising cost of sales based on purchases made within 14 days of an ad click |
acosClicks7d | bigdecimal | Advertising cost of sales based on purchases made within 7 days of an ad click |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
adKeywordStatus | string | Current status of a keyword |
attributedSalesSameSku14d | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku1d | bigdecimal | Total value of sales occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku30d | bigdecimal | Total value of sales occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku7d | bigdecimal | Total value of sales occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignBudgetType | string | One of daily or lifetime |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
clicks | integer | Total number of ad clicks |
clickThroughRate | bigdecimal | Clicks divided by impressions |
cost | bigdecimal | Total cost of ad clicks. Same as spend |
costPerClick | bigdecimal | Total cost divided by total number of clicks |
impressions | integer | Total number of ad impressions |
keyword | string | Text of the keyword or a representation of the targeting expression. For targets, the same value is returned in the targeting metric |
keywordBid | bigdecimal | Bid associated with a keyword or targeting expression |
keywordId | long | ID associated with a keyword or targeting expression |
keywordType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For targeting expressions, one of TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED. Same as matchType |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
matchType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For targeting expressions, one of TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED. Same as keywordType |
portfolioId | long | The portfolio the campaign is associated with |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesSameSku14d | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku1d | integer | Number of attributed conversion events occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku30d | integer | Number of attributed conversion events occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku7d | integer | Number of attributed conversion events occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
roasClicks14d | bigdecimal | Return on ad spend based on purchases made within 14 days of an ad click |
roasClicks7d | bigdecimal | Return on ad spend based on purchases made within 7 days of an ad click |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
salesOtherSku7d | bigdecimal | Total value of sales occurring within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
searchTerm | string | The search term used by the customer |
targeting | string | A string representation of the expression object used in the targeting clause. The targeting expression is also returned in keyword |
unitsSoldClicks14d | integer | Total number of units ordered within 14 days of an ad click. Same as unitsSold14d |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldOtherSku7d | integer | Total number of units ordered within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldSameSku14d | integer | Total number of units ordered within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku1d | integer | Total number of units ordered within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku30d | integer | Total number of units ordered within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku7d | integer | Total number of units ordered within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Products_SearchTerms AS
SELECT *
FROM (
CALL amazon_ads.Report_Products_SearchTerms_v3 (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Display_Targeting
Sponsored Display : Targeting Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: targeting,matchedTarget
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartRate | bigdecimal | Calculated by divididing addToCart by impressions |
addToCartViews | integer | Number of times shoppers added the brands' products to their cart, attributed to an ad view |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
addToListFromClicks | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad click |
addToListFromViews | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view |
adKeywordStatus | string | Current status of a keyword |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
brandedSearchesViews | integer | The number of times a branded keyword was searched on Amazon based on the brands associated to the featured ASINs in your campaign, attributed to an ad view |
brandedSearchRate | bigdecimal | Rate of Branded Searches relative to the number of impressions. (BS/Impressions) |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
clicks | integer | Total number of clicks on an ad |
cost | bigdecimal | Total cost of ad clicks |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
eCPAddToCart | bigdecimal | Effect cost per add to cart, calculated by cost divided by add-to-cart |
eCPBrandSearch | bigdecimal | Effective (average) cost to acquire a Branded Search |
impressions | integer | Total number of ad impressions |
impressionsViews | integer | Number of impressions that met the Media Ratings Council (MRC) viewability standard. See viewability details at |
leadFormOpens | integer | The number of times your lead forms were opened |
leads | integer | The number of leads collected through your lead generation campaigns |
linkOuts | integer | The number of times link-outs to landing page were clicked. |
matchedTargetAsin | string | The ASIN associated with the product page where a Sponsored Display ad appeared |
newToBrandDetailPageViewClicks | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad click. |
newToBrandDetailPageViewRate | bigdecimal | Calculated by dividing newToBrandDetailPageViews / impressions |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewViews | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad view |
newToBrandECPDetailPageView | bigdecimal | Effective cost per new-to-brand detail page view, calculated by cost divided by new-to-brand detail page view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandUnitsSold | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandUnitsSoldClicks | integer | Total number of attributed units ordered as part of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesPromotedClicks | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromClicks | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
qualifiedBorrowsFromViews | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromClicks | integer | Estimated royalty payment attributed to Kindle Unlimited users who clicked on the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
royaltyQualifiedBorrowsFromViews | integer | Estimated royalty payment attributed to Kindle Unlimited users who viewed the ad, downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesPromotedClicks | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
targetingExpression | string | A string representation of the expression object used in the targeting clause |
targetingId | long | The identifier of the targeting expression |
targetingText | string | The text used in the targeting expression |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
videoUnmutes | integer | The number of impressions where a customer unmuted the video |
viewabilityRate | bigdecimal | View-through rate (vtr). Views divided by impressions |
viewClickThroughRate | bigdecimal | Click-through rate for views (clicks divided by views) |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Display_Targeting AS
SELECT *
FROM (
CALL amazon_ads.Report_Display_Targeting (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Products_AdvertisedProducts
Deprecated Sponsored Products : Advertised Products Report V3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
acosClicks14d | bigdecimal | Advertising cost of sales based on purchases made within 14 days of an ad click |
acosClicks7d | bigdecimal | Advertising cost of sales based on purchases made within 7 days of an ad click |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
adId | long | Unique numerical ID of the ad |
advertisedAsin | string | The ASIN associated to an advertised product |
advertisedSku | string | The SKU being advertised. Not available for vendors |
attributedSalesSameSku14d | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku1d | bigdecimal | Total value of sales occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku30d | bigdecimal | Total value of sales occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku7d | bigdecimal | Total value of sales occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignBudgetType | string | One of daily or lifetime |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
clicks | integer | Total number of ad clicks |
clickThroughRate | bigdecimal | Clicks divided by impressions |
cost | bigdecimal | Total cost of ad clicks. Same as spend |
costPerClick | bigdecimal | Total cost divided by total number of clicks |
impressions | integer | Total number of ad impressions |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
portfolioId | long | The portfolio the campaign is associated with |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesSameSku14d | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku1d | integer | Number of attributed conversion events occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku30d | integer | Number of attributed conversion events occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku7d | integer | Number of attributed conversion events occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
roasClicks14d | bigdecimal | Return on ad spend based on purchases made within 14 days of an ad click |
roasClicks7d | bigdecimal | Return on ad spend based on purchases made within 7 days of an ad click |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
salesOtherSku7d | bigdecimal | Total value of sales occurring within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
spend | bigdecimal | Total cost of ad clicks. Same as cost |
unitsSoldClicks14d | integer | Total number of units ordered within 14 days of an ad click. Same as unitsSold14d |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldOtherSku7d | integer | Total number of units ordered within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldSameSku14d | integer | Total number of units ordered within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku1d | integer | Total number of units ordered within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku30d | integer | Total number of units ordered within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku7d | integer | Total number of units ordered within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
errorMessage | string | Error message if any problem happened |
Example
CREATE VIEW amazon_ads_examples.example_Report_Products_AdvertisedProducts AS
SELECT *
FROM (
CALL amazon_ads.Report_Products_AdvertisedProducts_v3 (
groupBy => NULL,
startDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
endDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x
Report_Products_AdvertisedProducts_v3
Sponsored Products : Advertised Products Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: advertiser
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
portfolioId | long | The portfolio the campaign is associated with |
adId | long | Unique numerical ID of the ad |
acosClicks14d | bigdecimal | Advertising cost of sales based on purchases made within 14 days of an ad click |
acosClicks7d | bigdecimal | Advertising cost of sales based on purchases made within 7 days of an ad click |
addToList | integer | Number of times shoppers added a promoted product to a wish list, gift list, or registry, attributed to an ad view or click. Use Total ATL to see all conversions for the brands' products |
advertisedAsin | string | The ASIN associated to an advertised product |
advertisedSku | string | The SKU being advertised. Not available for vendors |
attributedSalesSameSku14d | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. Sponsored Products only |
attributedSalesSameSku1d | bigdecimal | Total value of sales occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku30d | bigdecimal | Total value of sales occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku7d | bigdecimal | Total value of sales occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignBudgetType | string | One of daily or lifetime |
clicks | integer | Total number of clicks on an ad |
clickThroughRate | bigdecimal | Clicks divided by impressions |
cost | bigdecimal | Total cost of ad clicks |
costPerClick | bigdecimal | Total cost divided by total number of clicks |
impressions | integer | Total number of ad impressions |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click. Sponsored Products only |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesSameSku14d | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised. Sponsored Products only. Same as puchasesPromoted |
purchasesSameSku1d | integer | Number of attributed conversion events occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku30d | integer | Number of attributed conversion events occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku7d | integer | Number of attributed conversion events occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
qualifiedBorrows | integer | Number of Kindle Unlimited users who have downloaded the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
roasClicks14d | bigdecimal | Return on ad spend based on purchases made within 14 days of an ad click |
roasClicks7d | bigdecimal | Return on ad spend based on purchases made within 7 days of an ad click |
royaltyQualifiedBorrows | integer | Estimated royalty payment attributed to Kindle Unlimited users downloading the book due to ad exposure, during the attribution window, and have read a percent of the book within the window, triggering a royalty payment. Relevant to book advertisers only |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click. Includes sales attributed to both clicks and views for vCPM campaigns, but only sales attributed to clicks for CPC campaigns |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
salesOtherSku7d | bigdecimal | Total value of sales occurring within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
spend | bigdecimal | Total cost of ad clicks |
unitsSoldClicks14d | integer | Total number of units sold within 14 days of an ad click |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldOtherSku7d | integer | Total number of units ordered within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldSameSku14d | integer | Total number of units ordered within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku1d | integer | Total number of units ordered within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku30d | integer | Total number of units ordered within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku7d | integer | Total number of units ordered within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
errorMessage | string | Error message if any problem happened |
Report_Products_Campaigns
Deprecated Sponsored Products : Campaigns Report V3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<reportId> (optional): Id of the report to parse
<groupBy> (optional): Group by one of the following values: campaign, adGroup, campaignPlacement
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
adStatus | string | Status of the ad group |
attributedSalesSameSku14d | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku1d | bigdecimal | Total value of sales occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku30d | bigdecimal | Total value of sales occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku7d | bigdecimal | Total value of sales occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
campaignApplicableBudgetRuleId | string | The ID associated to the active budget rule for a campaign |
campaignApplicableBudgetRuleName | string | The name associated to the active budget rule for a campaign |
campaignBiddingStrategy | string | The bidding strategy associated with a campaign |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignBudgetType | string | One of daily or lifetime |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignRuleBasedBudgetAmount | bigdecimal | The value of the rule-based budget for a campaign |
campaignStatus | string | The status of a campaign |
clicks | integer | Total number of ad clicks |
clickThroughRate | bigdecimal | Clicks divided by impressions |
cost | bigdecimal | Total cost of ad clicks. Same as spend |
costPerClick | bigdecimal | Total cost divided by total number of clicks |
impressions | integer | Total number of ad impressions |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
placementClassification | string | The page location where an ad appeared |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesSameSku14d | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku1d | integer | Number of attributed conversion events occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku30d | integer | Number of attributed conversion events occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku7d | integer | Number of attributed conversion events occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
spend | bigdecimal | Total cost of ad clicks. Same as cost |
topOfSearchImpressionShare | bigdecimal | The percentage of top-of-search impressions earned out of all the top-of-search impressions that were eligible for a given date range. Various factors determine the eligibility for an impression including campaign status and targeting status |
unitsSoldClicks14d | integer | Total number of units ordered within 14 days of an ad click. Same as unitsSold14d |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldSameSku14d | integer | Total number of units ordered within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku1d | integer | Total number of units ordered within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku30d | integer | Total number of units ordered within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku7d | integer | Total number of units ordered within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
errorMessage | string | Error message if any problem happened |
Example
CREATE VIEW amazon_ads_examples.example_Report_Products_Campaigns AS
SELECT *
FROM (
CALL amazon_ads.Report_Products_Campaigns_v3 (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Products_GrossAndInvalids
Sponsored Products : Gross And Invalids Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: campaign
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
clicks | integer | Total number of clicks on an ad |
grossClickThroughs | integer | The total number of times the ad was clicked. This includes valid, potentially fraudulent, non-human, and other illegitimate clicks |
grossImpressions | integer | The total number of times the ad was displayed. This includes valid and invalid impressions such as potentially fraudulent, non-human, and other illegitimate impressions |
impressions | integer | Total number of ad impressions |
invalidClickThroughRate | bigdecimal | The percentage of gross click-throughs that were removed by the traffic quality filter. (Invalid click-throughs rate = invalid click-throughs / gross click-throughs) |
invalidClickThroughs | integer | Clicks that were removed by the traffic quality filter. This includes potentially fraudulent, non-human, and other illegitimate traffic |
invalidImpressionRate | bigdecimal | The percentage of gross impressions that were removed by the traffic quality filter. (Invalid impression rate = invalid impressions / gross impressions) |
invalidImpressions | integer | The number of impressions removed by a traffic quality filter. This includes potentially fraudulent, non-human, and other illegitimate traffic |
errorMessage | string | Error message if any problem happened |
CCREATE VIEW amazon_ads_examples.example_Report_Products_GrossAndInvalids AS
SELECT *
FROM (
CALL amazon_ads.Report_Products_GrossAndInvalids (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Products_PurchasedProducts
Sponsored Products : Purchased Products Report v.3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
advertisedAsin | string | The ASIN associated to an advertised product |
advertisedSku | string | The SKU being advertised. Not available for vendors |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
keyword | string | Text of the keyword or a representation of the targeting expression. For targets, the same value is returned in the targeting metric |
keywordId | long | ID associated with a keyword or targeting expression |
keywordType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For targeting expressions, one of TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED. Same as matchType |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
matchType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For targeting expressions, one of TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED. Same as keywordType |
portfolioId | long | The portfolio the campaign is associated with |
purchasedAsin | string | The ASIN of the product that was purchased |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesOtherSku14d | integer | Number of attributed conversion events occurring within 14 days of an ad click where the SKU purchased was different that the advertised SKU |
purchasesOtherSku1d | integer | Number of attributed conversion events occurring within 1 day of an ad click where the SKU purchased was different that the advertised SKU |
purchasesOtherSku30d | integer | Number of attributed conversion events occurring within 30 days of an ad click where the SKU purchased was different that the advertised SKU |
purchasesOtherSku7d | integer | Number of attributed conversion events occurring within 7 days of an ad click where the SKU purchased was different that the advertised SKU |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
salesOtherSku14d | bigdecimal | Total value of sales occurring within 14 days of an ad click where the purchased SKU was different from the SKU advertised |
salesOtherSku1d | bigdecimal | Total value of sales occurring within 1 day of an ad click where the purchased SKU was different from the SKU advertised |
salesOtherSku30d | bigdecimal | Total value of sales occurring within 30 days of an ad click where the purchased SKU was different from the SKU advertised |
salesOtherSku7d | bigdecimal | Total value of sales occurring within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldClicks14d | integer | Total number of units ordered within 14 days of an ad click. Same as unitsSold14d |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldOtherSku14d | integer | Total number of units ordered within 14 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldOtherSku1d | integer | Total number of units ordered within 1 day of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldOtherSku30d | integer | Total number of units ordered within 30 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldOtherSku7d | integer | Total number of units ordered within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
errorMessage | string | Error message if any problem happened |
Example
CREATE VIEW amazon_ads_examples.example_Report_Products_PurchasedProducts AS
SELECT *
FROM (
CALL amazon_ads.Report_Products_PurchasedProducts (
groupBy => NULL,
startDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
endDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x
Report_Products_SearchTerms
Deprecated Sponsored Products : Search Term Report V3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
acosClicks14d | bigdecimal | Advertising cost of sales based on purchases made within 14 days of an ad click |
acosClicks7d | bigdecimal | Advertising cost of sales based on purchases made within 7 days of an ad click |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
adKeywordStatus | string | Current status of a keyword |
attributedSalesSameSku14d | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku1d | bigdecimal | Total value of sales occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku30d | bigdecimal | Total value of sales occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku7d | bigdecimal | Total value of sales occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignBudgetType | string | One of daily or lifetime |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
clicks | integer | Total number of ad clicks |
clickThroughRate | bigdecimal | Clicks divided by impressions |
cost | bigdecimal | Total cost of ad clicks. Same as spend |
costPerClick | bigdecimal | Total cost divided by total number of clicks |
impressions | integer | Total number of ad impressions |
keyword | string | Text of the keyword or a representation of the targeting expression. For targets, the same value is returned in the targeting metric |
keywordBid | bigdecimal | Bid associated with a keyword or targeting expression |
keywordId | long | ID associated with a keyword or targeting expression |
keywordType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For targeting expressions, one of TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED. Same as matchType |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
matchType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For targeting expressions, one of TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED. Same as keywordType |
portfolioId | long | The portfolio the campaign is associated with |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesSameSku14d | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku1d | integer | Number of attributed conversion events occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku30d | integer | Number of attributed conversion events occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku7d | integer | Number of attributed conversion events occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
roasClicks14d | bigdecimal | Return on ad spend based on purchases made within 14 days of an ad click |
roasClicks7d | bigdecimal | Return on ad spend based on purchases made within 7 days of an ad click |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
salesOtherSku7d | bigdecimal | Total value of sales occurring within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
searchTerm | string | The search term used by the customer |
targeting | string | A string representation of the expression object used in the targeting clause. The targeting expression is also returned in keyword |
unitsSoldClicks14d | integer | Total number of units ordered within 14 days of an ad click. Same as unitsSold14d |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldOtherSku7d | integer | Total number of units ordered within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldSameSku14d | integer | Total number of units ordered within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku1d | integer | Total number of units ordered within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku30d | integer | Total number of units ordered within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku7d | integer | Total number of units ordered within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
errorMessage | string | Error message if any problem happened |
Example
CREATE VIEW amazon_ads_examples.example_Report_Products_SearchTerms AS
SELECT *
FROM (
CALL amazon_ads.Report_Products_SearchTerms_v3 (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Products_Targeting
Sponsored Products : Targeting Report V3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
acosClicks14d | bigdecimal | Advertising cost of sales based on purchases made within 14 days of an ad click |
acosClicks7d | bigdecimal | Advertising cost of sales based on purchases made within 7 days of an ad click |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
adKeywordStatus | string | Current status of a keyword |
attributedSalesSameSku14d | bigdecimal | Total value of sales occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku1d | bigdecimal | Total value of sales occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku30d | bigdecimal | Total value of sales occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
attributedSalesSameSku7d | bigdecimal | Total value of sales occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignBudgetType | string | One of daily or lifetime |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
clicks | integer | Total number of ad clicks |
clickThroughRate | bigdecimal | Clicks divided by impressions |
cost | bigdecimal | Total cost of ad clicks. Same as spend |
costPerClick | bigdecimal | Total cost divided by total number of clicks |
impressions | integer | Total number of ad impressions |
keyword | string | Text of the keyword or a representation of the targeting expression. For targets, the same value is returned in the targeting metric |
keywordBid | bigdecimal | Bid associated with a keyword or targeting expression |
keywordId | long | ID associated with a keyword or targeting expression |
keywordType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For targeting expressions, one of TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED. Same as matchType |
kindleEditionNormalizedPagesRead14d | integer | Number of attributed Kindle edition normalized pages read within 14 days of ad click |
kindleEditionNormalizedPagesRoyalties14d | bigdecimal | The estimated royalties of attributed estimated Kindle edition normalized pages within 14 days of ad click |
matchType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For targeting expressions, one of TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED. Same as keywordType |
portfolioId | long | The portfolio the campaign is associated with |
purchases14d | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchases1d | integer | Number of attributed conversion events occurring within 1 day of an ad click |
purchases30d | integer | Number of attributed conversion events occurring within 30 days of an ad click |
purchases7d | integer | Number of attributed conversion events occurring within 7 days of an ad click |
purchasesSameSku14d | integer | Number of attributed conversion events occurring within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku1d | integer | Number of attributed conversion events occurring within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku30d | integer | Number of attributed conversion events occurring within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
purchasesSameSku7d | integer | Number of attributed conversion events occurring within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
roasClicks14d | bigdecimal | Return on ad spend based on purchases made within 14 days of an ad click |
roasClicks7d | bigdecimal | Return on ad spend based on purchases made within 7 days of an ad click |
sales14d | bigdecimal | Total value of sales occurring within 14 days of an ad click |
sales1d | bigdecimal | Total value of sales occurring within 1 day of an ad click |
sales30d | bigdecimal | Total value of sales occurring within 30 days of an ad click |
sales7d | bigdecimal | Total value of sales occurring within 7 days of an ad click |
salesOtherSku7d | bigdecimal | Total value of sales occurring within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
targeting | string | A string representation of the expression object used in the targeting clause. The targeting expression is also returned in keyword |
topOfSearchImpressionShare | bigdecimal | The percentage of top-of-search impressions earned out of all the top-of-search impressions that were eligible for a given data range |
unitsSoldClicks14d | integer | Total number of units ordered within 14 days of an ad click. Same as unitsSold14d |
unitsSoldClicks1d | integer | Total number of units ordered within 1 day of an ad click |
unitsSoldClicks30d | integer | Total number of units ordered within 30 days of an ad click |
unitsSoldClicks7d | integer | Total number of units ordered within 7 days of an ad click |
unitsSoldOtherSku7d | integer | Total number of units ordered within 7 days of an ad click where the purchased SKU was different from the SKU advertised |
unitsSoldSameSku14d | integer | Total number of units ordered within 14 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku1d | integer | Total number of units ordered within 1 day of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku30d | integer | Total number of units ordered within 30 days of ad click where the purchased SKU was the same as the SKU advertised |
unitsSoldSameSku7d | integer | Total number of units ordered within 7 days of ad click where the purchased SKU was the same as the SKU advertised |
errorMessage | string | Error message if any problem happened |
Example
CREATE VIEW amazon_ads_examples.example_Report_Products_Targeting AS
SELECT *
FROM (
CALL amazon_ads.Report_Products_Targeting (
groupBy => NULL,
startDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
endDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x
Report_Television_Campaigns
Sponsored Television : Campaigns Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: campaign,adGroup
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
portfolioId | long | The portfolio the campaign is associated with |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartViews | integer | Number of times shoppers added the brands' products to their cart, attributed to an ad view |
adStatus | string | Status of the ad group. |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
brandedSearchesViews | integer | The number of times a branded keyword was searched on Amazon based on the brands associated to the featured ASINs in your campaign, attributed to an ad view |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignBudgetType | string | One of daily or lifetime |
clicks | integer | Total number of clicks on an ad |
clickThroughRate | bigdecimal | Clicks divided by impressions |
cost | bigdecimal | Total cost of ad clicks |
costPerThousandImpressions | bigdecimal | The cost per thousand impressions |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
detailPageViewsViews | integer | The number of times a product detail page was viewed attributed to an ad view |
impressions | integer | Total number of ad impressions |
newToBrandDetailPageViewClicks | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad click. |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewViews | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandPurchasesViews | integer | The number of new to branch purchases attributed to an ad view |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandSalesViews | bigdecimal | Total value of sales by new to brand customers occurring within 14 days of an ad view. |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesViews | integer | Number of attributed conversion events occurring within 14 days of an ad view |
roas | bigdecimal | Return on ad spend |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesViews | bigdecimal | Total value of sales occurring within 14 days of an ad view. |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
unitsSoldViews | integer | Number of attributed units sold within 14 days of an ad view |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Television_Campaigns AS
SELECT *
FROM (
CALL amazon_ads.Report_Television_Campaigns (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;;
Report_Television_Targeting
Sponsored Television : Targeting Report v3
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for those profiles with the mentioned in CSV list account Ids
<startDate> (optional): Start date
<endDate> (optional): End date
<groupBy> (optional): Group by one of the following values: campaign,adGroup,targeting
<reportId> (optional): Id of the report to parse
<days_step> (optional): Number of days to query in a single batch
<days_redownload> (optional): Number of days to redownload
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
date | date | Date when the ad activity ocurred in the format YYYY-MM-DD |
campaignId | long | The ID associated with a campaign |
campaignName | string | The name associated with a campaign |
campaignStatus | string | The status of a campaign |
adGroupId | long | Unique numerical ID of the ad group |
adGroupName | string | The name of the ad group as entered by the advertiser |
keywordId | long | ID associated with a keyword or targeting expression |
keywordType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For Sponsored Products reports, keywordType can also contain the type of targeting expressions, one of: TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED |
portfolioId | long | The portfolio the campaign is associated with |
addToCart | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad view or click |
addToCartClicks | integer | Number of times shoppers added a brand's products to their cart, attributed to an ad click |
addToCartViews | integer | Number of times shoppers added the brands' products to their cart, attributed to an ad view |
adKeywordStatus | string | Current status of a keyword |
adStatus | string | Status of the ad group. |
brandedSearches | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click or view |
brandedSearchesClicks | integer | The number of searches that included the name of your brand occurring within 14 days of an ad click |
brandedSearchesViews | integer | The number of times a branded keyword was searched on Amazon based on the brands associated to the featured ASINs in your campaign, attributed to an ad view |
campaignBudgetAmount | bigdecimal | Total budget allocated to the campaign |
campaignBudgetCurrencyCode | string | The currency code associated with the campaign |
campaignBudgetType | string | One of daily or lifetime |
clicks | integer | Total number of clicks on an ad |
clickThroughRate | bigdecimal | Clicks divided by impressions |
cost | bigdecimal | Total cost of ad clicks |
costPerThousandImpressions | bigdecimal | The cost per thousand impressions |
detailPageViews | integer | Number of detail page views occurring within 14 days of an ad click or view |
detailPageViewsClicks | integer | Number of detail page views occurring within 14 days of an ad click |
detailPageViewsViews | integer | The number of times a product detail page was viewed attributed to an ad view |
impressions | integer | Total number of ad impressions |
keyword | string | Text of the keyword or a representation of the targeting expression (for Sponsored Products). For Sponsored Products targeting reports, the same value is returned in the targeting metric |
keywordBid | bigdecimal | Bid associated with a keyword or targeting expression |
matchType | string | Type of matching for the keyword used in bid. For keywords, one of: BROAD, PHRASE, or EXACT. For Sponsored Products reports, keywordType can also contain the type of targeting expressions, one of: TARGETING_EXPRESSION or TARGETING_EXPRESSION_PREDEFINED |
newToBrandDetailPageViewClicks | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad click. |
newToBrandDetailPageViews | integer | The number of new detail page views from shoppers who have not previously viewed a detail page with an ASIN of the same brand in past 365 days and who either clicked or viewed an ad |
newToBrandDetailPageViewViews | integer | Number of new-to-brand detail page views for all the brands' products, attributed to an ad view |
newToBrandPurchases | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click or view. Not available for book vendors |
newToBrandPurchasesClicks | integer | The number of first-time orders for brand products over a one-year lookback window resulting from an ad click. Not available for book vendors |
newToBrandPurchasesViews | integer | The number of new to branch purchases attributed to an ad view |
newToBrandSales | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click or view. Not available for book vendors |
newToBrandSalesClicks | bigdecimal | Total value of new-to-brand sales occurring within 14 days of an ad click. Not available for book vendors |
newToBrandSalesViews | bigdecimal | Total value of sales by new to brand customers occurring within 14 days of an ad view. |
purchases | integer | Number of attributed conversion events occurring within 14 days of an ad click or view |
purchasesClicks | integer | Number of attributed conversion events occurring within 14 days of an ad click |
purchasesViews | integer | Number of attributed conversion events occurring within 14 days of an ad view |
roas | bigdecimal | Return on ad spend |
sales | bigdecimal | Total value of sales occurring within 14 days of an ad click or view. |
salesClicks | bigdecimal | Total value of sales occurring within 14 days of an ad click. |
salesViews | bigdecimal | Total value of sales occurring within 14 days of an ad view. |
targetingText | string | The text used in the targeting expression |
unitsSold | integer | Number of attributed units sold within 14 days of an ad click or view |
unitsSoldClicks | integer | Number of attributed units sold within 14 days of an ad click |
unitsSoldViews | integer | Number of attributed units sold within 14 days of an ad view |
videoCompleteViews | integer | The number of impressions where the video was viewed to 100% |
videoFirstQuartileViews | integer | The number of impressions where the video was viewed to 25% |
videoMidpointViews | integer | The number of impressions where the video was viewed to 50% |
videoThirdQuartileViews | integer | The number of impressions where the video was viewed to 75% |
errorMessage | string | Error message if any problem happened |
CREATE VIEW amazon_ads_examples.example_Report_Television_Targeting AS
SELECT *
FROM (
CALL amazon_ads.Report_Television_Targeting (
groupBy => NULL,
endDate => TIMESTAMPADD (SQL_TSI_DAY, -5, CURDATE ()),
startDate => TIMESTAMPADD (SQL_TSI_DAY, -6, CURDATE ())
)
) AS x;
v3_Brands_AdGroups
Brands - Ad groups
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter_include> (optional): Filter entities by the list of objectIds
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<nameFilter_include> (optional): Filter entities by name
<nameFilter_queryTermMatchType> (optional): Defines how would the string resource field (e.g. campaign name, ad group name) be matched with the query term in filter (BROAD_MATCH, EXACT_MATCH)
<stateFilter_include> (optional): The current resource state (ENABLED, PAUSED, ARCHIVED)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The identifier of the campaign to which the keyword is associated |
adGroupId | long | The identifier of the keyword |
extendedData_creationDate | timestamp | Creation date in epoch time |
extendedData_lastUpdateDate | timestamp | Date of last update in epoch time |
extendedData_servingStatus | string | Ad groups. Extended data. Serving status |
name | string | The name of the ad group |
state | string | Ad groups. State |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_AdGroups AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_AdGroups (
stateFilter_include => NULL,
nameFilter_queryTermMatchType => NULL,
nameFilter_include => NULL,
campaignIdFilter_include => NULL,
adGroupIdFilter_include => NULL
)
) AS x
v3_Brands_AdGroupsBeta
Brands - Ad groups PLANNED API DEPRECATION August 31, 2023
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter_include> (optional): Filter entities by the list of objectIds
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<nameFilter_include> (optional): Filter entities by name
<nameFilter_queryTermMatchType> (optional): Defines how would the string resource field (e.g. campaign name, ad group name) be matched with the query term in filter (BROAD_MATCH, EXACT_MATCH)
<stateFilter_include> (optional): The current resource state (ENABLED, PAUSED, ARCHIVED)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
campaignId | long | The identifier of the campaign to which the keyword is associated |
adGroupId | long | The identifier of the keyword |
extendedData_creationDate | timestamp | Creation date in epoch time |
extendedData_lastUpdateDate | timestamp | Date of last update in epoch time |
extendedData_servingStatus | string | Ad groups. Extended data. Serving status |
name | string | The name of the ad group |
state | string | Ad groups. State |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_AdGroupsBeta AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_AdGroupsBeta (
stateFilter_include => NULL,
nameFilter_queryTermMatchType => NULL,
nameFilter_include => NULL,
campaignIdFilter_include => NULL,
adGroupIdFilter_include => NULL
)
) AS x
v3_Brands_Ads
Brands - Ads
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter_include> (optional): Filter entities by the list of objectIds
<adIdFilter_include> (optional): Filter entities by the list of objectIds
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<nameFilter_include> (optional): Filter entities by name
<nameFilter_queryTermMatchType> (optional): Defines how would the string resource field (e.g. campaign name, ad group name) be matched with the query term in filter (BROAD_MATCH, EXACT_MATCH)
<stateFilter_include> (optional): The current resource state (ENABLED, PAUSED, ARCHIVED)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The campaign identifier |
adGroupId | long | The adGroup identifier |
adId | long | The ad identifier. Note: Ads created using version 3/non-multi ad group campaigns do not have an associated adId. For more information, see Amazon documentation |
creative_asins | string | Ads. Creative. Asins |
creative_brandLogoAssetID | string | Ads. Creative. Brand logo asset i d |
creative_brandLogoCrop_height | bigdecimal | The crop to apply to the selected Brand logo. A Brand logo must have minimum dimensions of 400x400. If a brandLogoAssetID is supplied but a crop is not, the crop will be defaulted to the whole image. Height |
creative_brandLogoCrop_left | bigdecimal | The crop to apply to the selected Brand logo. A Brand logo must have minimum dimensions of 400x400. If a brandLogoAssetID is supplied but a crop is not, the crop will be defaulted to the whole image. Left |
creative_brandLogoCrop_top | bigdecimal | The crop to apply to the selected Brand logo. A Brand logo must have minimum dimensions of 400x400. If a brandLogoAssetID is supplied but a crop is not, the crop will be defaulted to the whole image. Top |
creative_brandLogoCrop_width | bigdecimal | The crop to apply to the selected Brand logo. A Brand logo must have minimum dimensions of 400x400. If a brandLogoAssetID is supplied but a crop is not, the crop will be defaulted to the whole image. Width |
creative_brandLogoUrl | string | Ads. Creative. Brand logo url |
creative_brandName | string | Ads. Creative. Brand name |
creative_customImageAssetId | string | Ads. Creative. Custom image asset id |
creative_customImageCrop_height | bigdecimal | The crop to apply to the selected Custom image. A Custom image must have a 1200x628 aspect ratio, with a .01 delta for floating point precision. If a customImageAssetId is supplied but a crop is not, the crop will be defaulted to the whole image. Height |
creative_customImageCrop_left | bigdecimal | The crop to apply to the selected Custom image. A Custom image must have a 1200x628 aspect ratio, with a .01 delta for floating point precision. If a customImageAssetId is supplied but a crop is not, the crop will be defaulted to the whole image. Left |
creative_customImageCrop_top | bigdecimal | The crop to apply to the selected Custom image. A Custom image must have a 1200x628 aspect ratio, with a .01 delta for floating point precision. If a customImageAssetId is supplied but a crop is not, the crop will be defaulted to the whole image. Top |
creative_customImageCrop_width | bigdecimal | The crop to apply to the selected Custom image. A Custom image must have a 1200x628 aspect ratio, with a .01 delta for floating point precision. If a customImageAssetId is supplied but a crop is not, the crop will be defaulted to the whole image. Width |
creative_customImageUrl | string | Ads. Creative. Custom image url |
creative_headline | string | The headline text. Maximum length of the string is 50 characters for all marketplaces other than Japan, which has a maximum length of 35 characters |
creative_type | string | Ads. Creative. Type |
creative_videoAssetIds | string | In SB API V4, 'videoMediaIds' is replaced by 'videoAssetIds' |
extendedData_creationDate | timestamp | Creation date in epoch time |
extendedData_lastUpdateDate | timestamp | Date of last update in epoch time |
extendedData_servingStatus | string | Ads. Extended data. Serving status |
landingPage_asins | string | Ads. Landing page. Asins |
landingPage_pageType | string | Ads. Landing page. Page type |
landingPage_url | string | URL of an existing simple landing page or Store page. Vendors may also specify the URL of a custom landing page |
name | string | The name of the ad. Note: Ads created using version 3/non-multi ad group campaigns do not have an associated name. For more information, see Amazon documentation |
state | string | Ads. State |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_Ads AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_Ads (
stateFilter_include => NULL,
nameFilter_queryTermMatchType => NULL,
nameFilter_include => NULL,
campaignIdFilter_include => NULL,
adIdFilter_include => NULL,
adGroupIdFilter_include => NULL
)
) AS x
v3_Brands_AdsBeta
Brands - Ads PLANNED API DEPRECATION August 31, 2023
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter_include> (optional): Filter entities by the list of objectIds
<adIdFilter_include> (optional): Filter entities by the list of objectIds
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<nameFilter_include> (optional): Filter entities by name
<nameFilter_queryTermMatchType> (optional): Defines how would the string resource field (e.g. campaign name, ad group name) be matched with the query term in filter (BROAD_MATCH, EXACT_MATCH)
<stateFilter_include> (optional): The current resource state (ENABLED, PAUSED, ARCHIVED)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
campaignId | long | The campaign identifier |
adGroupId | long | The adGroup identifier |
adId | long | The ad identifier. Note: Ads created using version 3/non-multi ad group campaigns do not have an associated adId. Learn more( ) |
creative_asins | string | Ads. Creative. Asins |
creative_brandLogoAssetID | string | Ads. Creative. Brand logo asset i d |
creative_brandLogoCrop_height | bigdecimal | The crop to apply to the selected Brand logo. A Brand logo must have minimum dimensions of 400x400. If a brandLogoAssetID is supplied but a crop is not, the crop will be defaulted to the whole image. Height |
creative_brandLogoCrop_left | bigdecimal | The crop to apply to the selected Brand logo. A Brand logo must have minimum dimensions of 400x400. If a brandLogoAssetID is supplied but a crop is not, the crop will be defaulted to the whole image. Left |
creative_brandLogoCrop_top | bigdecimal | The crop to apply to the selected Brand logo. A Brand logo must have minimum dimensions of 400x400. If a brandLogoAssetID is supplied but a crop is not, the crop will be defaulted to the whole image. Top |
creative_brandLogoCrop_width | bigdecimal | The crop to apply to the selected Brand logo. A Brand logo must have minimum dimensions of 400x400. If a brandLogoAssetID is supplied but a crop is not, the crop will be defaulted to the whole image. Width |
creative_brandLogoUrl | string | Ads. Creative. Brand logo url |
creative_brandName | string | Ads. Creative. Brand name |
creative_customImageAssetId | string | Ads. Creative. Custom image asset id |
creative_customImageCrop_height | bigdecimal | The crop to apply to the selected Custom image. A Custom image must have a 1200x628 aspect ratio, with a .01 delta for floating point precision. If a customImageAssetId is supplied but a crop is not, the crop will be defaulted to the whole image. Height |
creative_customImageCrop_left | bigdecimal | The crop to apply to the selected Custom image. A Custom image must have a 1200x628 aspect ratio, with a .01 delta for floating point precision. If a customImageAssetId is supplied but a crop is not, the crop will be defaulted to the whole image. Left |
creative_customImageCrop_top | bigdecimal | The crop to apply to the selected Custom image. A Custom image must have a 1200x628 aspect ratio, with a .01 delta for floating point precision. If a customImageAssetId is supplied but a crop is not, the crop will be defaulted to the whole image. Top |
creative_customImageCrop_width | bigdecimal | The crop to apply to the selected Custom image. A Custom image must have a 1200x628 aspect ratio, with a .01 delta for floating point precision. If a customImageAssetId is supplied but a crop is not, the crop will be defaulted to the whole image. Width |
creative_customImageUrl | string | Ads. Creative. Custom image url |
creative_headline | string | The headline text. Maximum length of the string is 50 characters for all marketplaces other than Japan, which has a maximum length of 35 characters |
creative_type | string | Ads. Creative. Type |
creative_videoAssetIds | string | In SB API V4, 'videoMediaIds' is replaced by 'videoAssetIds' |
extendedData_creationDate | timestamp | Creation date in epoch time |
extendedData_lastUpdateDate | timestamp | Date of last update in epoch time |
extendedData_servingStatus | string | Ads. Extended data. Serving status |
landingPage_asins | string | Ads. Landing page. Asins |
landingPage_pageType | string | Ads. Landing page. Page type |
landingPage_url | string | URL of an existing simple landing page or Store page. Vendors may also specify the URL of a custom landing page |
name | string | The name of the ad. Note: Ads created using version 3/non-multi ad group campaigns do not have an associated name. Learn more: https://advertising.amazon.com/API/docs/en-us/sponsored-brands/campaigns/managing-multi-ad-group-campaigns#ads |
state | string | Ads. State |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_AdsBeta AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_AdsBeta (
stateFilter_include => NULL,
nameFilter_queryTermMatchType => NULL,
nameFilter_include => NULL,
campaignIdFilter_include => NULL,
adIdFilter_include => '164639643737837,216709157391451,242210506802418,255832396260033,35113176602433,106743922744378,45918287092176,166788042402651,5453119167231,76436830515537,113892863803256,231723255648726,263082294416143,265863611663292,262622397799218,120456041821214,63631756731865,128914106595959,179014335903885,252341646737830,79554759782924,277412975450067,193958432125399,225043997833500,226890417690149,183414464299448,154610615570002,221957205087524,202945357437759,161435914678927,67830840360458,68629533973784,264842454271018,78211408400669,54699415978015',
adGroupIdFilter_include => NULL
)
) AS x
v3_Brands_AssociatedBudgetRulesForSBCampaigns
Brands - Budget rules associated to a campaign specified by identifier
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignId> (required): The campaign identifier.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
createdDate | timestamp | Epoch time of budget rule creation |
ruleDetails_budgetIncreaseBy_type | string | A list of associated budget rules. Rule details. Budget increase by. Type |
ruleDetails_budgetIncreaseBy_value | bigdecimal | The budget value |
ruleDetails_duration_dateRangeTypeRuleDuration_endDate | date | The end date of the budget rule in YYYYMMDD format. The end date is inclusive. Required to be equal or greater than 'startDate' |
ruleDetails_duration_dateRangeTypeRuleDuration_startDate | date | The start date of the budget rule in YYYYMMDD format. The start date is inclusive. Required to be greater than or equal to current date |
ruleDetails_duration_eventTypeRuleDuration_endDate | date | The event end date in YYYYMMDD format |
ruleDetails_duration_eventTypeRuleDuration_eventId | string | The event identifier. This value is available from the budget rules recommendation API |
ruleDetails_duration_eventTypeRuleDuration_eventName | string | The event name |
ruleDetails_duration_eventTypeRuleDuration_startDate | date | The event start date in YYYYMMDD format. Read-only. Note that this field is present only for announced events |
ruleDetails_name | string | The budget rule name. Required to be unique within a campaign |
ruleDetails_performanceMeasureCondition_comparisonOperator | string | A list of associated budget rules. Rule details. Performance measure condition. Comparison operator |
ruleDetails_performanceMeasureCondition_metricName | string | A list of associated budget rules. Rule details. Performance measure condition. Metric name |
ruleDetails_performanceMeasureCondition_threshold | bigdecimal | The performance threshold value |
ruleDetails_recurrence_daysOfWeek | string | Object representing days of the week for weekly type rule. It is not required for daily recurrence type |
ruleDetails_recurrence_type | string | A list of associated budget rules. Rule details. Recurrence. Type |
ruleDetails_ruleType | string | A list of associated budget rules. Rule details. Rule type |
ruleId | string | The budget rule identifier |
ruleState | string | A list of associated budget rules. Rule state |
ruleStatus | string | The budget rule evaluation status |
lastUpdatedDate | timestamp | Epoch time of budget rule update |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_AssociatedBudgetRulesForSBCampaigns AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_AssociatedBudgetRulesForSBCampaigns (
campaignId => 144185060054128888
)
) AS x
v3_Brands_BudgetRecommendations
Brands - Daily budget recommendations
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignIds> (required): List of CampaignIds
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The identifier of a campaign |
code | string | A human-readable description of the enumerated response code in the 'code' field |
details | string | An enumerated response code |
index | bigdecimal | Correlate the recommendation to the campaign index in the request. Zero-based |
sevenDaysMissedOpportunities_endDate | date | End date of the Missed Opportunities date range (YYYY-MM-DD) in local time |
sevenDaysMissedOpportunities_estimatedMissedClicksLower | bigdecimal | Lower bound of the estimated Missed Clicks |
sevenDaysMissedOpportunities_estimatedMissedClicksUpper | bigdecimal | Upper bound of the estimated Missed Clicks |
sevenDaysMissedOpportunities_estimatedMissedImpressionsLower | bigdecimal | Lower bound of the estimated Missed Impressions |
sevenDaysMissedOpportunities_estimatedMissedImpressionsUpper | bigdecimal | Upper bound of the estimated Missed Impressions |
sevenDaysMissedOpportunities_estimatedMissedSalesLower | bigdecimal | Lower bound of the estimated Missed Sales. This will be in local currency |
sevenDaysMissedOpportunities_estimatedMissedSalesUpper | bigdecimal | Upper bound of the estimated Missed Sales. This will be in local currency |
sevenDaysMissedOpportunities_percentTimeInBudget | bigdecimal | Percentage of time the campaign is active with a budget |
sevenDaysMissedOpportunities_startDate | date | Start date of the Missed Opportunities date range (YYYY-MM-DD) in local time |
suggestedBudget | bigdecimal | Recommended budget for the campaign |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_BudgetRecommendations AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_BudgetRecommendations (
campaignIds => '144185060054128888,144285040623868515,144335227732000748,144311640192242129,144148751652509594,144253711797147303,130081696937954,28000080222805,63698086266239,273581420561214,77899469121210,193505532078805,66208456955634,206439086409765,71241058471663,13666818851209,169479826335171,138992018786695,181820988739551,59268375662748,144247212204705566,144251410287713790,144384373245124899,164438328532811,26262871109738,123386522390380,117240414917357,39560718069314,237701241706157,90203311862915,127622298565189,181832301390223,87174893405244,143242686188502,144250815095325567,195569901852449,260342275865803,249538768150330,121372857858014,91352917678500,185466882611093,198664989187594,179875148480962,57843338865301,159784870360937,109430809074110,122568000266630,102672415250600,96958523402520,16352731917604,266949388719706,165413417239518,83294423556086,239334920432608,17261120902136,10625585037465,144303799307071659,219446254189886,144267332186625483,144207627199667214,144203696364398253,280243658448236,144290608244161421,186300356504548,144137296854512014,55829894194644,144190486491623487,263275910199902,45124519580344,30238530854526,100738908709981,231344105150931,211911867048010,271686831091436,163627584679990,179581855004886,77797580252160,32350679734167,200975305514224,281071700216828,192869095035297,177264048591276,168577540397322,241028471420269'
)
) AS x
v3_Brands_BudgetRuleByRuleIdForSBCampaigns
Brands - Budget rule specified by identifier
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<budgetRuleId> (required): The budget rule identifier.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
createdDate | timestamp | Epoch time of budget rule creation |
ruleDetails_budgetIncreaseBy_type | string | Budget rule. Rule details. Budget increase by. Type |
ruleDetails_budgetIncreaseBy_value | bigdecimal | The budget value |
ruleDetails_duration_dateRangeTypeRuleDuration_endDate | date | The end date of the budget rule in YYYYMMDD format. The end date is inclusive. Required to be equal or greater than 'startDate' |
ruleDetails_duration_dateRangeTypeRuleDuration_startDate | date | The start date of the budget rule in YYYYMMDD format. The start date is inclusive. Required to be greater than or equal to current date |
ruleDetails_duration_eventTypeRuleDuration | string | Budget rule. Rule details. Duration. Event type rule duration |
ruleDetails_name | string | The budget rule name. Required to be unique within a campaign |
ruleDetails_performanceMeasureCondition_comparisonOperator | string | Budget rule. Rule details. Performance measure condition. Comparison operator |
ruleDetails_performanceMeasureCondition_metricName | string | Budget rule. Rule details. Performance measure condition. Metric name |
ruleDetails_performanceMeasureCondition_threshold | bigdecimal | The performance threshold value |
ruleDetails_recurrence_daysOfWeek | string | Object representing days of the week for weekly type rule. It is not required for daily recurrence type |
ruleDetails_recurrence_intraDaySchedule | string | |
ruleDetails_recurrence_type | string | Budget rule. Rule details. Recurrence. Type |
ruleDetails_ruleType | string | Budget rule. Rule details. Rule type |
ruleId | string | The budget rule identifier |
ruleState | string | Budget rule. Rule state |
ruleStatus | string | The budget rule status |
ruleStatusDetails | string | |
lastUpdatedDate | timestamp | Epoch time of budget rule update |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_BudgetRuleByRuleIdForSBCampaigns AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_BudgetRuleByRuleIdForSBCampaigns (
budgetRuleId => '99647f9e-1fe1-43d1-a572-eae4a5f462bc'
)
) AS x
v3_Brands_BudgetRulesForAdvertiser
Brands - All budget rules created by an advertiser
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
createdDate | timestamp | Epoch time of budget rule creation |
ruleDetails_budgetIncreaseBy_type | string | A list of rules created by the advertiser. Rule details. Budget increase by. Type |
ruleDetails_budgetIncreaseBy_value | bigdecimal | The budget value |
ruleDetails_duration_dateRangeTypeRuleDuration_endDate | date | The end date of the budget rule in YYYYMMDD format. The end date is inclusive. Required to be equal or greater than 'startDate' |
ruleDetails_duration_dateRangeTypeRuleDuration_startDate | date | The start date of the budget rule in YYYYMMDD format. The start date is inclusive. Required to be greater than or equal to current date |
ruleDetails_duration_eventTypeRuleDuration | string | A list of rules created by the advertiser. Rule details. Duration. Event type rule duration |
ruleDetails_name | string | The budget rule name. Required to be unique within a campaign |
ruleDetails_performanceMeasureCondition_comparisonOperator | string | A list of rules created by the advertiser. Rule details. Performance measure condition. Comparison operator |
ruleDetails_performanceMeasureCondition_metricName | string | A list of rules created by the advertiser. Rule details. Performance measure condition. Metric name |
ruleDetails_performanceMeasureCondition_threshold | bigdecimal | The performance threshold value |
ruleDetails_recurrence_daysOfWeek | string | Object representing days of the week for weekly type rule. It is not required for daily recurrence type |
ruleDetails_recurrence_intraDaySchedule | string | |
ruleDetails_recurrence_type | string | A list of rules created by the advertiser. Rule details. Recurrence. Type |
ruleDetails_ruleType | string | A list of rules created by the advertiser. Rule details. Rule type |
ruleId | string | The budget rule identifier |
ruleState | string | A list of rules created by the advertiser. Rule state |
ruleStatus | string | The budget rule status |
ruleStatusDetails | string | |
lastUpdatedDate | timestamp | Epoch time of budget rule update |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_BudgetRulesForAdvertiser AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_BudgetRulesForAdvertiser ()
) AS x
v3_Brands_BudgetRulesRecommendation
Brands - Special events with suggested date range and suggested budget increase for a campaign specified by identifier
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignId> (required): The campaign identifier
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
startDate | date | The start date in YYYYMMDD format |
endDate | date | The end date in YYYYMMDD format |
eventId | string | The event identifier |
eventName | string | The event name |
suggestedBudgetIncreasePercent | bigdecimal | The suggested budget increase expressed as a percent |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_BudgetRulesRecommendation AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_BudgetRulesRecommendation (
campaignId => 144185060054128888
)
) AS x
v3_Brands_Campaigns
Brands - Campaigns
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<nameFilter_include> (optional): Filter entities by name
<nameFilter_queryTermMatchType> (optional): Defines how would the string resource field (e.g. campaign name, ad group name) be matched with the query term in filter (BROAD_MATCH, EXACT_MATCH)
<portfolioIdFilter_include> (optional): Filter entities by the list of objectIds
<stateFilter_include> (optional): The current resource state (ENABLED, PAUSED, ARCHIVED)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
startDate | date | The format of the date is YYYY-MM-DD |
endDate | date | The format of the date is YYYY-MM-DD |
campaignId | long | Entity object identifier |
portfolioId | long | The identifier of an existing portfolio to which the campaign is associated |
bidding_bidOptimization | boolean | Whether to use automatic placement level bid optimization. If set to true, Amazon will automatically set the right placement adjustment and the bidAdjustmentsByPlacement field is ignored. If set to false, the bidAdjustmentsByPlacement field will be used to adjust bid on different placements |
bidding_bidOptimizationStrategy | string | Campaigns. Bidding. Bid optimization strategy |
bidding_bidAdjustmentsByPlacement | string | Campaigns. Bidding. Placement level bid adjustment. Note that this field can only be set when ''bidOptimization'' is set to false |
bidding_bidAdjustmentsByShopperSegment | string | Campaigns. Bidding. Shopper segment level bid adjustment. When both bidAdjustmentsByPlacement and bidAdjustmentsByShopperSegment are specified, the adjustment will be multiplicative |
brandEntityId | string | Campaigns. Brand entity id |
budget | bigdecimal | Campaigns. Budget |
budgetType | string | Campaigns. Budget type |
extendedData_creationDate | timestamp | Creation date in epoch time |
extendedData_lastUpdateDate | timestamp | Date of last update in epoch time |
extendedData_servingStatus | string | Campaigns. Extended data. Serving status |
isMultiAdGroupsEnabled | boolean | Campaigns. Is multi ad groups enabled |
name | string | Campaigns. Name |
productLocation | string | Campaigns. Product location |
ruleBasedBudget_applicableRuleId | string | Campaigns. Rule based budget. Applicable rule id |
ruleBasedBudget_applicableRuleName | string | Campaigns. Rule based budget. Applicable rule name |
ruleBasedBudget_isProcessing | boolean | Campaigns. Rule based budget. Is processing |
ruleBasedBudget_value | bigdecimal | Campaigns. Rule based budget. Value |
state | string | Campaigns. State |
tags | string | Campaigns. Tags |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_Campaigns AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_Campaigns (
stateFilter_include => NULL,
portfolioIdFilter_include => NULL,
nameFilter_queryTermMatchType => NULL,
nameFilter_include => NULL,
campaignIdFilter_include => NULL
)
) AS x
v3_Brands_CampaignsAssociatedWithSBBudgetRule
Brands - All the campaigns associated with a budget rule
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<budgetRuleId> (required): The budget rule identifier.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The campaign identifier |
campaignName | string | The campaign name |
ruleStatus | string | The budget rule evaluation status for this campaign |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_CampaignsAssociatedWithSBBudgetRule AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_CampaignsAssociatedWithSBBudgetRule (
budgetRuleId => '99647f9e-1fe1-43d1-a572-eae4a5f462bc'
)
) AS x
v3_Brands_CampaignsBeta
Brands - Campaigns [PLANNED DEPRECATION 8/31/2023]
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<nameFilter_include> (optional): Filter entities by name
<nameFilter_queryTermMatchType> (optional): Defines how would the string resource field (e.g. campaign name, ad group name) be matched with the query term in filter (BROAD_MATCH, EXACT_MATCH)
<portfolioIdFilter_include> (optional): Filter entities by the list of objectIds
<stateFilter_include> (optional): The current resource state (ENABLED, PAUSED, ARCHIVED)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
startDate | date | The format of the date is YYYY-MM-DD |
endDate | date | The format of the date is YYYY-MM-DD |
campaignId | long | Entity object identifier |
portfolioId | long | The identifier of an existing portfolio to which the campaign is associated |
bidding_bidOptimization | boolean | Whether to use automatic placement level bid optimization. If set to true, Amazon will automatically set the right placement adjustment and the bidAdjustmentsByPlacement field is ignored. If set to false, the bidAdjustmentsByPlacement field will be used to adjust bid on different placements |
bidding_bidOptimizationStrategy | string | Campaigns. Bidding. Bid optimization strategy |
brandEntityId | string | Campaigns. Brand entity id |
budget | bigdecimal | Campaigns. Budget |
budgetType | string | Campaigns. Budget type |
extendedData_creationDate | timestamp | Creation date in epoch time |
extendedData_lastUpdateDate | timestamp | Date of last update in epoch time |
extendedData_servingStatus | string | Campaigns. Extended data. Serving status |
isMultiAdGroupsEnabled | boolean | Campaigns. Is multi ad groups enabled |
name | string | Campaigns. Name |
productLocation | string | Campaigns. Product location |
ruleBasedBudget_applicableRuleId | string | Campaigns. Rule based budget. Applicable rule id |
ruleBasedBudget_applicableRuleName | string | Campaigns. Rule based budget. Applicable rule name |
ruleBasedBudget_isProcessing | boolean | Campaigns. Rule based budget. Is processing |
ruleBasedBudget_value | bigdecimal | Campaigns. Rule based budget. Value |
state | string | Campaigns. State |
tags | string | Campaigns. Tags |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_CampaignsBeta AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_CampaignsBeta (
stateFilter_include => NULL,
portfolioIdFilter_include => NULL,
nameFilter_queryTermMatchType => NULL,
nameFilter_include => NULL,
campaignIdFilter_include => NULL
)
) AS x
v3_Brands_CampaignsBudgetUsage
Brands - Budget usage API for SB campaigns
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignIds> (optional): A list of campaign IDs
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
campaignId | long | ID of requested resource |
budget | bigdecimal | Budget amount of resource requested |
budgetUsagePercent | bigdecimal | Budget usage percentage (spend / available budget) for the given budget policy |
type | string | |
error_code | string | An enumerated error code for machine use |
error_details | string | A human-readable description of the response |
usageUpdatedTimestamp | timestamp | Last evaluation time for budget usage |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_CampaignsBudgetUsage AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_CampaignsBudgetUsage (
campaignIds => '144185060054128888,144285040623868515,144335227732000748,144311640192242129,144148751652509594,144253711797147303,130081696937954,28000080222805,63698086266239,273581420561214,77899469121210,193505532078805,66208456955634,206439086409765,71241058471663,13666818851209,169479826335171,138992018786695,181820988739551,59268375662748,144247212204705566,144251410287713790,144384373245124899,164438328532811,26262871109738,123386522390380,117240414917357,39560718069314,237701241706157,90203311862915,127622298565189,181832301390223,87174893405244,143242686188502,144250815095325567,195569901852449,260342275865803,249538768150330,121372857858014,91352917678500,185466882611093,198664989187594,179875148480962,57843338865301,159784870360937,109430809074110,122568000266630,102672415250600,96958523402520,16352731917604,266949388719706,165413417239518,83294423556086,239334920432608,17261120902136,10625585037465,144303799307071659,219446254189886,144267332186625483,144207627199667214,144203696364398253,280243658448236,144290608244161421,186300356504548,144137296854512014,55829894194644,144190486491623487,263275910199902,45124519580344,30238530854526,100738908709981,231344105150931,211911867048010,271686831091436,163627584679990,179581855004886,77797580252160,32350679734167,200975305514224,281071700216828,192869095035297,177264048591276,168577540397322,241028471420269'
)
) AS x
v3_Brands_Creatives
Brands - Ad Creatives
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adId> (required): The unique ID of a Sponsored Brands ad
<Accept> (optional): Clients request a specific version of a resource using the Accept request-header field set to the value field of the desired content-type.
<creativeStatusFilter> (optional): The lifecycle status of a creative (SUBMITTED_FOR_MODERATION, PENDING_MODERATION_REVIEW, APPROVED_BY_MODERATION, REJECTED_BY_MODERATION, PUBLISHED)
<creativeTypeFilter> (optional): The creative type of SB ad (PRODUCT_COLLECTION, STORE_SPOTLIGHT, VIDEO, BRAND_VIDEO)
<creativeVersionFilter> (optional): Filters creatives by optional creative version
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adId | long | The unique ID of a Sponsored Brands ad |
creationTime | bigdecimal | Creative. Creation time |
creativeProperties_asins | string | A list of ASINs |
creativeProperties_brandLogoAssetId | string | The identifier of image/video asset from the store's asset library |
creativeProperties_brandLogoCrop_height | bigdecimal | The number of pixels to crop down from the value specified as top |
creativeProperties_brandLogoCrop_left | bigdecimal | The leftmost pixel from which to begin cropping |
creativeProperties_brandLogoCrop_top | bigdecimal | The highest pixel from which to begin cropping |
creativeProperties_brandLogoCrop_width | bigdecimal | The number of pixels to crop rightwards from the value specified as left |
creativeProperties_brandLogoUrl | string | Creative properties. Brand logo url |
creativeProperties_brandName | string | The displayed brand name in the ad headline |
creativeProperties_customImageAssetId | string | The identifier of image/video asset from the store's asset library |
creativeProperties_customImageCrop_height | bigdecimal | The number of pixels to crop down from the value specified as top |
creativeProperties_customImageCrop_left | bigdecimal | The leftmost pixel from which to begin cropping |
creativeProperties_customImageCrop_top | bigdecimal | The highest pixel from which to begin cropping |
creativeProperties_customImageCrop_width | bigdecimal | The number of pixels to crop rightwards from the value specified as left |
creativeProperties_customImageUrl | string | Creative properties. Custom image url |
creativeProperties_headline | string | The headline text. Maximum length of the string is 50 characters for all marketplaces other than Japan, which has a maximum length of 35 characters |
creativeProperties_landingPage_type | string | Landing page. Type |
creativeProperties_landingPage_value | string | Landing page. Value |
creativeProperties_videoAssetIds | string | An array of videoAssetIds associated with the creative. Advertisers can get video assetIds from Asset Library /assets/search API |
creativeStatus | string | Creative. Creative status |
creativeType | string | Creative. Creative type |
creativeVersion | string | The version identifier that helps you keep track of multiple versions of a submitted (non-draft) Sponsored Brands creative |
lastUpdateTime | bigdecimal | Creative. Last update time |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_Creatives AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_Creatives (
creativeVersionFilter => NULL,
creativeTypeFilter => NULL,
creativeStatusFilter => NULL,
adId => 164639643737837,
Accept => NULL
)
) AS x
v3_Brands_HeadlineRecommendations
Brands - API to receive creative headline suggestions
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adFormat> (optional): Request structure of headline suggestion API.. Ad format
<asins> (optional): An array of ASINs associated with the creative. Note do not pass an empty array, this results in an error.
<maxNumSuggestions> (optional): Maximum number of suggestions that API should return. Response will [0, maxNumSuggestions] suggestions (suggestions are not guaranteed)
<storePages_displayName> (optional): Display Name of the store page shown on a store spotlight campaign
<storePages_primaryAsin> (optional): Selected asin from the store page which is displayed on the store spotlight campaign
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
headline | string | String that contains suggested headline |
headlineId | string | Unique Id of suggested headline |
requestId | string | An identifier for request made which is generated by server |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_HeadlineRecommendations AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_HeadlineRecommendations (
storePages_primaryAsin => NULL,
storePages_displayName => NULL,
maxNumSuggestions => 100,
asins => 'B01DMEADXO,B083QM754H,B01DNUKYXG,B0BHTMWB61,B0BHTMJYTD,B0BHTMRSQX,B01DNYHTLM,B081K3SX8S,B081K3VLYY,B081K45S5L,B01LCZXZWQ,B091J2576D,B0922XQ67M,B0922XFSVP,B01LCZXZWQ,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8',
adFormat => 'SPONSORED_BRANDS'
)
) AS x
v3_Brands_KeywordRecommendations
Brands - Keyword recommendations
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<asins> (optional): CSV with asins
<url> (optional): The URL of the Stores page, or, Vendors may also specify the URL of a custom landing page
<creativeAsins> (optional): Creative asins
<creativeType> (optional): optional SB creative type used for generating static or video generated keyword recommendations. Inferred by asins if not included (PRODUCT_COLLECTION, AUTHOR_COLLECTION, STORE_SPOTLIGHT, VIDEO, BRAND_VIDEO)
<locale> (optional): optional locale to request keyword suggestion translations. For example, to request Simplified Chinese translations in US, provide locale zh_CN. Response will include both keyword suggestions and their translations. Supported locales include: Simplified Chinese (locale: zh_CN) for US, UK and CA. English (locale: en_GB) for DE, FR, IT and ES
<maxNumSuggestions> (optional): Maximum number of suggestions to return. Max value is 1000. If not provided, default to 100
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribut | Type | Description |
---|---|---|
profileId | long | Profile ID |
matchType | string | Match type |
recommendationId | string | Unique ID for each recommendation |
searchTermImpressionRank | string | |
searchTermImpressionShare | string | |
translation | string | Localized keyword value if locale was specified |
type | string | Type |
value | string | Recommended keyword value |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_KeywordRecommendations AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_KeywordRecommendations (
maxNumSuggestions => 100,
locale => 'en_US',
creativeType => NULL,
creativeAsins => 'B01DMEADXO,B083QM754H,B01DNUKYXG,B0BHTMWB61,B0BHTMJYTD,B0BHTMRSQX,B01DNYHTLM,B081K3SX8S,B081K3VLYY,B081K45S5L,B01LCZXZWQ,B091J2576D,B0922XQ67M,B0922XFSVP,B01LCZXZWQ,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8,B01DNUKYXG,B01DWAL5KS,B01DNUKYFE,B07HH71RP7,B01DNUKYFE,B01DNUKYXG,B07HRWXDHM,B07HRZWT8V,B0922XQ67M,B08GM5B2XK,B08GGB6W92,B08GKZDWTV,B01LCZXZWQ,B07LCSCV86,B07LGD48WL,B07CCGJZNR,B07C5QLXG8,B07HRWPDX8,B01LCZY0WU,B01DMCV7AY,B01ENGPKY2,B01ENGPL1E,B01LBFKGBA,B01DMEAEEM,B079ZZ83VT,B01ENG0WTA,B09MTXBQ8W,B08WWYFN7Z,B09LRDRWL4,B07G2PVFXH,B01EN5QHT0,B07HH71RP7,B01DO14KNE,B07LGDYD7S,B01LCZY0WU,B01EN5QHT0,B07G3FB3YJ,B07HRWPDX8,B07C5QLXG8,B07F7G3HS4,B07C5QLXG8,B07F8BQDDV,B08HVW1L1X,B01DW9OF5Q,B07HH8NLWR,B01DWAL5KS,B07B12866X,B083QM754H,B01DO14KE8,B01LCZXZWQ,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8,B01LCZXZWQ,B09J1DXW7J,B07G2M52CB,B0BHJMYHZP,B0BHJLQ7MF,B0BHKNK7R4,B09MTXBQ8W,B08WWYFN7Z,B09LRDRWL4,B01ENA14HK,B01LEV9I8I,B01LBDBKOE,B084WPH23J,B07G2PVFXH,B09YDR2L1Q,B0922XQ67M,B07HRYJZX4,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8,B083QM754H,B01ENA14IY,B01LEV9IEC,B07PJL9881,B01DW9OF4W,B01LCZXZWQ,B079ZZ83VT,B07G2M52CB,B01ENGPL1E,B01ENG0WTA,B083QKXFBR,B0BCQCQZ9M,B096KLSSCH,B09YDR2L1Q,B01LCZY0WU,B01LCZXZ58,B01LCZXZWQ,B01ENG0WRW,B07HH8B1DZ,B07CCGJZNR,B07HRWPDX8,B07HRXD2H9,B01DWAL4JA,B07ZTLQ6QR,B06XJ9FGP8,B01LCZXZWQ,B01DMCV7RW,B01LEV9I8I,B01LCZXZWQ,B07G2PVFXH,B01LBDBKVM,B01EN5QHNQ',
asins => 'B01DMEADXO,B083QM754H,B01DNUKYXG,B0BHTMWB61,B0BHTMJYTD,B0BHTMRSQX,B01DNYHTLM,B081K3SX8S,B081K3VLYY,B081K45S5L,B01LCZXZWQ,B091J2576D,B0922XQ67M,B0922XFSVP,B01LCZXZWQ,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8,B01DNUKYXG,B01DWAL5KS,B01DNUKYFE,B07HH71RP7,B01DNUKYFE,B01DNUKYXG,B07HRWXDHM,B07HRZWT8V,B0922XQ67M,B08GM5B2XK,B08GGB6W92,B08GKZDWTV,B01LCZXZWQ,B07LCSCV86,B07LGD48WL,B07CCGJZNR,B07C5QLXG8,B07HRWPDX8,B01LCZY0WU,B01DMCV7AY,B01ENGPKY2,B01ENGPL1E,B01LBFKGBA,B01DMEAEEM,B079ZZ83VT,B01ENG0WTA,B09MTXBQ8W,B08WWYFN7Z,B09LRDRWL4,B07G2PVFXH,B01EN5QHT0,B07HH71RP7,B01DO14KNE,B07LGDYD7S,B01LCZY0WU,B01EN5QHT0,B07G3FB3YJ,B07HRWPDX8,B07C5QLXG8,B07F7G3HS4,B07C5QLXG8,B07F8BQDDV,B08HVW1L1X,B01DW9OF5Q,B07HH8NLWR,B01DWAL5KS,B07B12866X,B083QM754H,B01DO14KE8,B01LCZXZWQ,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8,B01LCZXZWQ,B09J1DXW7J,B07G2M52CB,B0BHJMYHZP,B0BHJLQ7MF,B0BHKNK7R4,B09MTXBQ8W,B08WWYFN7Z,B09LRDRWL4,B01ENA14HK,B01LEV9I8I,B01LBDBKOE,B084WPH23J,B07G2PVFXH,B09YDR2L1Q,B0922XQ67M,B07HRYJZX4,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8,B083QM754H,B01ENA14IY,B01LEV9IEC,B07PJL9881,B01DW9OF4W,B01LCZXZWQ,B079ZZ83VT,B07G2M52CB,B01ENGPL1E,B01ENG0WTA,B083QKXFBR,B0BCQCQZ9M,B096KLSSCH,B09YDR2L1Q,B01LCZY0WU,B01LCZXZ58,B01LCZXZWQ,B01ENG0WRW,B07HH8B1DZ,B07CCGJZNR,B07HRWPDX8,B07HRXD2H9,B01DWAL4JA,B07ZTLQ6QR,B06XJ9FGP8,B01LCZXZWQ,B01DMCV7RW,B01LEV9I8I,B01LCZXZWQ,B07G2PVFXH,B01LBDBKVM,B01EN5QHNQ'
)
) AS x
v3_Brands_RuleBasedBudgetHistoryForSBCampaigns
Brands - Budget history for a campaign specified by identifier PLANNED API DEPRECATION August 31, 2023
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<startDate> (required): The start date of the budget history in YYYYMMDD format.
<endDate> (required): The end date of the budget history in YYYYMMDD format.
<campaignId> (required): The campaign identifier.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
appliedRule_createdDate | timestamp | Epoch time of budget rule creation |
appliedRule_lastUpdatedDate | timestamp | Epoch time of budget rule update |
appliedRule_ruleDetails_budgetIncreaseBy_type | string | History. Applied rule. Rule details. Budget increase by. Type |
appliedRule_ruleDetails_budgetIncreaseBy_value | bigdecimal | The budget value |
appliedRule_ruleDetails_duration_dateRangeTypeRuleDuration_endDate | date | The end date of the budget rule in YYYYMMDD format. The end date is inclusive. Required to be equal or greater than 'startDate' |
appliedRule_ruleDetails_duration_dateRangeTypeRuleDuration_startDate | date | The start date of the budget rule in YYYYMMDD format. The start date is inclusive. Required to be greater than or equal to current date |
appliedRule_ruleDetails_duration_eventTypeRuleDuration_endDate | date | The event end date in YYYYMMDD format |
appliedRule_ruleDetails_duration_eventTypeRuleDuration_eventId | string | The event identifier. This value is available from the budget rules recommendation API |
appliedRule_ruleDetails_duration_eventTypeRuleDuration_eventName | string | The event name |
appliedRule_ruleDetails_duration_eventTypeRuleDuration_startDate | date | The event start date in YYYYMMDD format. Read-only. Note that this field is present only for announced events |
appliedRule_ruleDetails_name | string | The budget rule name. Required to be unique within a campaign |
appliedRule_ruleDetails_performanceMeasureCondition_comparisonOperator | string | History. Applied rule. Rule details. Performance measure condition. Comparison operator |
appliedRule_ruleDetails_performanceMeasureCondition_metricName | string | History. Applied rule. Rule details. Performance measure condition. Metric name |
appliedRule_ruleDetails_performanceMeasureCondition_threshold | bigdecimal | The performance threshold value |
appliedRule_ruleDetails_recurrence_daysOfWeek | string | Object representing days of the week for weekly type rule. It is not required for daily recurrence type |
appliedRule_ruleDetails_recurrence_type | string | History. Applied rule. Rule details. Recurrence. Type |
appliedRule_ruleDetails_ruleType | string | History. Applied rule. Rule details. Rule type |
appliedRule_ruleId | string | The budget rule identifier |
appliedRule_ruleState | string | History. Applied rule. Rule state |
appliedRule_ruleStatus | string | The budget rule status |
dailyBudgetValue | bigdecimal | The daily budget value |
executionTime | timestamp | Epoch time of budget rule execution |
performanceMetric_name | string | Name of the performance metric |
performanceMetric_value | bigdecimal | Value of the performance metric |
ruleBasedBudgetValue | bigdecimal | The budget value |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_RuleBasedBudgetHistoryForSBCampaigns AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_RuleBasedBudgetHistoryForSBCampaigns (
startDate => TIMESTAMPADD (SQL_TSI_DAY, -3, CURDATE ()),
endDate => CURDATE (),
campaignId => 144185060054128888
)
) AS x
v3_Brands_TargetingNegativeBrands
Brands - Brands recommended for negative targeting
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
brandRefinementId | long | Id of brand. Use /sb/targets/categories/ categoryRefinementId /refinements to retrieve Brand Refinement IDs| |
name | string | Name of brand |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_TargetingNegativeBrands AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_TargetingNegativeBrands ()
) AS x
v3_Brands_TargetingRefinementsForCategory
Brands - Refinements according to category input
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<categoryRefinementId> (required): The category refinement id. Please use /sb/targets/categories or /sb/recommendations/targets/category to retrieve category IDs.
<locale> (optional): The locale to which the caller wishes to translate the targetable categories or refinements to. For example, if the caller wishes to receive the targetable categories in Simplified Chinese, the locale parameter should be set to zh_CN. If no locale is provided, the returned tagetable categories will be in the default language of the marketplace.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
brandRefinementId | long | Id of brand. Use /sb/targets/categories/ /refinements to retrieve Brand Refinement IDs |
name | string | Name of Genre |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_TargetingRefinementsForCategory AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_TargetingRefinementsForCategory (
locale => 'en_US',
categoryRefinementId => '3146281'
)
) AS x
v3_Brands_TargetingTargetableASINCounts
Brands - Number of targetable asins based on refinements provided by the user
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<category> (required): The category refinement id. Please use /sb/targets/categories or /sb/recommendations/targets/category to retrieve category IDs
<ageRanges> (optional): List of Age Range Refinement Ids
<brands> (optional): List of Brand Refinement Ids
<genres> (optional): List of Genre Refinement Ids
<isPrimeShipping> (optional): Indicates if products have prime shipping. Leave empty to include both prime shipping and non-prime shipping products
<priceRange_max> (optional): A range of prices. We use this to retrieve the number of targetable ASINs that falls within this price range.. Max
<priceRange_min> (optional): A range of prices. We use this to retrieve the number of targetable ASINs that falls within this price range.. Min
<ratingRange_max> (optional): Rating range is restricted to integers between 0 and 5, inclusive. Min must be less than or equal to max. We use this to retrieve the number of targetable ASINs that falls within this rating range.. Max
<ratingRange_min> (optional): Rating range is restricted to integers between 0 and 5, inclusive. Min must be less than or equal to max. We use this to retrieve the number of targetable ASINs that falls within this rating range.. Min
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
max | integer | Response object for /sb/targets/products/count to get number of targetable asins for refinements provided by the user. Asin counts. Max |
min | integer | Response object for /sb/targets/products/count to get number of targetable asins for refinements provided by the user. Asin counts. Min |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_TargetingTargetableASINCounts AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_TargetingTargetableASINCounts (
ratingRange_min => NULL,
ratingRange_max => NULL,
priceRange_min => NULL,
priceRange_max => NULL,
isPrimeShipping => NULL,
genres => NULL,
category => '3146281',
brands => NULL,
ageRanges => NULL
)
) AS x
v3_Brands_TargetingTargetableCategories
Brands - Targetable categories by default in a list
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<supplySource> (required): The supply source where the target will be used. Use 'AMAZON' for placements on Amazon website. Use 'STREAMING_VIDEO' for off-site video placements such as IMDb TV.
<includeOnlyRootCategories> (optional): Indicates whether to only retun root categories or not.
<locale> (optional): The locale to which the caller wishes to translate the targetable categories or refinements to. For example, if the caller wishes to receive the targetable categories in Simplified Chinese, the locale parameter should be set to zh_CN. If no locale is provided, the returned tagetable categories will be in the default language of the marketplace.
<parentCategoryRefinementId> (optional): Returns child categories of category.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
asinCountRange_max | integer | Category details. Asin count range. Max |
asinCountRange_min | integer | Category details. Asin count range. Min |
categoryRefinementId | long | The category refinement id. Please use /sb/targets/categories or /sb/recommendations/targets/category to retrieve category IDs |
isTargetable | boolean | If the category is targetable or not |
name | string | Name of category |
parentCategoryRefinementId | string | The category refinement id of the parent category. Missing parentCategoryRefinementId signifies this is a root category |
translatedName | string | Translated name of the category |
Example
CREATE VIEW amazon_ads_examples.example_v3_Brands_TargetingTargetableCategories AS
SELECT *
FROM (
CALL amazon_ads.v3_Brands_TargetingTargetableCategories (
supplySource => 'AMAZON',
parentCategoryRefinementId => NULL,
locale => 'en_US',
includeOnlyRootCategories => false
)
) AS x
v3_Display_AdGroups
Display - Ad groups
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter> (optional): optional. The returned array is filtered to include only ad groups with an identifier specified in the comma-delimited list.
<campaignIdFilter> (optional): optional. The returned array is filtered to include only ad groups associated with the campaign identifiers in the specified comma-delimited list.
<name> (optional): optional. The returned array includes only ad groups with the specified name.
<stateFilter> (optional): optional. The returned array is filtered to include only ad groups with state set to one of the values in the specified comma-delimited list.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | Campaign id |
adGroupId | long | The identifier of the ad group |
bidOptimization | string | Bid Optimization for the Adgroup. Default behavior is to optimize for clicks (clicks, conversions, reach) |
creativeType | string | The type of the associated creative. If the field is empty or null, a default value of IMAGE will be used. One ad group only supports one type (VIDEO or IMAGE) of creativeType at a time (IMAGE, VIDEO) |
defaultBid | bigdecimal | The amount of the default bid associated with the ad group. Used if no bid is specified |
name | string | The name of the ad group |
state | string | The state of the ad group (enabled, paused, archived) |
tactic | string | The advertising tactic associated with the campaign. The following table lists available tactic names: (T00020, T00030) |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_AdGroups AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_AdGroups (
stateFilter => NULL,
name => NULL,
campaignIdFilter => NULL,
adGroupIdFilter => NULL
)
) AS x
v3_Display_AdGroupsEx
Display - Ad groups with extended fields
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter> (optional): optional. The returned array is filtered to include only ad groups with an identifier specified in the comma-delimited list.
<campaignIdFilter> (optional): optional. The returned array is filtered to include only ad groups associated with the campaign identifiers in the comma-delimited list.
<name> (optional): optional. The returned array includes only ad groups with the specified name.
<stateFilter> (optional): optional. The returned array is filtered to include only campaigns with state set to one of the values in the comma-delimited list.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The identifier of the campaign that this ad group is associated with |
adGroupId | long | The identifier of the ad group |
bidOptimization | string | Bid optimization type for the Adgroup. Default behavior is to optimize for clicks |
creativeType | string | Object containing an extended set of data fields for an Ad Group. Creative type |
defaultBid | bigdecimal | The amount of the default bid associated with the ad group. Used if no bid is specified |
name | string | The name of the ad group |
servingStatus | string | The status of the ad group |
state | string | The delivery state of the ad group |
tactic | string | Object containing an extended set of data fields for an Ad Group. Tactic |
creationDate | timestamp | Epoch time the ad group was created |
lastUpdatedDate | timestamp | Epoch time any property in the ad group was last updated |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_AdGroupsEx AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_AdGroupsEx (
stateFilter => NULL,
name => NULL,
campaignIdFilter => NULL,
adGroupIdFilter => NULL
)
) AS x
v3_Display_AssociatedBudgetRulesForSDCampaigns
Display - Budget rules associated to a campaign specified by identifier
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignId> (required): The campaign identifier.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
createdDate | timestamp | Epoch time of budget rule creation |
ruleDetails_budgetIncreaseBy_type | string | Object representing details of a budget rule for SD campaign. Budget increase by. Type |
ruleDetails_budgetIncreaseBy_value | bigdecimal | The budget value |
ruleDetails_duration_dateRangeTypeRuleDuration_endDate | date | The end date of the budget rule in YYYYMMDD format. The end date is inclusive. Required to be equal or greater than 'startDate' |
ruleDetails_duration_dateRangeTypeRuleDuration_startDate | date | The start date of the budget rule in YYYYMMDD format. The start date is inclusive. Required to be greater than or equal to current date |
ruleDetails_duration_eventTypeRuleDuration_endDate | date | The event end date in YYYYMMDD format |
ruleDetails_duration_eventTypeRuleDuration_eventId | string | The event identifier. This value is available from the budget rules recommendation API |
ruleDetails_duration_eventTypeRuleDuration_eventName | string | The event name |
ruleDetails_duration_eventTypeRuleDuration_startDate | date | The event start date in YYYYMMDD format. Read-only. Note that this field is present only for announced events |
ruleDetails_name | string | The budget rule name. Required to be unique within a campaign |
ruleDetails_performanceMeasureCondition_comparisonOperator | string | Object representing details of a budget rule for SD campaign. Performance measure condition. Comparison operator |
ruleDetails_performanceMeasureCondition_metricName | string | Object representing details of a budget rule for SD campaign. Performance measure condition. Metric name |
ruleDetails_performanceMeasureCondition_threshold | bigdecimal | The performance threshold value |
ruleDetails_recurrence_daysOfWeek | string | Object representing days of the week for weekly type rule. It is not required for daily recurrence type |
ruleDetails_recurrence_type | string | Object representing details of a budget rule for SD campaign. Recurrence. Type |
ruleDetails_ruleType | string | Object representing details of a budget rule for SD campaign. Rule type |
ruleId | string | The budget rule identifier |
ruleState | string | A list of associated budget rules. Rule state |
ruleStatus | string | The budget rule status |
lastUpdatedDate | timestamp | Epoch time of budget rule update |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_AssociatedBudgetRulesForSDCampaigns AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_AssociatedBudgetRulesForSDCampaigns (
campaignId => 3596529208295
)
) AS x
v3_Display_Campaigns
Display - Campaigns
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignIdFilter> (optional): optional. The returned array includes only campaigns with identifiers matching those specified in the comma-delimited string.
<name> (optional): optional. The returned array includes only campaign with the specified name using an exact string match.
<portfolioIdFilter> (optional): optional. The returned array includes only campaigns associated with Portfolio identifiers matching those specified in the comma-delimited string.
<stateFilter> (optional): optional. The returned array is filtered to include only campaigns with state set to one of the values in the specified comma-delimited list.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
startDate | date | The YYYYMMDD start date of the campaign. The date must be today or in the future |
endDate | date | The YYYYMMDD end date of the campaign |
campaignId | long | Campaign id |
portfolioId | long | Identifier of the portfolio that will be associated with the campaign. If null then the campaign will be disassociated from existing portfolio. Campaigns with CPC and vCPM costType are supported |
budget | bigdecimal | The amount of the budget |
budgetType | string | The time period over which the amount specified in the 'budget' property is allocated (daily) |
costType | string | Determines how the campaign will bid and charge (cpc, vcpm) |
deliveryProfile | string | Delivery profile |
name | string | The name of the campaign |
state | string | The state of the campaign (enabled, paused, archived) |
tactic | string | Tactic |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_Campaigns AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_Campaigns (
stateFilter => NULL,
portfolioIdFilter => NULL,
name => NULL,
campaignIdFilter => NULL
)
) AS x
v3_Display_CampaignsBudgetUsage
Display - Budget usage API for SD campaigns
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignIds> (optional): A list of campaign IDs
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
campaignId | long | ID of requested resource |
budget | bigdecimal | Budget amount of resource requested |
budgetUsagePercent | bigdecimal | Budget usage percentage (spend / available budget) for the given budget policy |
usageUpdatedTimestamp | timestamp | Last evaluation time for budget usage |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_CampaignsBudgetUsage AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_CampaignsBudgetUsage (
campaignIds => '3596529208295,196732711242341,208419107432577,86177859797112,196272866676454,32187588984206,259764566814558,64312238762475,280332764149697,27348002303575,153502994819100,58601385652436,202347550278858,19424168975543,34949649980147,8590245613937,191324228052700,61475939674911,226622844304395,234373157287436,77573516145644,255474181002816,256357968325085,74378024985439,200801484967144,260981620075090,4008842541190,225451317497369,4781654006719,253452072234037,75982135132850,235158729256887'
)
) AS x
v3_Display_CampaignsEx
Display - Campaigns with extended fields
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignIdFilter> (optional): optional. The returned array includes only campaigns with identifiers matching those specified in the comma-delimited string.
<name> (optional): optional. The returned array includes only campaign with the specified name using an exact string match.
<portfolioIdFilter> (optional): optional. The returned array includes only campaigns associated with Portfolio identifiers matching those specified in the comma-delimited string.
<stateFilter> (optional): optional. The returned array is filtered to include only campaigns with state set to one of the values in the specified comma-delimited list.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
startDate | date | The YYYYMMDD start date of the campaign. The date must be today or in the future |
campaignId | long | The identifier of the campaign |
portfolioId | long | Identifier of the portfolio that will be associated with the campaign. If null then the campaign will be disassociated from existing portfolio. Campaigns with CPC and vCPM costType are supported |
budget | bigdecimal | The amount of the budget |
budgetType | string | The time period over which the amount specified in the 'budget' property is allocated |
costType | string | Determines how the campaign will bid and charge |
deliveryProfile | string | |
name | string | The name of the campaign |
servingStatus | string | The status of the campaign |
state | string | The state of the campaign |
tactic | string | Tactic |
creationDate | timestamp | Epoch date the campaign was created |
lastUpdatedDate | timestamp | Epoch date of the last update to any property associated with the campaign |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_CampaignsEx AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_CampaignsEx (
stateFilter => NULL,
portfolioIdFilter => NULL,
name => NULL,
campaignIdFilter => '3596529208295,196732711242341,208419107432577,86177859797112,196272866676454,32187588984206,259764566814558,64312238762475,280332764149697,27348002303575,153502994819100,58601385652436,202347550278858,19424168975543,34949649980147,8590245613937,191324228052700,61475939674911,226622844304395,234373157287436,77573516145644,255474181002816,256357968325085,74378024985439,200801484967144,260981620075090,4008842541190,225451317497369,4781654006719,253452072234037,75982135132850,235158729256887'
)
) AS x
v3_Display_CreativeModerations
Display - Creative moderations
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<language> (required): The language of the returned creative moderation metadata.
<adGroupIdFilter> (optional): The returned array includes only creative moderations associated with ad group identifiers matching those specified in the comma-delimited string. Cannot be used in conjunction with the 'creativeIdFilter' parameter.
<creativeIdFilter> (optional): The returned array includes only creative moderations with creative identifiers matching those specified in the comma-delimited string. Cannot be used in conjunction with the 'adGroupIdFilter' parameter.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
creativeId | string | Unique identifier of the creative |
creativeType | string | System generated Creative moderation. Creative type |
etaForModeration | timestamp | Expected date and time by which moderation will be complete |
moderationStatus | string | The moderation status of the creative |
policyViolation_EvidenceType | string | |
policyViolation_policyDescription | string | |
policyViolation_policyLinkUrl | string | |
policyViolation_reviewedImageUrl | string | |
policyViolation_reviewedText | string | |
policyViolation_reviewedVideoUrl | string | |
policyViolation_ViolatingType | string | |
violatingImageCrop_height | string | |
violatingImageCrop_topLeftX | string | |
violatingImageCrop_topLeftY | string | |
violatingImageCrop_width | string | |
violatingText | string | The specific text determined to violate the specified policy in reviewedText |
violatingTextPosition_end | string | |
violatingTextPosition_start | string | |
violatingVideoPosition_end | string | |
violatingVideoPosition_start | string |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_CreativeModerations AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_CreativeModerations (
"language" => 'en-US',
creativeIdFilter => NULL,
adGroupIdFilter => '13532069251370,20161789742160,31213372275690,271182007947808,250809101700279,150873619468220,33849572167056,46541968833697,256754756022185,238586631238485,11313124680469,105333218503311,98585344411536,138945376567087,7398938385581,175250240444481,231686132723110,57850771309890,263136924547994,175499077458474,142007241437584,37824498988916,123100390047355,160360078093955,93347119385230,281241286586502,254300383575139,226969132224001,280420768371769,212152249835052,175121238112136,275067425187784'
)
) AS x
v3_Display_Creatives
Display - Creatives
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter> (optional): The returned array includes only creatives associated with ad group identifiers matching those specified in the comma-delimited string. Cannot be used in conjunction with the 'creativeIdFilter' parameter.
<creativeIdFilter> (optional): The returned array includes only creatives with identifiers matching those specified in the comma-delimited string. Cannot be used in conjunction with the 'adGroupIdFilter' parameter.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adGroupId | long | Creative model. Ad group id |
creativeId | string | Unique identifier of the creative |
creativeType | string | Creative model. Creative type |
moderationStatus | string | The moderation status of the creative |
properties_brandLogo_assetId | string | |
properties_brandLogo_assetVersion | string | |
properties_brandLogo_croppingCoordinates_height | string | |
properties_brandLogo_croppingCoordinates_left | string | |
properties_brandLogo_croppingCoordinates_top | string | |
properties_brandLogo_croppingCoordinates_width | string | |
properties_video_assetId | string | |
properties_video_assetVersion | string |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_Creatives AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_Creatives (
creativeIdFilter => NULL,
adGroupIdFilter => '13532069251370,20161789742160,31213372275690,271182007947808,250809101700279,150873619468220,33849572167056,46541968833697,256754756022185,238586631238485,11313124680469,105333218503311,98585344411536,138945376567087,7398938385581,175250240444481,231686132723110,57850771309890,263136924547994,175499077458474,142007241437584,37824498988916,123100390047355,160360078093955,93347119385230,281241286586502,254300383575139,226969132224001,280420768371769,212152249835052,175121238112136,275067425187784'
)
) AS x
v3_Display_Domains
Display - Websites/apps that are on the advertiser's Brand Safety Deny List
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
createdAt | timestamp | The date time the domain was created at. Format YYYY-MM-ddT:HH:mm:ssZ |
domainId | string | The identifier of the Brand Safety List domain |
lastModified | timestamp | The date time the domain was last modified. Format YYYY-MM-ddT:HH:mm:ssZ |
name | string | The website or app identifier. This can be in the form of full domain (eg. 'example.com' or 'example.net '), or mobile app identifier (eg. 'com.example.app' for Android apps or '1234567890' for iOS apps) |
state | string | List of Brand Safety Deny List Domains. State |
type | string | List of Brand Safety Deny List Domains. Type |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_Domains AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_Domains ()
) AS x
v3_Display_NegativeTargetingClauses
Display - Negative targeting clauses
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter> (optional): optional list of comma separated adGroupIds. Restricts results to negative targeting clauses with the specified 'adGroupId'.
<campaignIdFilter> (optional): optional. Restricts results to targeting clauses within campaigns specified in comma-separated list.
<stateFilter> (optional): optional. Restricts results to those with state within the specified comma-separated list. Must be one of: 'enabled', 'paused', or 'archived'. Default behavior is to include enabled, paused, and archived.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adGroupId | long | Ad group id |
expression | string | The expression to negatively match against |
resolvedExpression | string | The resolved negative targeting expression |
state | string | All of. State (enabled, paused, archived) |
targetId | string | Target id |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_NegativeTargetingClauses AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_NegativeTargetingClauses (
stateFilter => NULL,
campaignIdFilter => '3596529208295,196732711242341,208419107432577,86177859797112,196272866676454,32187588984206,259764566814558,64312238762475,280332764149697,27348002303575,153502994819100,58601385652436,202347550278858,19424168975543,34949649980147,8590245613937,191324228052700,61475939674911,226622844304395,234373157287436,77573516145644,255474181002816,256357968325085,74378024985439,200801484967144,260981620075090,4008842541190,225451317497369,4781654006719,253452072234037,75982135132850,235158729256887',
adGroupIdFilter => NULL
)
) AS x
v3_Display_NegativeTargetingClausesEx
Display - Negative targeting clause objects with extended fields
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter> (optional): optional list of comma separated adGroupIds. Restricts results to negative targeting clauses with the specified 'adGroupId'.
<campaignIdFilter> (optional): optional. Restricts results to ads within campaigns specified in the comma-separated list.
<stateFilter> (optional): optional. Restricts results to keywords with state within the specified comma-separated list. Must be one of: 'enabled', 'paused', or 'archived'. Default behavior is to include 'enabled', 'paused', and 'archived'.
<targetIdFilter> (optional): optional. Restricts results to ads with the specified 'tagetId' specified in comma-separated list
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adGroupId | long | Ad group id |
expression | string | The expression to negatively match against |
servingStatus | string | The status of the target |
state | string | State |
targetId | string | Target id |
creationDate | timestamp | Epoch date the target was created |
lastUpdatedDate | timestamp | Epoch date of the last update to any property associated with the target |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_NegativeTargetingClausesEx AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_NegativeTargetingClausesEx (
targetIdFilter => NULL,
stateFilter => NULL,
campaignIdFilter => '3596529208295,196732711242341,208419107432577,86177859797112,196272866676454,32187588984206,259764566814558,64312238762475,280332764149697,27348002303575,153502994819100,58601385652436,202347550278858,19424168975543,34949649980147,8590245613937,191324228052700,61475939674911,226622844304395,234373157287436,77573516145644,255474181002816,256357968325085,74378024985439,200801484967144,260981620075090,4008842541190,225451317497369,4781654006719,253452072234037,75982135132850,235158729256887',
adGroupIdFilter => NULL
)
) AS x
v3_Display_OptimizationRules
Display - Optimization rules
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter> (optional): optional. The returned array is filtered to include only optimization rules associated with the ad group identifiers in the comma-delimited list. Maximum size limit 50.
<name> (optional): optional. The returned array includes only optimization rules with the specified name using an exact string match.
<optimizationRuleIdFilter> (optional): optional. The returned array is filtered to include only optimization rules associated with the optimization rule identifiers in the specified comma-delimited list. Maximum size limit 50.
<stateFilter> (optional): optional. The returned array is filtered to include only optimization rules with state set to one of the values in the specified comma-delimited list.
Available values: enabled, paused [COMING LATER], enabled, paused [COMING LATER]
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
ruleId | string | Rule id |
ruleName | string | The name of the optimization rule |
state | string | The state of the optimization rule (enabled, paused [COMING LATER]) |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_OptimizationRules AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_OptimizationRules (
stateFilter => NULL,
optimizationRuleIdFilter => NULL,
name => NULL,
adGroupIdFilter => NULL
)
) AS x
v3_Display_Product
Ads Display - Product ads
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter> (optional): optional. The returned array is filtered to include only products ads associated with ad groups identifiers in the comma-delimited list.
<adIdFilter> (optional): optional. The returned array includes only product ads with identifiers matching those in the comma-delimited string.
<campaignIdFilter> (optional): optional. The returned array is filtered to include only product ads associated with the campaign identifiers in the comma-delimited list.
<stateFilter> (optional): optional. The returned array is filtered to include only products ads associated with campaigns that have state set to one of the values in the comma-delimited list.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
asin | string | The ASIN of the product advertised by the product ad |
sku | string | The SKU of the product advertised by the product ad |
campaignId | long | Campaign id |
adGroupId | long | The identifier of the ad group |
adId | long | Ad id |
adName | string | This operation is a PREVIEW ONLY. The name of the ad. Note that this field is not supported when using ASIN or SKU fields |
landingPageType | string | Landing page type |
landingPageURL | string | Landing page u r l |
state | string | The state of the campaign associated with the product ad (enabled, paused, archived) |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_ProductAds AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_ProductAds (
stateFilter => NULL,
campaignIdFilter => '3596529208295,196732711242341,208419107432577,86177859797112,196272866676454,32187588984206,259764566814558,64312238762475,280332764149697,27348002303575,153502994819100,58601385652436,202347550278858,19424168975543,34949649980147,8590245613937,191324228052700,61475939674911,226622844304395,234373157287436,77573516145644,255474181002816,256357968325085,74378024985439,200801484967144,260981620075090,4008842541190,225451317497369,4781654006719,253452072234037,75982135132850,235158729256887',
adIdFilter => NULL,
adGroupIdFilter => NULL
)
) AS x
v3_Display_ProductAdsEx
Display - Product ads with extended fields
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter> (optional): optional. The returned array is filtered to include only products ads associated with ad groups identifiers in the comma-delimited list.
<adIdFilter> (optional): optional. The returned array includes only product ads with identifiers matching those in the comma-delimited string.
<campaignIdFilter> (optional): optional. The returned array is filtered to include only product ads associated with the campaign identifiers in the comma-delimited list.
<stateFilter> (optional): optional. The returned array is filtered to include only campaigns with state set to one of the values in the specified comma-delimited list.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
asin | string | The ASIN of the product being advertised |
sku | string | The SKU of the product being advertised |
campaignId | long | The identifier of the campaign associated with the ad |
adGroupId | long | The identifier of the ad group associated with the ad |
adId | long | The identifier of the ad |
adName | string | Ad name |
landingPageType | string | Landing page type |
landingPageURL | string | Landing page u r l |
servingStatus | string | The status of the product ad |
state | string | The state of the product ad |
creationDate | timestamp | Epoch date the product ad was created |
lastUpdatedDate | timestamp | Epoch date of the last update to any property associated with the product ad |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_ProductAdsEx AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_ProductAdsEx (
stateFilter => NULL,
campaignIdFilter => '3596529208295,196732711242341,208419107432577,86177859797112,196272866676454,32187588984206,259764566814558,64312238762475,280332764149697,27348002303575,153502994819100,58601385652436,202347550278858,19424168975543,34949649980147,8590245613937,191324228052700,61475939674911,226622844304395,234373157287436,77573516145644,255474181002816,256357968325085,74378024985439,200801484967144,260981620075090,4008842541190,225451317497369,4781654006719,253452072234037,75982135132850,235158729256887',
adIdFilter => NULL,
adGroupIdFilter => NULL
)
) AS x
v3_Display_RequestStatus
Display - Status of all requests
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
requestId | string | Request ID |
status | string | The status of the request (IN_PROGRESS, COMPLETED, FAILURE) |
statusDetails | string | Details related to the request status |
timestamp | string | Request timestamp |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_RequestStatus AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_RequestStatus ()
) AS x
v3_Display_SDBudgetRulesForAdvertiser
Display - All budget rules created by an advertiser
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
createdDate | timestamp | Epoch time of budget rule creation |
ruleDetails_budgetIncreaseBy | string | Object representing details of a budget rule for SD campaign. Budget increase by |
ruleDetails_duration | string | Object representing details of a budget rule for SD campaign. Duration |
ruleDetails_name | string | The budget rule name. Required to be unique within a campaign |
ruleDetails_performanceMeasureCondition | string | Object representing details of a budget rule for SD campaign. Performance measure condition |
ruleDetails_recurrence | string | Object representing details of a budget rule for SD campaign. Recurrence |
ruleDetails_ruleType | string | Object representing details of a budget rule for SD campaign. Rule type |
ruleId | string | The budget rule identifier |
ruleState | string | A list of rules created by the advertiser. Rule state |
ruleStatus | string | The budget rule status |
lastUpdatedDate | timestamp | Epoch time of budget rule update |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_SDBudgetRulesForAdvertiser AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_SDBudgetRulesForAdvertiser ()
) AS x
v3_Display_TargetBidRecommendations
Display - Bid recommendations for targeting clauses
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<costType> (required): Determines what performance metric the bid recommendations will be optimized for (cpc, vcpm)
<bidOptimization> (required): Determines what the recommended bids will be optimized for (clicks, conversions, reach)
<creativeType> (optional): The type of the associated creative. If the field is empty or null, a default value of IMAGE will be used. Only supports one type (VIDEO or IMAGE) at a time (IMAGE, VIDEO)
<products_asin> (optional): Amazon Standard Identification Number
<targetingClause_expressionType> (optional): Tactic T00020 ad groups only allow manual targeting (manual, auto)
<targetingClause_expression_type_value_description> (optional): A CSV list formatted as type,value,description|type,value,description|... with predicates to match against in the Targeting Expression (only applicable to Product targeting - T00020). Type (asinSameAs, asinCategorySameAs, asinBrandSameAs, asinPriceBetween, asinPriceGreaterThan, asinPriceLessThan, asinReviewRatingLessThan, asinReviewRatingGreaterThan, asinReviewRatingBetween, asinIsPrimeShippingEligible, asinAgeRangeSameAs, asinGenreSameAs, similarProduct)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
bidOptimization | string | Response to a request for targeting bid recommendations. Bid optimization |
code | string | The HTTP status code of this item |
costType | string | Response to a request for targeting bid recommendations. Cost type |
details | string | A human-readable description of the response |
rangeLower | integer | The lowest recommended bid to use to win an ad placement for this target |
rangeUpper | bigdecimal | The highest recommended bid to use to win an ad placement for this target |
recommended | bigdecimal | The recommended bid to use to win an ad placement for this target |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_TargetBidRecommendations AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_TargetBidRecommendations (
targetingClause_expression_type_value_description => 'views,,',
targetingClause_expressionType => 'manual',
products_asin => 'B07HRXD2H9,B0922XQ67M,B07HRWPDX8,B07CCGJZNR,B01ENGPKY2,B079ZZ83VT,B07HRWXDHM,B0922XFSVP,B01LEV9I8I,B01DNUKYXG,B09LRDRWL4,B01LEV9I8I,B09LRDRWL4,B06XJ9FGP8,B07G2M52CB,B083QKXFBR,B01EN5QHT0,B01DNUKYXG,B07V3T31YX,B07V6ZMSVP,B01DNUKYFE,B07V5WP1SR,B07V6ZMSVP,B081K3SX8S,B07HRXD2H9,B0922XQ67M,B091J5C4VK,B091FT9RFZ,B0922XFSVP,B091J5RDJ5,B08V5MH5G2,B08V5LBXJ6,B091J2576D,B091J11174,B07HRXD2H9,B07HH8B1DZ,B07YF1D5S3,B07YF1J4JX,B07HH71RP7,B07YDYTTK4,B07YF1D5S3,B083QM754H,B08NPC15BW,B08NPNCYZR,B083QKXFBR,B08NPHJVM6,B08NPC15BW,B01LCZY0WU,B07NYR544S,B07NYRBGLH,B09W2ZWSWL,B01LCZXZWQ,B07NYS5GRB,B083F4VWZB,B083F4XFWJ,B07G2PVFXH,B07VQVM7XN,B07VLHHXW6,B09W31WDFB,B07G2M52CB,B07VPQLHKF,B07VQVM7XN,B01ENG0WTA,B07NYR6XD3,B07NXTZ769,B01ENG0WRW,B07NYR77XF,B07NYR6XD3,B09167ZD3R,B07G4GMK5R,B08T5M7VWF,B01DMCV7EU,B01MTNXU97,B01MQKHVOA,B07B553PPQ,B01N0FAUD3,B01LBDBKZ8,B01EN5QHQI,B01DNUKYCC,B01DW9OF4M,B01EN4XKH8,B08YKJD97G,B083QM8YT9,B07HH7PL16,B01DNYHRM8,B07LCSBNNR,B01DO14KEI,B01MXT2FVC,B07G2P31WR,B01ENA14FW,B01MTOZ16V,B08V5J5SBH,B08THKXTST,B01ENG0WTU,B01LBDSRIG,B01LBFKGB0,B06XJBBBRJ,B06XJ6M9CD,B06XJ8J8XT,B07MMWVG3X',
creativeType => NULL,
costType => 'cpc',
bidOptimization => 'conversions'
)
) AS x
v3_Display_TargetRecommendations
Display - Recommended products and categories to target
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<typeFilter> (required): Signifies a type of recommendation. PRODUCT and CATEGORY are supported by tactic T00020. CATEGORY and AUDIENCE are supported by tactic T00030 (PRODUCT, CATEGORY, AUDIENCE)
<tactic> (required): The advertising tactic associated with the campaign. The following table lists available tactic names: (T00020, T00030)
<products_asin> (required): Amazon Standard Identification Number
<locale> (optional): The requested locale from query parameter to return translated category recommendations.
<themes_product_expression_type> (optional): The contextual targeting grammar used to define the targeting theme. Note asinAsBestSeller is currently not supported (asinPriceGreaterThan, asinReviewRatingLessThan, asinGlanceViewsGreaterThan, asinBrandSameAs)
<themes_product_name> (optional): This is the meaningful theme name which will be used as a unique identifier across various themes in the same request
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
asin | string | A recommended product to target ads on. Asin |
advertisedAsins | string | The top advertised products this recommendation is made for |
audience | string | A recommended standard Amazon audience to target ads on. Audience |
category | string | List of recommended standard Amazon audience targets of a specific audience category. Category |
code | string | |
errorMessage | string | |
name | string | The category name |
path | string | The path of the category within the category catalogue |
rank | integer | A rank to signify which recommendations are weighed more heavily, with a lower rank signifying a stronger recommendation |
targetableAsinCountRange_rangeLower | string | |
targetableAsinCountRange_rangeUpper | string | |
translatedName | string | The translated category name by requested locale, field will not be provided if locale is not provided or campaign localization service is down |
translatedPath | string | The translated path of the category within the category catalogue by requested locale, field will not be provided if locale is not provided or campaign localization is down |
type | string |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_TargetRecommendations AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_TargetRecommendations (
typeFilter => 'PRODUCT,CATEGORY',
themes_product_name => NULL,
themes_product_expression_type => NULL,
tactic => 'T00020',
products_asin => 'B07HRXD2H9,B0922XQ67M,B07HRWPDX8,B07CCGJZNR,B01ENGPKY2,B079ZZ83VT,B07HRWXDHM,B0922XFSVP,B01LEV9I8I,B01DNUKYXG,B09LRDRWL4,B01LEV9I8I,B09LRDRWL4,B06XJ9FGP8,B07G2M52CB,B083QKXFBR,B01EN5QHT0,B01DNUKYXG,B07V3T31YX,B07V6ZMSVP,B01DNUKYFE,B07V5WP1SR,B07V6ZMSVP,B081K3SX8S,B07HRXD2H9,B0922XQ67M,B091J5C4VK,B091FT9RFZ,B0922XFSVP,B091J5RDJ5,B08V5MH5G2,B08V5LBXJ6,B091J2576D,B091J11174,B07HRXD2H9,B07HH8B1DZ,B07YF1D5S3,B07YF1J4JX,B07HH71RP7,B07YDYTTK4,B07YF1D5S3,B083QM754H,B08NPC15BW,B08NPNCYZR,B083QKXFBR,B08NPHJVM6,B08NPC15BW,B01LCZY0WU,B07NYR544S,B07NYRBGLH,B09W2ZWSWL,B01LCZXZWQ,B07NYS5GRB,B083F4VWZB,B083F4XFWJ,B07G2PVFXH,B07VQVM7XN,B07VLHHXW6,B09W31WDFB,B07G2M52CB,B07VPQLHKF,B07VQVM7XN,B01ENG0WTA,B07NYR6XD3,B07NXTZ769,B01ENG0WRW,B07NYR77XF,B07NYR6XD3,B09167ZD3R,B07G4GMK5R,B08T5M7VWF,B01DMCV7EU,B01MTNXU97,B01MQKHVOA,B07B553PPQ,B01N0FAUD3,B01LBDBKZ8,B01EN5QHQI,B01DNUKYCC,B01DW9OF4M,B01EN4XKH8,B08YKJD97G,B083QM8YT9,B07HH7PL16,B01DNYHRM8,B07LCSBNNR,B01DO14KEI,B01MXT2FVC,B07G2P31WR,B01ENA14FW,B01MTOZ16V,B08V5J5SBH,B08THKXTST,B01ENG0WTU,B01LBDSRIG,B01LBFKGB0,B06XJBBBRJ,B06XJ6M9CD,B06XJ8J8XT,B07MMWVG3X',
locale => 'en_US'
)
) AS x
v3_Display_TargetingClauses
Display - Targeting clauses
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter> (optional): optional list of comma separated adGroupIds. Restricts results to targeting clauses with the specified 'adGroupId'.
<campaignIdFilter> (optional): optional. Restricts results to targeting clauses within campaigns specified in comma-separated list.
<stateFilter> (optional): optional. Restricts results to those with 'state' set to values in the specified comma-separated list.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adGroupId | long | Ad group id |
bid | string | The bid will override the adGroup bid if specified. This field is not used for negative targeting clauses. The bid must be less than the maximum allowable bid for the campaign's marketplace; for a list of maximum allowable bids, find the “Bid constraints by marketplace" table in the documentation overview. You cannot manually set a bid when the targeting clause's adGroup has an enabled optimization rule |
expression | string | The targeting expression to match against |
resolvedExpression | string | The resolved targeting expression |
state | string | All of. State (enabled, paused, archived) |
targetId | string | Target id |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_TargetingClauses AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_TargetingClauses (
stateFilter => NULL,
campaignIdFilter => '3596529208295,196732711242341,208419107432577,86177859797112,196272866676454,32187588984206,259764566814558,64312238762475,280332764149697,27348002303575,153502994819100,58601385652436,202347550278858,19424168975543,34949649980147,8590245613937,191324228052700,61475939674911,226622844304395,234373157287436,77573516145644,255474181002816,256357968325085,74378024985439,200801484967144,260981620075090,4008842541190,225451317497369,4781654006719,253452072234037,75982135132850,235158729256887',
adGroupIdFilter => NULL
)
) AS x
v3_Display_TargetingClausesEx
Display - Targeting clause objects with extended fields
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter> (optional): optional list of comma separated adGroupIds. Restricts results to targeting clauses with the specified 'adGroupId'.
<campaignIdFilter> (optional): optional. Restricts results to ads within campaigns specified in comma-separated list.
<stateFilter> (optional): optional. Restricts results to keywords with state within the specified comma-separated list. Must be one of: 'enabled', 'paused', or 'archived'. Default behavior is to include enabled, paused, and archived.
<targetIdFilter> (optional): optional. Restricts results to ads with the specified 'tagetId' specified in comma-separated list
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
adGroupId | long | Ad group id |
bid | bigdecimal | If a value for 'bid' is specified, it overrides the current adGroup bid. When using vcpm costType. $1 is the minimum bid for vCPM. Note that this field is ignored for negative targeting clauses |
expression | string | Expression |
resolvedExpression | string | Resolved expression |
servingStatus | string | The status of the target |
state | string | State |
targetId | string | Target id |
creationDate | timestamp | Epoch date the target was created |
lastUpdatedDate | timestamp | Epoch date of the last update to any property associated with the target |
Example
CREATE VIEW amazon_ads_examples.example_v3_Display_TargetingClausesEx AS
SELECT *
FROM (
CALL amazon_ads.v3_Display_TargetingClausesEx (
targetIdFilter => NULL,
stateFilter => NULL,
campaignIdFilter => '3596529208295,196732711242341,208419107432577,86177859797112,196272866676454,32187588984206,259764566814558,64312238762475,280332764149697,27348002303575,153502994819100,58601385652436,202347550278858,19424168975543,34949649980147,8590245613937,191324228052700,61475939674911,226622844304395,234373157287436,77573516145644,255474181002816,256357968325085,74378024985439,200801484967144,260981620075090,4008842541190,225451317497369,4781654006719,253452072234037,75982135132850,235158729256887',
adGroupIdFilter => NULL
)
) AS x
v3_Products_AdGroups
Products - Ad Groups
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter_include> (optional): Filter entities by the list of objectIds
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<campaignTargetingTypeFilter> (optional): Campaign targeting type filter. Sponsored products targeting type (AUTO, MANUAL)
<nameFilter_include> (optional): Filter entities by name
<nameFilter_queryTermMatchType> (optional): Match type for query filters (BROAD_MATCH, EXACT_MATCH)
<stateFilter_include> (optional): The current resource state (ENABLED, PAUSED, ARCHIVED, ENABLING, USER_DELETED, OTHER)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The identifier of the campaign to which the keyword is associated |
adGroupId | long | The identifier of the keyword |
defaultBid | bigdecimal | A bid value for use when no bid is specified for keywords in the ad group |
extendedData_creationDateTime | timestamp | Creation date in ISO 8601 |
extendedData_lastUpdateDateTime | timestamp | Last updated date in ISO 8601 |
extendedData_servingStatus | string | Ad groups. Extended data. Serving status |
name | string | The name of the ad group |
state | string | Ad groups. State |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_AdGroups AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_AdGroups (
stateFilter_include => NULL,
nameFilter_queryTermMatchType => NULL,
nameFilter_include => NULL,
campaignTargetingTypeFilter => NULL,
campaignIdFilter_include => NULL,
adGroupIdFilter_include => NULL
)
) AS x
v3_Products_AssociatedBudgetRulesForSPCampaigns
Products - Budget rules associated to a campaign specified by identifier
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignId> (required): The campaign identifier.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
createdDate | timestamp | Epoch time of budget rule creation |
ruleDetails_budgetIncreaseBy_type | string | Object representing details of a budget rule for SP campaign. Budget increase by. Type |
ruleDetails_budgetIncreaseBy_value | bigdecimal | The budget value |
ruleDetails_duration_dateRangeTypeRuleDuration_endDate | date | The end date of the budget rule in YYYYMMDD format. The end date is inclusive. Required to be equal or greater than 'startDate' |
ruleDetails_duration_dateRangeTypeRuleDuration_startDate | date | The start date of the budget rule in YYYYMMDD format. The start date is inclusive. Required to be greater than or equal to current date |
ruleDetails_duration_eventTypeRuleDuration_endDate | date | The event end date in YYYYMMDD format |
ruleDetails_duration_eventTypeRuleDuration_eventId | string | The event identifier. This value is available from the budget rules recommendation API |
ruleDetails_duration_eventTypeRuleDuration_eventName | string | The event name |
ruleDetails_duration_eventTypeRuleDuration_startDate | date | The event start date in YYYYMMDD format. Read-only. Note that this field is present only for announced events |
ruleDetails_name | string | The budget rule name. Required to be unique within a campaign |
ruleDetails_performanceMeasureCondition_comparisonOperator | string | Object representing details of a budget rule for SP campaign. Performance measure condition. Comparison operator |
ruleDetails_performanceMeasureCondition_metricName | string | Object representing details of a budget rule for SP campaign. Performance measure condition. Metric name |
ruleDetails_performanceMeasureCondition_threshold | bigdecimal | The performance threshold value |
ruleDetails_recurrence_daysOfWeek | string | Object representing days of the week for weekly type rule. It is not required for daily recurrence type |
ruleDetails_recurrence_type | string | Object representing details of a budget rule for SP campaign. Recurrence. Type |
ruleDetails_ruleType | string | Object representing details of a budget rule for SP campaign. Rule type |
ruleId | string | The budget rule identifier |
ruleState | string | A list of associated budget rules. Rule state |
ruleStatus | string | The budget rule evaluation status |
lastUpdatedDate | timestamp | Epoch time of budget rule update |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_AssociatedBudgetRulesForSPCampaigns AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_AssociatedBudgetRulesForSPCampaigns (
campaignId => 81002320838825
)
) AS x
v3_Products_BudgetRecommendations
Products - Recommended daily budget and estimated missed opportunities for campaigns
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignIds> (required): List of campaigns
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | encrypted campaignId |
budgetRuleRecommendation_ruleId | string | |
budgetRuleRecommendation_ruleName | string | |
budgetRuleRecommendation_suggestedBudgetIncreasePercent | string | |
index | integer | Correlate the recommendation to the campaign index in the request. Zero-based |
sevenDaysMissedOpportunities_endDate | string | |
sevenDaysMissedOpportunities_estimatedMissedClicksLower | string | |
sevenDaysMissedOpportunities_estimatedMissedClicksUpper | string | |
sevenDaysMissedOpportunities_estimatedMissedImpressionsLower | string | |
sevenDaysMissedOpportunities_estimatedMissedImpressionsUpper | string | |
sevenDaysMissedOpportunities_estimatedMissedSalesLower | string | |
sevenDaysMissedOpportunities_estimatedMissedSalesUpper | string | |
sevenDaysMissedOpportunities_percentTimeInBudget | string | |
sevenDaysMissedOpportunities_startDate | string | |
suggestedBudget | bigdecimal | The suggested budget value for the campaign |
Error_code | string | The HTTP status code of the response |
Error_details | string | A human-readable description of the response |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_BudgetRecommendations AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_BudgetRecommendations (
campaignIds => '81002320838825,139739708059936,192383770543505,183729298991161,60563471854251,226958438922324,176771942280373,249414770058102,103445002995929,72642803464766,79918354699586,81397930295225,84233775537863,84931138387724,183449303725334,171710531707658,161596668061264,269257712631440,239804780055055,183648735513897,243066043702367,76639932389729,239009527896164,177079036785557,265326047979138,121888533386034,197279224125873,175527415951434,39883225367013,205601342364807,123090687966124,21043528251535,191355054220834,58671932710039,33634424645534,190597853929654,240530973521770,155108921507427,268051228813012,37900319581836,132250551106750,163777300343578,160007257145364,213886517123701,39311656077910,153333910294066,197896311971515,163044857402358,100392559483537,67217339764223,175140907878089,44562729344356,276546790004480,180536794158116,104240984732992,50591717098999,51831570737030,118484091781824,210950954979025,46367306159693,200988163438810,24897650070646,39686480689556,230065155853152,198223241999431,275473789414183,248288706135637,94621312356087,103241489961288,98772565801078,270316391571922,78337923694035,133336841479877,135252020761198,254998132326167,180936194519914,114968756673633,235742165314264,58258435271910,53369268534828,185967812182793,10318734852913,227580355751070,276687270800578,245012737307987,124137420393288,24761905847962,116225042427922,109031557633438,20976884437654,60024867014939,63722631626932,98310450666783,17492451054253,164674634950554,271337556815576,184872979216794,225341504486695,272290597965877,114176040540328,256843826169122,30276585294940,252810328862297,177288868668966,53618980333851,111455258890070,118844927501151,94087356166285,24585891756553,170980696035647,231834244548369,58698762277618,5050919205803,232939170435742,181483446717060,55934732646088,63377861204071,218909602102294,82617984399080,152263668581868,215142641876327,266475569111374,20966865665923,20386203066259,10535457237947,136503523136921,106704021290178,43659241173368,125781128263508,98807892427113,251696275785662,89347544997455,172725313402254,276062492936145,143559159329624,247668502284746,248415034757913,16745411162008,14795109587805,189296444296839,88383927401896,87883097464028,35705723441033,56416102689496,278491578807473,43749446624579,9048056288094,238371918470584,197960166479049,169475069274252,135045180126148,150355221184252,38574764915049,103013476203983,274410115003189,175527883739528,150171026865394,123651133312257,235408001076046,67650544668798,165226410192851,204212885576357,196278878824291,53061252106327,149936880966213,218598000890704,185823348707217,144329027634084,62089390949530,193466610858758,50913232409713,159466930207401,55979354619102,29190448175457,173355780405336,37589423811526,51261453001663,28713650094960,2458763800995,264965113201819,60523609538630,46593862195047,117033676601295,111858270247674,262122616124552,280296607706284,6354627491446,9892346330218,75923267582562,149650445859222,104605103916296,275587369750476,32050809773473,103861669476899,255027026499491,29112046175667,135346124079893,22685708677036,151556848852171,107067022804009,176647570599767,240318380553799,210662869632232,106309788201372,279419510926044,251999191437648,263221298337862,223132475392194,75682086305696,209192737275868,62850111534776,123919153218807,30961376181031,236021558537870,10836488890413,145823921775790,149174422194032,187195186793729,66494214325461,39395766491941,16890732487045,86855128031929,24548876261381,159717201317908,225022591910531,119294403948031,48876143288491,108550540851371,165851214654296,106465423754431,210192940551664,185523379053597,113578554726608,181203266137038,203003514078206,60297881919811,89299054653572,141606615982425,171939864591073,187173696671398,188479396794533,280261378957809,228163543914042,63806661300051,24135111936437,102092316397027,262946278488252,174535155575632,115393069881653,81151693123240,190069887897699,205712092395231,91929874923811,219715803405092,132945965264343,130962402178371,108992576845019,153489888840636,102343032838598,11501286360249,162549491620923,128138728799818,93210880199048,170541190369293,258186876066759,132019381215325,62331882245623,52981162706633,194892063871315,254023276160136,219611814757020,203721717972336,174071240654586,120756869443389,51972050316130,270061342822281,225114124525039,180860693532471,50764762391207,179994107702863,239371441987808,6876775474136,270850706292263,152626265589069,137854480172183,93883389935394,7124722670843,218469760855664,238341663493102,197191889589873,110805099700871,149558428949717,37376565389035,186613313946845,132676479831099,261451772722216,213805270425691,138357882528571,7829018723478,123769313223888,256574166434526,222357892528142,253775466879785,185504751818991,11404558948013,231103469644779,198494978188280,277416028186517,208518770666789,18633754037697,169527504675722,129275970939916,259612483669739,76567085411446,177535875071778,195655503196783,256607586448423,242656413978963,80366710995311,34378543410608,75393387729296,143668583373306,88673208866205,266728494684292,45321311881437,251156387190330,169125892619260,217816552520478,129501641410695,98486652107104,29721347521341,148318634003953,50596347248098,229847179882603,149756868595053,126308200523072,229242264170685,174008255802942,197895691224637,164571679574369,85519213181026,180802688843189,217046523551343,277847827833362,71932362376466,132877263805545,183574353810661,71922121379215,6430443237493,203895087438196,87475251556444,63636953865870,270513481664601,2662789780889,238644539782037,12666637888681,73492690177093,138817417123185,176724079686998,239857571695347,148297255962670,101081960748305,251441762637480,127918327924965,166924438379339,69526350632741,195474804218322,210803490040521,57615669598154,264423474856448,128980303140938,265023544415402,76782250504072,80989954592058,260382679487189,128505687446771,27854811193246,22936687206777,57600981515292,166948736426089,127043197314550,255885703200581,120752086426790,213139388032896,100681490326478,240474088318075,129441493715084,175357326569561,271688940749484,220208069178266,143542318926584,174718094839426,782145188918,110905218402071,205753974687237,119981441455205,255878953897672,44063852371860,137763186236896,122919164004021,150809303994551,89172525455138,205771860163358,17966621071330,33939101775379,18218274528659,109957915010158,108058772010049,153028312564221,68153759141316,153786623774215,64177002441776,193104666704550,163410386840636,95853384463233,20934008366190,199655180997092,203498225227510,202539912667547,197028616320880,197625625830074,19272437234194,49118841235463,148443115258168,176483077070775,201974586379299,162528479447124,247544854477307,43518166162384,1678612044200,160155456386566,100317657111979,165889102103727,103255134520811,254685905958150,200987693542079,155274391898080,38102930217402,103435292191279,18800213447199,165186988823231,187198954174284,196372479738674,122512703803874,100965274060979,226348919124299,162362915247233,270968365026767,218508097631592,274718317436508,250017532248614,217859623387909,115606857617372,14834510784690,48593298228905,261515500199998,72034040060467,110317828942980,226755745190891,14614412110271,56016336503811,163236619380351,275799658968377,137283971737332,37707456059178,250022725291750,67960549236120,252492116955909,279582822094898,36618503925921,209112447882262,148043349058498,125835641996833,209376823739660,28272661995834,75511340539304,88953094700064,198133476808173,85347847596253,228586738773852,192675247969149,23826541799706,99033107756116,253191334327609,78513113437602,243545055088520,99214714718006,115365277509038,165542900991620,238355804929345,147890794226574,207001629189951,29951271664022,51772747508339,93270665014276,167503577044456,146437678516656,154934495808809,58732385643891,230018381511737,155098498651243,68133179585910,147902753711748,193462971206355,274865806424486,191395174786907,130852007586211,278244720469023,99011993878729,15715841723090,173968206964923,235688840184827,47849487438866,12210396066760,152694921664857,108209566913707,8945303919753,265606419997069,100558334004258,159734572472555,50200457225387,230040078141106,232479017124437,137844321977263,17929294954894,24325724859742,95529029908807,240758208296877,231013623617685,100260031726323,14736587197899,12599231325549,224922869706009,22803152890655,129779071052948,9312424289335,190248069198952,194342978411912,208475729485290,169894483436502,262155975721314,80463515399452,240507871997318,132424397713940,18258560459413,170198817169112,55641865061444,280621992887679,37165430477320,129547202078234,247242910157390,76965453367646,114398479426389,274550960162686,147811508088238,100492390073201,252621083879224,240644971551074,167738356002449,59299249103931,242735361260486,74925469883781,109593372694223,195301560810210,15624658374708,7146799828008,32864932555196,139739803075698,169429382436689,203670476325396,140378614853072,9210947882382,147871022626243,205776137154877,47745630806807,19381174552748,91102666558447,115720318614184,125312145784211,129711796280977,6442750484195,189193836897107,122959091553377,228495865539318,134871883254026,171650170278444,220343546808538,110704184110985,209493432917865,75308708679515,46112167555919,92918269555294,262804072689290,212288285982861,157202574740439,34521125570152,107955165697017,26631348579135,16583040271951,130349469956825,163419702086339,178364269936980,175681745111035,71027542379568,257409729440345,210319861579693,263490508556976,117398936213792,104528757775079,136353130363266,10082003884739,170107159459347,85220235686165,175877284048576,197462938332210,235371922130586,216559949149561,226529004597183,54652346897933,236259250836089,114967337438660,73832340961085,48421046807799,48010877982993,158105867392795,67552113811432,1929227640844,115386146034155,246786317742927,37508651374359,57086698241079,33823091090305,219699114570587,21616209161254,201348395988735,217860740756484,151845151161742,260515070768326,86524863992072,134673727655128,69296609347261,266810450183586,19314319644406,226091800579521,19334225403879,163701970205870,4898414914946,75822564228920,27337965404461,55484202362200,60649432927013,189214899166924,69325693774457,217555697226814,97627966739216,180621519847908,40705118949630,94851900007161,98758476433863,37707360268547,236685950204278,111388393976800,202116127926114,169396342865322,165115801626656,990400753600,108828875805439,231696798650145,116453313493720,22771920375532,176012289408311,235562730377813,61203203559971,156421612003797,86548353079199,209776975441776,127446492214224,204032894877702,69913016944792,155229825532010,40123129679395,238825588671291,275645711343975,246516587718837,4867993887630,99496337505134,86050561014902,21587943652932,44961019787625,212267343926966,180541963792799,74122504062465,75950210009241,196908664043408,183992056274724,51034238953734,25642102122225,59031359342972,140819131781400,132295481813333,136762080565837,213623349462592,39087956200624,18769928775614,114143053607559,123438336207209,276591061191642,194355698184990,125811237534029,50411160825682,163678939896843,16048774636088,266007281908188,125272560077591,503382722801,67101130459176,85557795561831,90826835557565,27594777516652,195395663361671,240713968639802,104652154771425,185464337877852,262415708752663,216331083497173,145004940128032,277376428833851,144993181451637,252803101763745,253625608527610,37303410692278,46461168126683,187415342743544,209783044027408,51808410145756,85309929812037,188995775459711,210244674642123,91680940785881,150547476506031,194604991334387,75436822813703,209083387829819,109494283422405,147634118170613,12175013750620,168542652227738,64898918388183,201552938545545,49199778837259,99234398894761,23836158335272,189510761769623,105413253186973,196811354031416,149592233600503,273930300771416,210406208704445,107230341936656,69127279869845,37608847599900,222529209183553,270612432229281,200311022717074,66599023841021,172981438748848,17065721816640,269499334776560,119042148979312,76469280792776,248949449814269,64937484340327,59057899800312,141278699854707,191878713311264,173596564183338,152305039793160,267361842918951,254430367918563,110503929702372,201752035421501,226850442540490,125836029719912,71271348645385,251987243800579,247457625102432,234529882274108,55655830920170,144624027149596,43041124859036,265876069757325,239038917471693,110931613391095,156817947487585,246731552515223,51956516448624,96638277410513,60936994766336,231374149609338,204414092773069,207623796151335,243518339106813,277179906600115,91391071125231,83059465701030,60761079503006,195705758093797,61877943431504,66878295588493,208600436864790,275606211876465,2335864147139,69167781290710,239098877561395,261928733392414,54598797060992,43008189864623,255967822972850,79416555276932,273032306725844,70616557705786,188121246862147,149368769207725,234909856730898,199417563789146,66197644985512,158923971824362,236449048257819,217766055323873,228648524591484,83310346378028,153152944708095,54538498825334,253936477598183,105516756722850,107643067641184,264020167193479,245879769589979,77745269965297,53304616095640,42957995324283,27732435478504,259880785064741,119074483586335,173731032446134,277559872149656,168390215103157,27244151802190,124064040625463,130878234592412,42640663606722,194891829150937,107774802070464,155335665273144,263763418076631,146922460509520,232429448767542,19747721436109,48470589226130,39851941155928,272263673212660,12974276486664,219465494930666,194884198314564,189191699451841,108267178656751,83267766448249,42262921027544,197458133425859,173016632168694,234032228666212,23868767111420,13542250269108,3753355511586,119665367462262,164013290000307,150645117232448,178662320790817,155480853134612,164824524036678,231622227912892,145375014590147,49146524607882,118859386694872,82076993464687,117021796384280,8993731390717,17390778534457,126550974618651,278842070839554,225273535099487,276317761147099,75714737517047,242990119106107,35313407703391,37119375360400,44362829811572,128083022099656,169917864068772,191745555997557,182443109242875,44504421062916,24137080564910,204038311364767,280687421199631,7937672945356,8765723734516,177451270928344,130043104934,176254033888832,150667311661008,161574871585426,30033300004633,87353682194492,250451665739869,11879007747889,203122211084059,18056854948563,235114152543578,104926478934243,181815095893739,98334222634444,83320156081850,74053767994665,30357888673807,82889525278810,36090201993454,119332501173786,272373960383198,5717885278716,78609358098894,245549932192517,79336461572455,135016501893817,275136775747495,280964529962204,168726624048309,172564528126095,186978246741382,235627721554391,279599817580525,182579554210954,185088688912132,233069626771159,145190159478286,203443549681757,103818406454032,77004624489876,54954136168762,6302281957099,89897491827891,23230891927479,165653585017012,93328583287919,252639191151031,52138380375021,249857374609561,191327764866783,120619973501554,222600050688975,85236049240636,147081198967083,84205067598457,27577980572540,21165136565144,101730855157328,138343694711980,213878848859873,140313341784992,241853800330182,6808296922057,191625060144461,65903889490060,264388313150116,35096275663470,33824987357806,71791649458484,255633784674634,76968149328535,272014837148113,59548482321539,135025318769774,2110239280824,129118133592722,25568946658544,84241171535311,138640207079240,36133012384113,231482526460406,254518737911136,165050479048522,28665731235298,256547147967320,34679089020412,204355537448899,127552868174889,8757665530515,167566531393340,210514862720444,269887922509728'
)
) AS x
v3_Products_BudgetRuleByRuleIdForSPCampaigns
Products - Budget rule specified by identifier
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<budgetRuleId> (required): The budget rule identifier.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
createdDate | timestamp | Epoch time of budget rule creation |
ruleDetails_budgetIncreaseBy_type | string | Object representing details of a budget rule for SP campaign. Budget increase by. Type |
ruleDetails_budgetIncreaseBy_value | bigdecimal | The budget value |
ruleDetails_duration_dateRangeTypeRuleDuration | string | Object representing details of a budget rule for SP campaign. Duration. Date range type rule duration |
ruleDetails_duration_eventTypeRuleDuration_endDate | date | The event end date in YYYYMMDD format |
ruleDetails_duration_eventTypeRuleDuration_eventId | string | The event identifier. This value is available from the budget rules recommendation API |
ruleDetails_duration_eventTypeRuleDuration_eventName | string | The event name |
ruleDetails_duration_eventTypeRuleDuration_startDate | date | The event start date in YYYYMMDD format. Read-only. Note that this field is present only for announced events |
ruleDetails_name | string | The budget rule name. Required to be unique within a campaign |
ruleDetails_performanceMeasureCondition_comparisonOperator | string | Object representing details of a budget rule for SP campaign. Performance measure condition. Comparison operator |
ruleDetails_performanceMeasureCondition_metricName | string | Object representing details of a budget rule for SP campaign. Performance measure condition. Metric name |
ruleDetails_performanceMeasureCondition_threshold | bigdecimal | The performance threshold value |
ruleDetails_recurrence_daysOfWeek | string | Object representing days of the week for weekly type rule. It is not required for daily recurrence type |
ruleDetails_recurrence_intraDaySchedule | string | |
ruleDetails_recurrence_type | string | Object representing details of a budget rule for SP campaign. Recurrence. Type |
ruleDetails_ruleType | string | Object representing details of a budget rule for SP campaign. Rule type |
ruleId | string | The budget rule identifier |
ruleState | string | Budget rule. Rule state |
ruleStatus | string | The budget rule status |
ruleStatusDetails | string | |
lastUpdatedDate | timestamp | Epoch time of budget rule update |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_BudgetRuleByRuleIdForSPCampaigns AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_BudgetRuleByRuleIdForSPCampaigns (
budgetRuleId => '61fa9ade-e5d3-4563-8f13-5b663ae501ae'
)
) AS x
v3_Products_BudgetRulesRecommendation
Products - Special events with suggested date range and suggested budget increase for a campaign specified by identifier
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignId> (required): The campaign identifier
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
startDate | date | The start date in YYYYMMDD format |
endDate | date | The end date in YYYYMMDD format |
eventId | string | The event identifier |
eventName | string | The event name |
suggestedBudgetIncreasePercent | bigdecimal | The suggested budget increase expressed as a percent |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_BudgetRulesRecommendation AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_BudgetRulesRecommendation (
campaignId => 81002320838825
)
) AS x
v3_Products_CampaignNegativeKeywords
Products - Campaign Negative Keywords
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<campaignNegativeKeywordIdFilter_include> (optional): Filter entities by the list of objectIds
<campaignNegativeKeywordTextFilter_include> (optional): Filter by keywordText
<campaignNegativeKeywordTextFilter_queryTermMatchType> (optional): Match type for query filters (BROAD_MATCH, EXACT_MATCH)
<matchTypeFilter> (optional): Restricts results to resources with the selected matchType. Sponsored products negative match type (NEGATIVE_EXACT, NEGATIVE_PHRASE, NEGATIVE_BROAD, OTHER)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The identifier of the campaign to which the keyword is associated |
adGroupId | long | The adGroup identifier |
extendedData_creationDateTime | timestamp | Creation date in ISO 8601 |
extendedData_lastUpdateDateTime | timestamp | Last updated date in ISO 8601 |
extendedData_servingStatus | string | Campaign negative keywords. Extended data. Serving status |
extendedData_servingStatusDetails | string | The serving status reasons of the Keyword |
extendedData_servingStatusDetails_helpUrl | string | A URL with additional information about the status identifier |
extendedData_servingStatusDetails_message | string | A human-readable description of the status identifier specified in the name field |
extendedData_servingStatusDetails_name | string | The serving status reasons of the Keyword. Name |
keywordId | string | The identifier of the keyword |
keywordText | string | The keyword text |
keywordType | string | |
matchType | string | Campaign negative keywords. Match type |
nativeLanguageKeyword | string | |
nativeLanguageLocale | string | |
state | string | Campaign negative keywords. Stat |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_CampaignNegativeKeywords AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_CampaignNegativeKeywords (
matchTypeFilter => NULL,
campaignNegativeKeywordTextFilter_queryTermMatchType => NULL,
campaignNegativeKeywordTextFilter_include => NULL,
campaignNegativeKeywordIdFilter_include => NULL,
campaignIdFilter_include => NULL
)
) AS x
v3_Products_CampaignNegativeTargetingClauses
Products - Campaign Negative Targeting
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<asinFilter_include> (optional): Asin filter
<asinFilter_queryTermMatchType> (optional): Match type for query filters (BROAD_MATCH, EXACT_MATCH)
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<campaignNegativeTargetIdFilter_include> (optional): Filter entities by the list of objectIds
<stateFilter_include> (optional): The current resource state (ENABLED, PAUSED, ARCHIVED, ENABLING, USER_DELETED, OTHER)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The identifier of the campaign to which this target is associated |
expression | string | The CampaignNegativeTargetingClause expression |
extendedData_creationDateTime | timestamp | Creation date in ISO 8601 |
extendedData_lastUpdateDateTime | timestamp | Last updated date in ISO 8601 |
extendedData_servingStatus | string | Campaign negative targeting clauses. Extended data. Serving status |
extendedData_servingStatusDetails | string | The serving status reasons of the CampaignNegativeTargetingClause |
extendedData_servingStatusDetails_helpUrl | string | A URL with additional information about the status identifier |
extendedData_servingStatusDetails_message | string | A human-readable description of the status identifier specified in the name field |
extendedData_servingStatusDetails_name | string | The serving status reasons of the CampaignNegativeTargetingClause. Name |
resolvedExpression | string | The resolved CampaignNegativeTargetingClause expression |
state | string | Campaign negative targeting clauses. State |
targetId | string | The target identifier |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_CampaignNegativeTargetingClauses AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_CampaignNegativeTargetingClauses (
stateFilter_include => NULL,
campaignNegativeTargetIdFilter_include => NULL,
campaignIdFilter_include => NULL,
asinFilter_queryTermMatchType => NULL,
asinFilter_include => NULL
)
) AS x
v3_Products_Campaigns
Products - Campaigns
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<nameFilter_include> (optional): Filter entities by name
<nameFilter_queryTermMatchType> (optional): Match type for query filters (BROAD_MATCH, EXACT_MATCH)
<portfolioIdFilter_include> (optional): Filter entities by the list of objectIds
<stateFilter_include> (optional): The current resource state (ENABLED, PAUSED, ARCHIVED, ENABLING, USER_DELETED, OTHER)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
startDate | date | The format of the date is YYYY-MM-DD |
endDate | date | The format of the date is YYYY-MM-DD |
campaignId | long | entity object identifier |
portfolioId | long | The identifier of an existing portfolio to which the campaign is associated |
budget_budget | bigdecimal | Monetary value |
budget_budgetType | string | Campaigns. Budget. Budget type |
budget_effectiveBudget | bigdecimal | Monetary value |
dynamicBidding_strategy | string | Campaigns. Dynamic bidding. Strategy |
extendedData_creationDateTime | timestamp | Creation date in ISO 8601 |
extendedData_lastUpdateDateTime | timestamp | Last updated date in ISO 8601 |
extendedData_servingStatus | string | Campaigns. Extended data. Serving status |
name | string | Campaigns. Name |
state | string | Campaigns. State |
tags | string | Campaigns. Tags |
targetingType | string | Campaigns. Targeting type |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_Campaigns AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_Campaigns (
stateFilter_include => NULL,
portfolioIdFilter_include => NULL,
nameFilter_queryTermMatchType => NULL,
nameFilter_include => NULL,
campaignIdFilter_include => NULL
)
) AS x
v3_Products_CampaignsAssociatedWithSPBudgetRule
Products - All the campaigns associated with a budget rule
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<budgetRuleId> (required): The budget rule identifier.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The campaign identifier |
campaignName | string | The campaign name |
ruleStatus | string | The budget rule evaluation status for this campaign |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_CampaignsAssociatedWithSPBudgetRule AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_CampaignsAssociatedWithSPBudgetRule (
budgetRuleId => '61fa9ade-e5d3-4563-8f13-5b663ae501ae'
)
) AS x
v3_Products_CampaignsBudgetUsage
Products - Budget usage API for SP campaigns
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignIds> (optional): A list of campaign IDs
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | ID of the profile |
campaignId | long | ID of requested resource |
budget | bigdecimal | Budget amount of resource requested |
budgetUsagePercent | bigdecimal | Budget usage percentage (spend / available budget) for the given budget policy |
usageUpdatedTimestamp | timestamp | Last evaluation time for budget usage |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_CampaignsBudgetUsage AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_CampaignsBudgetUsage (
campaignIds => '81002320838825,139739708059936,192383770543505,183729298991161,60563471854251,226958438922324,176771942280373,249414770058102,103445002995929,72642803464766,79918354699586,81397930295225,84233775537863,84931138387724,183449303725334,171710531707658,161596668061264,269257712631440,239804780055055,183648735513897,243066043702367,76639932389729,239009527896164,177079036785557,265326047979138,121888533386034,197279224125873,175527415951434,39883225367013,205601342364807,123090687966124,21043528251535,191355054220834,58671932710039,33634424645534,190597853929654,240530973521770,155108921507427,268051228813012,37900319581836,132250551106750,163777300343578,160007257145364,213886517123701,39311656077910,153333910294066,197896311971515,163044857402358,100392559483537,67217339764223,175140907878089,44562729344356,276546790004480,180536794158116,104240984732992,50591717098999,51831570737030,118484091781824,210950954979025,46367306159693,200988163438810,24897650070646,39686480689556,230065155853152,198223241999431,275473789414183,248288706135637,94621312356087,103241489961288,98772565801078,270316391571922,78337923694035,133336841479877,135252020761198,254998132326167,180936194519914,114968756673633,235742165314264,58258435271910,53369268534828,185967812182793,10318734852913,227580355751070,276687270800578,245012737307987,124137420393288,24761905847962,116225042427922,109031557633438,20976884437654,60024867014939,63722631626932,98310450666783,17492451054253,164674634950554,271337556815576,184872979216794,225341504486695,272290597965877,114176040540328,256843826169122,30276585294940,252810328862297,177288868668966,53618980333851,111455258890070,118844927501151,94087356166285,24585891756553,170980696035647,231834244548369,58698762277618,5050919205803,232939170435742,181483446717060,55934732646088,63377861204071,218909602102294,82617984399080,152263668581868,215142641876327,266475569111374,20966865665923,20386203066259,10535457237947,136503523136921,106704021290178,43659241173368,125781128263508,98807892427113,251696275785662,89347544997455,172725313402254,276062492936145,143559159329624,247668502284746,248415034757913,16745411162008,14795109587805,189296444296839,88383927401896,87883097464028,35705723441033,56416102689496,278491578807473,43749446624579,9048056288094,238371918470584,197960166479049,169475069274252,135045180126148,150355221184252,38574764915049,103013476203983,274410115003189,175527883739528,150171026865394,123651133312257,235408001076046,67650544668798,165226410192851,204212885576357,196278878824291,53061252106327,149936880966213,218598000890704,185823348707217,144329027634084,62089390949530,193466610858758,50913232409713,159466930207401,55979354619102,29190448175457,173355780405336,37589423811526,51261453001663,28713650094960,2458763800995,264965113201819,60523609538630,46593862195047,117033676601295,111858270247674,262122616124552,280296607706284,6354627491446,9892346330218,75923267582562,149650445859222,104605103916296,275587369750476,32050809773473,103861669476899,255027026499491,29112046175667,135346124079893,22685708677036,151556848852171,107067022804009,176647570599767,240318380553799,210662869632232,106309788201372,279419510926044,251999191437648,263221298337862,223132475392194,75682086305696,209192737275868,62850111534776,123919153218807,30961376181031,236021558537870,10836488890413,145823921775790,149174422194032,187195186793729,66494214325461,39395766491941,16890732487045,86855128031929,24548876261381,159717201317908,225022591910531,119294403948031,48876143288491,108550540851371,165851214654296,106465423754431,210192940551664,185523379053597,113578554726608,181203266137038,203003514078206,60297881919811,89299054653572,141606615982425,171939864591073,187173696671398,188479396794533,280261378957809,228163543914042,63806661300051,24135111936437,102092316397027,262946278488252,174535155575632,115393069881653,81151693123240,190069887897699,205712092395231,91929874923811,219715803405092,132945965264343,130962402178371,108992576845019,153489888840636,102343032838598,11501286360249,162549491620923,128138728799818,93210880199048,170541190369293,258186876066759,132019381215325,62331882245623,52981162706633,194892063871315,254023276160136,219611814757020,203721717972336,174071240654586,120756869443389,51972050316130,270061342822281,225114124525039,180860693532471,50764762391207,179994107702863,239371441987808,6876775474136,270850706292263,152626265589069,137854480172183,93883389935394,7124722670843,218469760855664,238341663493102,197191889589873,110805099700871,149558428949717,37376565389035,186613313946845,132676479831099,261451772722216,213805270425691,138357882528571,7829018723478,123769313223888,256574166434526,222357892528142,253775466879785,185504751818991,11404558948013,231103469644779,198494978188280,277416028186517,208518770666789,18633754037697,169527504675722,129275970939916,259612483669739,76567085411446,177535875071778,195655503196783,256607586448423,242656413978963,80366710995311,34378543410608,75393387729296,143668583373306,88673208866205,266728494684292,45321311881437,251156387190330,169125892619260,217816552520478,129501641410695,98486652107104,29721347521341,148318634003953,50596347248098,229847179882603,149756868595053,126308200523072,229242264170685,174008255802942,197895691224637,164571679574369,85519213181026,180802688843189,217046523551343,277847827833362,71932362376466,132877263805545,183574353810661,71922121379215,6430443237493,203895087438196,87475251556444,63636953865870,270513481664601,2662789780889,238644539782037,12666637888681,73492690177093,138817417123185,176724079686998,239857571695347,148297255962670,101081960748305,251441762637480,127918327924965,166924438379339,69526350632741,195474804218322,210803490040521,57615669598154,264423474856448,128980303140938,265023544415402,76782250504072,80989954592058,260382679487189,128505687446771,27854811193246,22936687206777,57600981515292,166948736426089,127043197314550,255885703200581,120752086426790,213139388032896,100681490326478,240474088318075,129441493715084,175357326569561,271688940749484,220208069178266,143542318926584,174718094839426,782145188918,110905218402071,205753974687237,119981441455205,255878953897672,44063852371860,137763186236896,122919164004021,150809303994551,89172525455138,205771860163358,17966621071330,33939101775379,18218274528659,109957915010158,108058772010049,153028312564221,68153759141316,153786623774215,64177002441776,193104666704550,163410386840636,95853384463233,20934008366190,199655180997092,203498225227510,202539912667547,197028616320880,197625625830074,19272437234194,49118841235463,148443115258168,176483077070775,201974586379299,162528479447124,247544854477307,43518166162384,1678612044200,160155456386566,100317657111979,165889102103727,103255134520811,254685905958150,200987693542079,155274391898080,38102930217402,103435292191279,18800213447199,165186988823231,187198954174284,196372479738674,122512703803874,100965274060979,226348919124299,162362915247233,270968365026767,218508097631592,274718317436508,250017532248614,217859623387909,115606857617372,14834510784690,48593298228905,261515500199998,72034040060467,110317828942980,226755745190891,14614412110271,56016336503811,163236619380351,275799658968377,137283971737332,37707456059178,250022725291750,67960549236120,252492116955909,279582822094898,36618503925921,209112447882262,148043349058498,125835641996833,209376823739660,28272661995834,75511340539304,88953094700064,198133476808173,85347847596253,228586738773852,192675247969149,23826541799706,99033107756116,253191334327609,78513113437602,243545055088520,99214714718006,115365277509038,165542900991620,238355804929345,147890794226574,207001629189951,29951271664022,51772747508339,93270665014276,167503577044456,146437678516656,154934495808809,58732385643891,230018381511737,155098498651243,68133179585910,147902753711748,193462971206355,274865806424486,191395174786907,130852007586211,278244720469023,99011993878729,15715841723090,173968206964923,235688840184827,47849487438866,12210396066760,152694921664857,108209566913707,8945303919753,265606419997069,100558334004258,159734572472555,50200457225387,230040078141106,232479017124437,137844321977263,17929294954894,24325724859742,95529029908807,240758208296877,231013623617685,100260031726323,14736587197899,12599231325549,224922869706009,22803152890655,129779071052948,9312424289335,190248069198952,194342978411912,208475729485290,169894483436502,262155975721314,80463515399452,240507871997318,132424397713940,18258560459413,170198817169112,55641865061444,280621992887679,37165430477320,129547202078234,247242910157390,76965453367646,114398479426389,274550960162686,147811508088238,100492390073201,252621083879224,240644971551074,167738356002449,59299249103931,242735361260486,74925469883781,109593372694223,195301560810210,15624658374708,7146799828008,32864932555196,139739803075698,169429382436689,203670476325396,140378614853072,9210947882382,147871022626243,205776137154877,47745630806807,19381174552748,91102666558447,115720318614184,125312145784211,129711796280977,6442750484195,189193836897107,122959091553377,228495865539318,134871883254026,171650170278444,220343546808538,110704184110985,209493432917865,75308708679515,46112167555919,92918269555294,262804072689290,212288285982861,157202574740439,34521125570152,107955165697017,26631348579135,16583040271951,130349469956825,163419702086339,178364269936980,175681745111035,71027542379568,257409729440345,210319861579693,263490508556976,117398936213792,104528757775079,136353130363266,10082003884739,170107159459347,85220235686165,175877284048576,197462938332210,235371922130586,216559949149561,226529004597183,54652346897933,236259250836089,114967337438660,73832340961085,48421046807799,48010877982993,158105867392795,67552113811432,1929227640844,115386146034155,246786317742927,37508651374359,57086698241079,33823091090305,219699114570587,21616209161254,201348395988735,217860740756484,151845151161742,260515070768326,86524863992072,134673727655128,69296609347261,266810450183586,19314319644406,226091800579521,19334225403879,163701970205870,4898414914946,75822564228920,27337965404461,55484202362200,60649432927013,189214899166924,69325693774457,217555697226814,97627966739216,180621519847908,40705118949630,94851900007161,98758476433863,37707360268547,236685950204278,111388393976800,202116127926114,169396342865322,165115801626656,990400753600,108828875805439,231696798650145,116453313493720,22771920375532,176012289408311,235562730377813,61203203559971,156421612003797,86548353079199,209776975441776,127446492214224,204032894877702,69913016944792,155229825532010,40123129679395,238825588671291,275645711343975,246516587718837,4867993887630,99496337505134,86050561014902,21587943652932,44961019787625,212267343926966,180541963792799,74122504062465,75950210009241,196908664043408,183992056274724,51034238953734,25642102122225,59031359342972,140819131781400,132295481813333,136762080565837,213623349462592,39087956200624,18769928775614,114143053607559,123438336207209,276591061191642,194355698184990,125811237534029,50411160825682,163678939896843,16048774636088,266007281908188,125272560077591,503382722801,67101130459176,85557795561831,90826835557565,27594777516652,195395663361671,240713968639802,104652154771425,185464337877852,262415708752663,216331083497173,145004940128032,277376428833851,144993181451637,252803101763745,253625608527610,37303410692278,46461168126683,187415342743544,209783044027408,51808410145756,85309929812037,188995775459711,210244674642123,91680940785881,150547476506031,194604991334387,75436822813703,209083387829819,109494283422405,147634118170613,12175013750620,168542652227738,64898918388183,201552938545545,49199778837259,99234398894761,23836158335272,189510761769623,105413253186973,196811354031416,149592233600503,273930300771416,210406208704445,107230341936656,69127279869845,37608847599900,222529209183553,270612432229281,200311022717074,66599023841021,172981438748848,17065721816640,269499334776560,119042148979312,76469280792776,248949449814269,64937484340327,59057899800312,141278699854707,191878713311264,173596564183338,152305039793160,267361842918951,254430367918563,110503929702372,201752035421501,226850442540490,125836029719912,71271348645385,251987243800579,247457625102432,234529882274108,55655830920170,144624027149596,43041124859036,265876069757325,239038917471693,110931613391095,156817947487585,246731552515223,51956516448624,96638277410513,60936994766336,231374149609338,204414092773069,207623796151335,243518339106813,277179906600115,91391071125231,83059465701030,60761079503006,195705758093797,61877943431504,66878295588493,208600436864790,275606211876465,2335864147139,69167781290710,239098877561395,261928733392414,54598797060992,43008189864623,255967822972850,79416555276932,273032306725844,70616557705786,188121246862147,149368769207725,234909856730898,199417563789146,66197644985512,158923971824362,236449048257819,217766055323873,228648524591484,83310346378028,153152944708095,54538498825334,253936477598183,105516756722850,107643067641184,264020167193479,245879769589979,77745269965297,53304616095640,42957995324283,27732435478504,259880785064741,119074483586335,173731032446134,277559872149656,168390215103157,27244151802190,124064040625463,130878234592412,42640663606722,194891829150937,107774802070464,155335665273144,263763418076631,146922460509520,232429448767542,19747721436109,48470589226130,39851941155928,272263673212660,12974276486664,219465494930666,194884198314564,189191699451841,108267178656751,83267766448249,42262921027544,197458133425859,173016632168694,234032228666212,23868767111420,13542250269108,3753355511586,119665367462262,164013290000307,150645117232448,178662320790817,155480853134612,164824524036678,231622227912892,145375014590147,49146524607882,118859386694872,82076993464687,117021796384280,8993731390717,17390778534457,126550974618651,278842070839554,225273535099487,276317761147099,75714737517047,242990119106107,35313407703391,37119375360400,44362829811572,128083022099656,169917864068772,191745555997557,182443109242875,44504421062916,24137080564910,204038311364767,280687421199631,7937672945356,8765723734516,177451270928344,130043104934,176254033888832,150667311661008,161574871585426,30033300004633,87353682194492,250451665739869,11879007747889,203122211084059,18056854948563,235114152543578,104926478934243,181815095893739,98334222634444,83320156081850,74053767994665,30357888673807,82889525278810,36090201993454,119332501173786,272373960383198,5717885278716,78609358098894,245549932192517,79336461572455,135016501893817,275136775747495,280964529962204,168726624048309,172564528126095,186978246741382,235627721554391,279599817580525,182579554210954,185088688912132,233069626771159,145190159478286,203443549681757,103818406454032,77004624489876,54954136168762,6302281957099,89897491827891,23230891927479,165653585017012,93328583287919,252639191151031,52138380375021,249857374609561,191327764866783,120619973501554,222600050688975,85236049240636,147081198967083,84205067598457,27577980572540,21165136565144,101730855157328,138343694711980,213878848859873,140313341784992,241853800330182,6808296922057,191625060144461,65903889490060,264388313150116,35096275663470,33824987357806,71791649458484,255633784674634,76968149328535,272014837148113,59548482321539,135025318769774,2110239280824,129118133592722,25568946658544,84241171535311,138640207079240,36133012384113,231482526460406,254518737911136,165050479048522,28665731235298,256547147967320,34679089020412,204355537448899,127552868174889,8757665530515,167566531393340,210514862720444,269887922509728'
)
) AS x
v3_Products_CategoryRecommendationsForASINs
Products - List of category recommendations for the input list of ASINs
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<asins> (optional): List of input ASINs. This API does not check if the ASINs are valid ASINs
<includeAncestor> (optional): Enable this if you would like to retrieve categories which are ancestor nodes of the original recommended categories. This may increase the number of categories returned, but decrease the relevancy of those categories
<locale> (optional): The locale to which the caller wishes to translate the list of category recommendations to. For example, if the caller wishes to receive a list of category recommendations in Simplified Chinese, the locale parameter should be set to zh_CN. If no locale is provided, the returned list of category recommendations will be in the default language of the marketplace.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
canBeTargeted | boolean | A flag which indicates if the current node may be targeted |
id | long | The category id of the current node |
name | string | The name of the category |
parent | string | The category id of the parent node |
path | string | The path of the category, which contains the current category and all parent categories |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_CategoryRecommendationsForASINs AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_CategoryRecommendationsForASINs (
includeAncestor => true,
asins => 'B00L5JL1QM,B00IX6915S,B00IX6914Y,B00IX69162,B00IX6919Y,B00LW7O7KE,B004QC8BM2,B00YUBUAMS,B00YUBUAZ0,B00YUBUAMS,B00YUBUAZ0,B00YUBUAMS,B00YUBUAZ0,B013QSK2J6,B013QSK1YM,B013QSK2J6,B013QSK1YM,B01AC8XS8A,B01AIATT8U,B01DNYHTLM,B01DMCV7AY,B01DMCV7RW,B01DMCV7EU,B01DW9OF5Q,B01DMEADXO,B01DWA6Z94,B01DO14KNE,B01DNZMDAI,B07B69KX8C,B01ELZDNAS,B01EN5QHNQ,B01EN4XK7S,B07G2PVFXH,B01ENA14IY,B01ENG0WTA,B01ENH49DY,B01ENGPL1E,B01ENGIKXU,B01ENGW8GU,B01DNUKYXG,B01DWAL4JA,B01LBC32UK,B01LBCLNJM,B01LBDBKVM,B01LBDSRGI,B01LBFKGBA,B01LBII24K,B07PFL65Y2,B01LCZY0WU,B01LEUUKUO,B01LEV9I8I,B07C5QLXG8,B08SPZZKP8,B08SPZZKP8,B08SMS3W4Z,B08SMS3W4Z,B013QSK2J6,B013QSK1YM,B07C5QLXG8,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07TR4MH9W,B07TKWYVFZ,B079ZZ83VT,B07B12866X,B07YNWHX4L,B079ZW66WF,B07B12866X,B07B12866X,B079ZZ83VT,B07TKWYVFZ,B079ZW66WF,B07YNWHX4L,B07TR4MH9W,B07B12866X,B07TKWYVFZ,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07YNWHX4L,B079ZZ83VT,B07TR4MH9W,B079ZW66WF,B07TR4MH9W,B07B12866X,B07YNWHX4L,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B013QSK2J6,B01ENGPL1E,B07TKWYVFZ,B07TR4MH9W,B07B12866X,B079ZW66WF,B079ZZ83VT,B07YNWHX4L,B01DNUKYXG,B084WQSST5,B084WG1147,B084WJWFGP,B084WM9MN9,B084WYHZ3R,B084VW9HY5,B08GM5B2XK,B08GGB6W92,B08GKZDWTV,B07F8BQDDV,B013QSK2J6,B07F8BQDDV,B08GM5B2XK,B08GGB6W92,B08GKZDWTV,B01DMCV7AY,B01DMEAEEM,B01EN5QHT0,B01DW9OF4W,B07HH71RP7,B07HH8NLWR,B01DNYHR96,B01ENG0WRW,B01ENH498Y,B01LCZXZWQ,B06XJ9FGP8,B01DWAL5KS,B08HVW1L1X,B01DMEAEEM,B01DW9OF4W,B01EN5QHT0,B01DMCV7AY,B01DNYHR96,B07HH71RP7,B01ENH498Y,B01LCZXZWQ,B01DWAL5KS,B06XJ9FGP8,B01ENG0WRW,B09W38ZPQ3,B09W388M6P,B09W39Q7HV,B07YZRS96S,B09W37CSDJ,B09W37RNCX,B08NP7F4BN,B07YZMTBFS,B09W3W547Z,B09W3N1T1H,B096MCPPZV,B09FB4Y1ND,B09FB3XMWW,B09DTG1HVZ,B09F6H2L2L,B0933BQ2H8,B09DTFNB4L,B096XNM3HF,B09DTDL2L4,B09DTF7XZ7,B099SH4HPN,B013QSK1YM,B013QSK2J6,B092VXXD13,B07NXVKXRG,B07NX164SB,B07NWYQ4VV,B084WY1QNP,B07WWW6NMS,B08G563FY1,B07NWYK5K1,B09VXYLTF7,B07NZVJXYW,B07M5M3R5K,B07NWNWTR4,B07YF1D5S3,B07LGCR34Q,B09WB25K4T,B07TKWYVFZ,B07NYS5GRB,B091HHGXYH,B07NX12R6Z,B08WWY2QBD,B07KT93VS1,B07KMCR5Y7,B08P4T7T65,B09WB2GFV1,B09WN3VYTL,B07NX42CY9,B07RMJFRW6,B09WB26SLM,B07VPQLHKF,B084XXJJBZ,B09VXXBC7M,B07NX1BWJG,B08NPHJVM6,B09WB1XNNJ,B099SHVPBM,B08NPP6C55,B083F4GW6K,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8,B07HRZWT8V,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8,B07HRZWT8V,B08HVW1L1X,B081K45S5L,B081K3VLYY,B081K3SX8S,B07C5QLXG8,B07F7G3HS4,B07VLHHXW6,B07KT93CVC,B07NYRBGLH,B07KT9CTVY,B07V6ZMSVP,B07NXTZ769,B08NPNCYZR,B08GKYH3KD,B07KGGL13S,B07NWY6VBQ,B07LGF7Y6L,B07YF1J4JX,B07KJBPJ86,B091HG5KD3,B07RMJNJHX,B07YNWHX4L,B07NZWGJDL,B08WX9CK4G,B07MGJZVG7,B07NYS144R,B083F4YX54,B096KNG5J5,B099FJBVV2,B07NWZ457H,B07Z55VPV7,B09FB4ZBX7,B096KMSL3M,B09BRCW9TX,B07MGK25Y2,B07MMZGM9T,B07PJL9GB4,B07WTWYB3W,B08P4TP13T,B09D1C9C98,B07NWYKN11,B08WR78CM4,B096KLQ1K5,B098PGMPCG,B07KMC17XM,B08T233MHN,B08T7WNWBP,B096MD6LG4,B099FGX4WN,B099SFJVQ8,B07LCRPXN5,B08G56ZHY9,B08NPD387C,B08T1K42PV,B099FJJPR2,B09FB63TR4,B07NWYYGQ1,B07NXTV6SJ,B07NZWY3QQ,B07TXWLK9L,B07VWBM75B,B084Z5ZM66,B08NCQCLNB,B08ND5SNZL,B0933BLQX3,B095KFSYHM,B096KLBPCW,B09793P7ZQ,B099FJZQKD,B09DTC43Q5,B09FB3KXMF,B07LCSB9KX,B07NYSZW2S,B07Z567ZF3,B07Z5796L8,B084Z7K7XF,B08KHCTZLV,B08SXTD8V1,B08T1F5KK3,B08T1YKFYX,B08T5XQNG9,B08T9YSWNF,B08V2ZF3C7,B091HWMQDK,B0933CGFNW,B0933CT15Z,B094RFBH6J,B094RGYML2,B096KLYPPY,B096XN3DHG,B0977GVPF9,B099KNYGTC,B099KRQ8C1,B099L2H4QY,B099SFGPYZ,B09BZMFVPF,B09D1BMB1P,B09DTDPJT3,B09DTFFHCY,B09GKTY5DC,B09VXZB38F,B07MMW29RN,B07NWYKP6Q,B07NWYPKV8,B07NX1CWJ2,B07NZV1RB7,B07G2P31WR,B01LCZXZ58,B01DNYHRM8,B079ZW66WF,B01DNUKYCC,B01DWAL5D0,B07YZRS96S,B01ENG0WTU,B07HH7PL16,B06XJ6M9CD,B01LBDBKZ8,B083QM8YT9,B01DMCV7EU,B01LEV9III,B07Z57TCCQ,B01DO14KEI,B06XJ6791D,B01LBFKGB0,B07LGCD48Y,B01EN5QHQI,B07MMWVG3X,B091HDWFPK,B07LCSBNNR,B01DW9OF4M,B01ENA14FW,B01LBDSRIG,B01N0FAUD3,B01EN4XKH8,B01ENGIKRG,B077YKTFPX,B096KMKFSL,B01DW9YGBE,B01MXT2FVC,B07G4GMK5R,B08WXBPVFP,B01ENGW8HY,B07DPQK8RJ,B01MTNXU97,B091HXYV9Q,B01ENH49AC,B08P2784S4,B096KPLZFQ,B09BRG7LHY,B07G4FJYZJ,B096KKKV97,B096KLVZ9G,B07G3C8N74,B084WY6LK6,B08WRMJQ8R,B093399K4X,B0977GMS9P,B01ELZDN8A,B06XJ8J8XT,B07B51WJBS,B01LBII26I,B07G3DF4YT,B099KRGC64,B09FB4KCXD,B08KWK1R31,B09Q6825DW,B09RTK7821,B07B553PPQ,B07G4C17JT,B07HHCGZZM,B07MMYQQD2,B01LBCLN7O,B01MTOZ16V,B077THKVXL,B09338M3XH,B096MBQ752,B096XL5C4M,B07MGK2BL2,B07Z56Q56P,B084WG3575,B08V5J5SBH,B08WRSXTGM,B0933B2NWJ,B09793MSGF,B098PHCKNH,B099FH9S28,B099FHR6XN,B099SGRD5T,B09DTH5X4D,B09RTHZRS1,B01DWA6Z7G,B01MQKHVOA,B06XHRFHB8,B06XJ9P7PG,B07G4FCXNC,B084WGT21G,B08T7TKK51,B09338J2M2,B0933BQDYB,B09472KW81,B094RK9CY4,B0971FGNGY,B099KRM81J,B09BRCL6RW,B09BRHG2PL,B09BZMKJ8B,B09FB3QHW6,B07TSKTZGJ,B08T1XPSPR,B0933BK3QW,B094RHHFL6,B096KMTGMJ,B096ZYQKPJ,B0971FPDM9,B097HGQCQ3,B09B4C6NGM,B09BRGDSJ7,B09BRW5Y7R,B09DTH97GL,B07LCQBGPR,B07NWXL93C,B08NCQ9RCM,B08T1NLH2M,B08TB18DHK,B08V2ZFTMN,B08WS23KX7,B09339RGMG,B09339S6QW,B094RHDP63,B094RHH3FD,B094RKLTSY,B095KKX7ZS,B098PJC15W,B099FG3HKB,B099FHHJ6R,B099KQ12CP,B099KST9NB,B09BRHFT5Q,B09BRTRRGD,B09DTFXFLM,B09DTGW6Q5,B09DTGXRX3,B09DTH6W6X,B09DTJ3J9Y,B09F6H1G44,B09GH3BWK7,B09GKT849K,B07LGDCXHW,B07NBGK5RN,B084YPJ5PK,B084Z3L9Z7,B08LLFJ6S3,B08NFG9M25,B08T12MPRZ,B08T695MV4,B08WRTWDZD,B08YKHV15G,B092W7HLK9,B0933833QX,B0933B1GF8,B09471X75Z,B094JDGXHS,B095CKTHSV,B098PGFVJ3,B099KLXHT5,B099NGSYWW,B09BRBWN95,B09D15RPZV,B09DTBPWDB,B09DTFK1XH,B09DTHWVTL,B09DTJJ1JX,B09FBTNPS5,B09GGD8ZJM,B09J1H9RJN,B08LLDSBH8,B08NCBMWK8,B08T9Y9D5T,B08T9ZL8SG,B08V5LDP28,B08YK7HCT3,B08Z8KHRYJ,B0915XG8BL,B092VXXD13,B09316Z7YL,B0933BLKBP,B094RJCTW4,B096KN12QY,B096KYSK8V,B096VP8FJH,B097774R43,B099FHPYNX,B099KNSX6H,B099KP3P24,B09B4CKXWL,B09CZFTHTB,B09D14HLDH,B09DTFLB38,B09DTFXZHM,B09DTGMZ1S,B09GGDP7L8,B09GGGBH43,B09GGTSKTW,B09HR37J7K,B09HR3LB4N,B09HR5LQM8,B07B4ZVQFG,B07G4F8YDK,B07GH4Y85K,B084WXMNW5,B08T6MXPDF,B08WR733F5,B092VXPCMM,B0933848FQ,B094JCPBZF,B096KM9Q28,B096KNG1L6,B096L1BX45,B096VQQCNS,B099SG3QMY,B099SHNK1M,B09BRFCJV1,B09D1LQ8M1,B09DTFYMP6,B09DTGG6W8,B09DTHZLBJ,B09FBGP5W2,B09GKTFTP7,B09HR5VFZQ,B09Q3NGZZ9,B09R52ZXRC,B09RTJD375,B06XHTZD8V,B07HHDSW8R,B07YLTGYGW,B083QN46QR,B084VW4STH,B084WP3FZB,B08T7V89DZ,B09167N7D6,B093395XQH,B0933BQTPJ,B0933D1KWT,B094RGBPHF,B094RGGTBJ,B095CL7FXX,B095KKCHRN,B095WVF3PR,B095WVK4J5,B095WVLCVG,B095WVRJFF,B095WW4G5R,B095WWMG6K,B096KLVSQX,B098PHXNY5,B099KNW6B2,B099KPBF2T,B099KRC117,B099KRM2XL,B099KW3VKH,B099KZHBC7,B09B47V8FF,B09B4BFYYX,B09BRBHJC1,B09BRDC4XL,B09BRGP87L,B09BRGZQQT,B09BRHX32J,B09BZL7SGM,B09CZL9PHG,B09D1H4366,B09DTFBTY2,B09DTGPWRG,B09FBRX8MT,B09FBTNPS7,B09GGDNKKC,B09GGFHVJW,B09GGFR5BZ,B09PRM742Y,B09Q3QGF6R,B09RTHY4L6,B09RTJ7FRS,B09RTJ7HQ5,B09SGHKDFB,B01LBII22W,B01MYUIZZU,B01N2I9EPS,B06XJ9CKYK,B07B539TGH,B07G4FD48R,B07HHC5Q34,B07LG57XZN,B07NBV1BVZ,B083QLHYGN,B084WKYT1S,B08THQV2BJ,B08YK9S3JV,B08YKCZSQ5,B08Z8KG8C1,B092W5VZTL,B093152PGV,B094714KW1,B094RG724G,B094RJ422R,B094RJQLM2,B096KMCS84,B09D15GRWB,B09Q3PLD7F,B09RTJ4RQM,B07B53HYN8,B083QN6SGX,B084VW1TRB,B08V5NK3HQ,B095WSF7KD,B09GGDQTJX,B09R53FP21,B083QMH6XQ,B09165J7SK,B095WTNF6Z,B095WTWDBN,B095WW8VMW,B09HR3L5BB,B09PVNLYLK,B09RTJG6MW,B09HR5G7BC,B09R7WN1XW,B09SGJDJ4F,B06XJ9DPL3,B08YKLS37G,B099FJG3YN,B09J1DXW7J,B09RTJ9WMN,B08Z8KVPGV,B095WVSN72,B09B4BQL1D,B09DTDRK61,B09GGBRQTC,B09R4S3421,B09R83FT4Y,B09RTK9TDF,B09RTKJ1HB,B09SJ1S95Y,B08THPTQD5,B095WTS8JT,B099KRQRSJ,B09HR2SYN9,B09HR555PR,B09R7V9W26,B09VCHSQ5D,B09R4JGD98,B09RBBVQ28,B09SGMRGBM,B09RBC3TF5,B09RTKNFXY,B09DTGFJCT,B09DTGH97G,B09DTGND3H,B09DTGNL4Y,B09DTH1BQQ,B09DTHD16B,B09DTHKVXF,B09DTHT9NT,B09F9ZK2YN,B09FB1QD1C,B09FB4D683,B09FB4RXHF,B09GGCK5HZ,B09GGDK5CQ,B09GGFMDNK,B09GGFQS7T,B09GGFTKJ2,B09HR45C32,B09HR5C8Z5,B09HR5JKXN,B09HR66P3F,B09J1FRFFG,B09PRMGF8M,B09PVNVW3N,B09PVPZRP8,B09Q3P7CTT,B09Q3QH23Z,B09Q685MMZ,B09R51VR66,B09R7XM1WP,B09R84PLX7,B09RTHFST5,B09RTJ59GY,B09RTKH17J,B09RTKXRJW,B09D1K25GX,B09DTGKMT5,B09DTH5J9C,B09F6GKFW8,B09GKS79RM,B09R7V2K4D,B09VCHMX3X,B01LBC33RW,B01N9CEPFL,B06XJBBBRJ,B07G4D8DY9,B07G4FPZW9,B07HH71VB9,B07LGDN557,B07M5M1RX5,B07NBG8G2M,B07PDN989V,B07ZTKQM5C,B083QLT352,B083QM1YX6,B08T5M7VWF,B08YK8TQZF,B09315BVK6,B09339SPMT,B0933B77MK,B0933C8VH1,B094RJM49N,B095KJDYF7,B095WWLPK9,B096KKT96J,B096L1MM92,B097HHW837,B099KSPNYN,B099KW2SCK,B099SH5PD4,B09B496K16,B09B4CM3YG,B09BRGHBRN,B09BRGW8SR,B09D1H9LTC,B09DTFNHXB,B09DTGG7L8,B09DTGGBTY,B09FBQBHTH,B09FBRX3Q9,B09GKVJJWW,B09PRNH5KZ,B09R4LP593,B09RTHT8D9,B09RTJ14FH,B09RTJ2P8D,B09RTKNCZQ,B09SGHDXFK,B09SGJY7QK,B01MRS9ODR,B01N658UVB,B06XJ6M7YR,B07B51FJXQ,B07G4FN2W5,B07HHBJ6KW,B07LCQMTBT,B083QM8KFG,B084WL8J41,B084X6SRVT,B08WRDNH8F,B08YKJD97G,B08Z8K9HPK,B09167ZD3R,B092VZ6P6R,B092W84R6Q,B09338SZKG,B094JDFNH9,B094RFBH6L,B094RGY8H7,B094RJWN53,B095CMTBWC,B095WT846Y,B095WTW19R,B095WW1XJ1,B095WW4Y1V,B095WX79DT,B096KM91KB,B096KPWK9P,B096KQ631R,B096VT9FSF,B0971F3H69,B0977612HZ,B099FDWRT5,B099FGXX5G,B099FJ8VNL,B099KR2ZVD,B099KSZJ83,B099L2JJYY,B099NFS2V8,B099SGT985,B09BRD9JKY,B09BRGZF4J,B09D14GXVS,B09DTF774V,B09DTFGKSK,B099KPMN5S,B09BRHM9JC,B09471CW9Y,B01N64YHYO,B06XJ29D92,B0971F6SLY,B09DTH56SY,B094RGFWPX,B09FB4KTH8,B07G4BW855,B08KWK4N4S,B09792MPKT,B06XJ8RZNS,B07PFL65Y2,B093391MQC,B093392TBN,B09BRFZ85F,B09GKTN3TH,B09Q67QH9H,B09DTG9X4B,B09FB6HTWB,B01MQQVSGD,B099KT6S9B,B09B4BCWD5,B09BRDQFTV,B0933B9379,B09DTDBTGV,B07ZTKYPFR,B092W6BN8L,B09316ZH2S,B07Z56SCCF,B08WRQLM3P,B094JBY29B,B099KSYTK3,B09BRCSRFS,B09DTH729B,B07LCQ6BJ9,B094RHDFF2,B09RTJCVCW,B07LCRMFLF,B09CZWC7X9,B01LBC32UK,B09F6H2L2L,B07HH8QLLN,B09DTGXNZX,B08WRL5GGX,B092VYJ4PH,B09DTG1HVZ,B09Q3NK2FR,B01N2OPIV8,B06XHR7CD2,B08T5PF1CR,B096VPDC8X,B09DTHLJ4X,B09DTJTT4P,B099KPRYR8,B09DTDL2L4,B01DWA6Z94,B07HHBMC8L,B096L26P85,B09GGFC77S,B09PRLPHYQ,B09PVMPTBZ,B07G3F77PR,B09DTF7XZ7,B07Z43C4M1,B084VW8587,B094RK6NCC,B09RTHSWQ6,B099KP6DMM,B09Q68DY8Y,B083F3NQNJ,B08YKC46W2,B09339WVMK,B096KMJR8G,B09DTFYJQZ,B07LGDR6X3,B09BRFX5W7,B084X1BF37,B096ZXP6LQ,B09775JZLF,B09CZHX1F1,B09DTHG57J,B09DTHP2JP,B09GGCGFHY,B09PNX7SK9,B01MTOYCWV,B07HH7NFKS,B094RGD9ZF,B09DTGVN8C,B07B4ZPFTN,B09GGV8DWW,B09PRN3DTZ,B07YLTGJ93,B094RK4399,B09Q3N9W6L,B09RTJCXH2,B09SGJF88Q,B084WLXZHT,B098PGR818,B09HR6RT7V,B07G2PVFXH,B01DNUKYXG,B01ENGPL1E,B01LEV9I8I,B01LCZY0WU,B07LGD48WL,B01DMCV7RW,B01DW9OF5Q,B01DWAL4JA,B01LBDBKVM,B01ENG0WTA,B07B12866X,B07HH8B1DZ,B07G3B834X,B07DPPG9FZ,B01DNYHTLM,B08WWYFN7Z,B083QM754H,B07MMWQHLY,B01DMEADXO,B096KLW6C9,B09BRC9GQH,B01ENH49DY,B096KLSSCH,B07GH4J9VP,B07G3FB3YJ,B01ENA14IY,B099FH3X9R,B08P4TDCPS,B01DO14KNE,B01LBDSRGI,B07M5M3Y29,B07G4FHL4B,B096XNM3HF,B01N648QMG,B01ELZDNAS,B06XJ68N37,B091HX8TSM,B099FF91GL,B07Z43TW87,B07HH66Y84,B01EN4XK7S,B096KMY9KF,B07Z57ZYZW,B09FB3XMWW,B08124F7HC,B01DW9YG5A,B091HGYJTC,B096MCPPZV,B08WS39V2J,B098PGPZG7,B09D1FHXRJ,B084WZM869,B01EN5QHNQ,B09FB4Y1ND,B01MXT2BW0,B09FB3ZGP7,B07MCYC4LK,B083QM2RJV,B099KTD8Q5,B01LBFKGBA,B095KJND4T,B0977GC2KQ,B07YZRKYDJ,B096KLSCKP,B099FG7FYV,B096KP2WRC,B09FB4XWMD,B01LBII24K,B081HBBJ1W,B099FG883T,B0933BXSGB,B01N42CU8D,B09DTDNK7C,B09BZN198H,B09RTHSQ68,B09339KR1K,B01ENGIKXU,B099SHF8GZ,B084WPH23J,B096KNYJMY,B099SGH19Y,B099SH4HPN,B09GKRSDTM,B07B51ZVCK,B0933CDTR4',
locale => 'en_US'
)
) AS x
v3_Products_Keywords
Products - Keywords
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter_include> (optional): Filter entities by the list of objectIds
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<keywordIdFilter_include> (optional): Filter entities by the list of objectIds
<keywordTextFilter_include> (optional): Filter by keywordText
<keywordTextFilter_queryTermMatchType> (optional): Match type for query filters (BROAD_MATCH, EXACT_MATCH)
<locale> (optional): Restricts results to keywords associated with locale
<matchTypeFilter> (optional): Only the keyword with match type that is in this list will be listed. Sponsored products match type (EXACT, PHRASE, BROAD, OTHER)
<stateFilter_include> (optional): The current resource state (ENABLED, PAUSED, ARCHIVED, ENABLING, USER_DELETED, OTHER)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | |
---|---|---|
profileId | long | Profile ID |
campaignId | long | entity object identifier |
adGroupId | long | entity object identifier |
bid | bigdecimal | Bid associated with this keyword. Applicable to biddable match types only |
extendedData_creationDateTime | timestamp | Creation date in ISO 8601 |
extendedData_lastUpdateDateTime | timestamp | Last updated date in ISO 8601 |
extendedData_servingStatus | string | Keywords. Extended data. Serving status |
keywordId | string | Entity object identifier |
keywordText | string | Keywords. Keyword text |
matchType | string | Keywords. Match type |
nativeLanguageKeyword | string | The unlocalized keyword text in the preferred locale of the advertiser |
nativeLanguageLocale | string | The locale preference of the advertiser. For example, if the advertiser's preferred language is Simplified Chinese, set the locale to zh_CN. Supported locales include: Simplified Chinese (locale: zh_CN) for US, UK and CA. English (locale: en_GB) for DE, FR, IT and ES |
state | string | Keywords. State |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_Keywords AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_Keywords (
stateFilter_include => NULL,
matchTypeFilter => NULL,
locale => 'en_US',
keywordTextFilter_queryTermMatchType => NULL,
keywordTextFilter_include => NULL,
keywordIdFilter_include => NULL,
campaignIdFilter_include => '81002320838825,139739708059936,192383770543505,183729298991161,60563471854251,226958438922324,176771942280373,249414770058102,103445002995929,72642803464766,79918354699586,81397930295225,84233775537863,84931138387724,183449303725334,171710531707658,161596668061264,269257712631440,239804780055055,183648735513897,243066043702367,76639932389729,239009527896164,177079036785557,265326047979138,121888533386034,197279224125873,175527415951434,39883225367013,205601342364807,123090687966124,21043528251535,191355054220834,58671932710039,33634424645534,190597853929654,240530973521770,155108921507427,268051228813012,37900319581836,132250551106750,163777300343578,160007257145364,213886517123701,39311656077910,153333910294066,197896311971515,163044857402358,100392559483537,67217339764223,175140907878089,44562729344356,276546790004480,180536794158116,104240984732992,50591717098999,51831570737030,118484091781824,210950954979025,46367306159693,200988163438810,24897650070646,39686480689556,230065155853152,198223241999431,275473789414183,248288706135637,94621312356087,103241489961288,98772565801078,270316391571922,78337923694035,133336841479877,135252020761198,254998132326167,180936194519914,114968756673633,235742165314264,58258435271910,53369268534828,185967812182793,10318734852913,227580355751070,276687270800578,245012737307987,124137420393288,24761905847962,116225042427922,109031557633438,20976884437654,60024867014939,63722631626932,98310450666783,17492451054253,164674634950554,271337556815576,184872979216794,225341504486695,272290597965877,114176040540328,256843826169122,30276585294940,252810328862297,177288868668966,53618980333851,111455258890070,118844927501151,94087356166285,24585891756553,170980696035647,231834244548369,58698762277618,5050919205803,232939170435742,181483446717060,55934732646088,63377861204071,218909602102294,82617984399080,152263668581868,215142641876327,266475569111374,20966865665923,20386203066259,10535457237947,136503523136921,106704021290178,43659241173368,125781128263508,98807892427113,251696275785662,89347544997455,172725313402254,276062492936145,143559159329624,247668502284746,248415034757913,16745411162008,14795109587805,189296444296839,88383927401896,87883097464028,35705723441033,56416102689496,278491578807473,43749446624579,9048056288094,238371918470584,197960166479049,169475069274252,135045180126148,150355221184252,38574764915049,103013476203983,274410115003189,175527883739528,150171026865394,123651133312257,235408001076046,67650544668798,165226410192851,204212885576357,196278878824291,53061252106327,149936880966213,218598000890704,185823348707217,144329027634084,62089390949530,193466610858758,50913232409713,159466930207401,55979354619102,29190448175457,173355780405336,37589423811526,51261453001663,28713650094960,2458763800995,264965113201819,60523609538630,46593862195047,117033676601295,111858270247674,262122616124552,280296607706284,6354627491446,9892346330218,75923267582562,149650445859222,104605103916296,275587369750476,32050809773473,103861669476899,255027026499491,29112046175667,135346124079893,22685708677036,151556848852171,107067022804009,176647570599767,240318380553799,210662869632232,106309788201372,279419510926044,251999191437648,263221298337862,223132475392194,75682086305696,209192737275868,62850111534776,123919153218807,30961376181031,236021558537870,10836488890413,145823921775790,149174422194032,187195186793729,66494214325461,39395766491941,16890732487045,86855128031929,24548876261381,159717201317908,225022591910531,119294403948031,48876143288491,108550540851371,165851214654296,106465423754431,210192940551664,185523379053597,113578554726608,181203266137038,203003514078206,60297881919811,89299054653572,141606615982425,171939864591073,187173696671398,188479396794533,280261378957809,228163543914042,63806661300051,24135111936437,102092316397027,262946278488252,174535155575632,115393069881653,81151693123240,190069887897699,205712092395231,91929874923811,219715803405092,132945965264343,130962402178371,108992576845019,153489888840636,102343032838598,11501286360249,162549491620923,128138728799818,93210880199048,170541190369293,258186876066759,132019381215325,62331882245623,52981162706633,194892063871315,254023276160136,219611814757020,203721717972336,174071240654586,120756869443389,51972050316130,270061342822281,225114124525039,180860693532471,50764762391207,179994107702863,239371441987808,6876775474136,270850706292263,152626265589069,137854480172183,93883389935394,7124722670843,218469760855664,238341663493102,197191889589873,110805099700871,149558428949717,37376565389035,186613313946845,132676479831099,261451772722216,213805270425691,138357882528571,7829018723478,123769313223888,256574166434526,222357892528142,253775466879785,185504751818991,11404558948013,231103469644779,198494978188280,277416028186517,208518770666789,18633754037697,169527504675722,129275970939916,259612483669739,76567085411446,177535875071778,195655503196783,256607586448423,242656413978963,80366710995311,34378543410608,75393387729296,143668583373306,88673208866205,266728494684292,45321311881437,251156387190330,169125892619260,217816552520478,129501641410695,98486652107104,29721347521341,148318634003953,50596347248098,229847179882603,149756868595053,126308200523072,229242264170685,174008255802942,197895691224637,164571679574369,85519213181026,180802688843189,217046523551343,277847827833362,71932362376466,132877263805545,183574353810661,71922121379215,6430443237493,203895087438196,87475251556444,63636953865870,270513481664601,2662789780889,238644539782037,12666637888681,73492690177093,138817417123185,176724079686998,239857571695347,148297255962670,101081960748305,251441762637480,127918327924965,166924438379339,69526350632741,195474804218322,210803490040521,57615669598154,264423474856448,128980303140938,265023544415402,76782250504072,80989954592058,260382679487189,128505687446771,27854811193246,22936687206777,57600981515292,166948736426089,127043197314550,255885703200581,120752086426790,213139388032896,100681490326478,240474088318075,129441493715084,175357326569561,271688940749484,220208069178266,143542318926584,174718094839426,782145188918,110905218402071,205753974687237,119981441455205,255878953897672,44063852371860,137763186236896,122919164004021,150809303994551,89172525455138,205771860163358,17966621071330,33939101775379,18218274528659,109957915010158,108058772010049,153028312564221,68153759141316,153786623774215,64177002441776,193104666704550,163410386840636,95853384463233,20934008366190,199655180997092,203498225227510,202539912667547,197028616320880,197625625830074,19272437234194,49118841235463,148443115258168,176483077070775,201974586379299,162528479447124,247544854477307,43518166162384,1678612044200,160155456386566,100317657111979,165889102103727,103255134520811,254685905958150,200987693542079,155274391898080,38102930217402,103435292191279,18800213447199,165186988823231,187198954174284,196372479738674,122512703803874,100965274060979,226348919124299,162362915247233,270968365026767,218508097631592,274718317436508,250017532248614,217859623387909,115606857617372,14834510784690,48593298228905,261515500199998,72034040060467,110317828942980,226755745190891,14614412110271,56016336503811,163236619380351,275799658968377,137283971737332,37707456059178,250022725291750,67960549236120,252492116955909,279582822094898,36618503925921,209112447882262,148043349058498,125835641996833,209376823739660,28272661995834,75511340539304,88953094700064,198133476808173,85347847596253,228586738773852,192675247969149,23826541799706,99033107756116,253191334327609,78513113437602,243545055088520,99214714718006,115365277509038,165542900991620,238355804929345,147890794226574,207001629189951,29951271664022,51772747508339,93270665014276,167503577044456,146437678516656,154934495808809,58732385643891,230018381511737,155098498651243,68133179585910,147902753711748,193462971206355,274865806424486,191395174786907,130852007586211,278244720469023,99011993878729,15715841723090,173968206964923,235688840184827,47849487438866,12210396066760,152694921664857,108209566913707,8945303919753,265606419997069,100558334004258,159734572472555,50200457225387,230040078141106,232479017124437,137844321977263,17929294954894,24325724859742,95529029908807,240758208296877,231013623617685,100260031726323,14736587197899,12599231325549,224922869706009,22803152890655,129779071052948,9312424289335,190248069198952,194342978411912,208475729485290,169894483436502,262155975721314,80463515399452,240507871997318,132424397713940,18258560459413,170198817169112,55641865061444,280621992887679,37165430477320,129547202078234,247242910157390,76965453367646,114398479426389,274550960162686,147811508088238,100492390073201,252621083879224,240644971551074,167738356002449,59299249103931,242735361260486,74925469883781,109593372694223,195301560810210,15624658374708,7146799828008,32864932555196,139739803075698,169429382436689,203670476325396,140378614853072,9210947882382,147871022626243,205776137154877,47745630806807,19381174552748,91102666558447,115720318614184,125312145784211,129711796280977,6442750484195,189193836897107,122959091553377,228495865539318,134871883254026,171650170278444,220343546808538,110704184110985,209493432917865,75308708679515,46112167555919,92918269555294,262804072689290,212288285982861,157202574740439,34521125570152,107955165697017,26631348579135,16583040271951,130349469956825,163419702086339,178364269936980,175681745111035,71027542379568,257409729440345,210319861579693,263490508556976,117398936213792,104528757775079,136353130363266,10082003884739,170107159459347,85220235686165,175877284048576,197462938332210,235371922130586,216559949149561,226529004597183,54652346897933,236259250836089,114967337438660,73832340961085,48421046807799,48010877982993,158105867392795,67552113811432,1929227640844,115386146034155,246786317742927,37508651374359,57086698241079,33823091090305,219699114570587,21616209161254,201348395988735,217860740756484,151845151161742,260515070768326,86524863992072,134673727655128,69296609347261,266810450183586,19314319644406,226091800579521,19334225403879,163701970205870,4898414914946,75822564228920,27337965404461,55484202362200,60649432927013,189214899166924,69325693774457,217555697226814,97627966739216,180621519847908,40705118949630,94851900007161,98758476433863,37707360268547,236685950204278,111388393976800,202116127926114,169396342865322,165115801626656,990400753600,108828875805439,231696798650145,116453313493720,22771920375532,176012289408311,235562730377813,61203203559971,156421612003797,86548353079199,209776975441776,127446492214224,204032894877702,69913016944792,155229825532010,40123129679395,238825588671291,275645711343975,246516587718837,4867993887630,99496337505134,86050561014902,21587943652932,44961019787625,212267343926966,180541963792799,74122504062465,75950210009241,196908664043408,183992056274724,51034238953734,25642102122225,59031359342972,140819131781400,132295481813333,136762080565837,213623349462592,39087956200624,18769928775614,114143053607559,123438336207209,276591061191642,194355698184990,125811237534029,50411160825682,163678939896843,16048774636088,266007281908188,125272560077591,503382722801,67101130459176,85557795561831,90826835557565,27594777516652,195395663361671,240713968639802,104652154771425,185464337877852,262415708752663,216331083497173,145004940128032,277376428833851,144993181451637,252803101763745,253625608527610,37303410692278,46461168126683,187415342743544,209783044027408,51808410145756,85309929812037,188995775459711,210244674642123,91680940785881,150547476506031,194604991334387,75436822813703,209083387829819,109494283422405,147634118170613,12175013750620,168542652227738,64898918388183,201552938545545,49199778837259,99234398894761,23836158335272,189510761769623,105413253186973,196811354031416,149592233600503,273930300771416,210406208704445,107230341936656,69127279869845,37608847599900,222529209183553,270612432229281,200311022717074,66599023841021,172981438748848,17065721816640,269499334776560,119042148979312,76469280792776,248949449814269,64937484340327,59057899800312,141278699854707,191878713311264,173596564183338,152305039793160,267361842918951,254430367918563,110503929702372,201752035421501,226850442540490,125836029719912,71271348645385,251987243800579,247457625102432,234529882274108,55655830920170,144624027149596,43041124859036,265876069757325,239038917471693,110931613391095,156817947487585,246731552515223,51956516448624,96638277410513,60936994766336,231374149609338,204414092773069,207623796151335,243518339106813,277179906600115,91391071125231,83059465701030,60761079503006,195705758093797,61877943431504,66878295588493,208600436864790,275606211876465,2335864147139,69167781290710,239098877561395,261928733392414,54598797060992,43008189864623,255967822972850,79416555276932,273032306725844,70616557705786,188121246862147,149368769207725,234909856730898,199417563789146,66197644985512,158923971824362,236449048257819,217766055323873,228648524591484,83310346378028,153152944708095,54538498825334,253936477598183,105516756722850,107643067641184,264020167193479,245879769589979,77745269965297,53304616095640,42957995324283,27732435478504,259880785064741,119074483586335,173731032446134,277559872149656,168390215103157,27244151802190,124064040625463,130878234592412,42640663606722,194891829150937,107774802070464,155335665273144,263763418076631,146922460509520,232429448767542,19747721436109,48470589226130,39851941155928,272263673212660,12974276486664,219465494930666,194884198314564,189191699451841,108267178656751,83267766448249,42262921027544,197458133425859,173016632168694,234032228666212,23868767111420,13542250269108,3753355511586,119665367462262,164013290000307,150645117232448,178662320790817,155480853134612,164824524036678,231622227912892,145375014590147,49146524607882,118859386694872,82076993464687,117021796384280,8993731390717,17390778534457,126550974618651,278842070839554,225273535099487,276317761147099,75714737517047,242990119106107,35313407703391,37119375360400,44362829811572,128083022099656,169917864068772,191745555997557,182443109242875,44504421062916,24137080564910,204038311364767,280687421199631,7937672945356,8765723734516,177451270928344,130043104934,176254033888832,150667311661008,161574871585426,30033300004633,87353682194492,250451665739869,11879007747889,203122211084059,18056854948563,235114152543578,104926478934243,181815095893739,98334222634444,83320156081850,74053767994665,30357888673807,82889525278810,36090201993454,119332501173786,272373960383198,5717885278716,78609358098894,245549932192517,79336461572455,135016501893817,275136775747495,280964529962204,168726624048309,172564528126095,186978246741382,235627721554391,279599817580525,182579554210954,185088688912132,233069626771159,145190159478286,203443549681757,103818406454032,77004624489876,54954136168762,6302281957099,89897491827891,23230891927479,165653585017012,93328583287919,252639191151031,52138380375021,249857374609561,191327764866783,120619973501554,222600050688975,85236049240636,147081198967083,84205067598457,27577980572540,21165136565144,101730855157328,138343694711980,213878848859873,140313341784992,241853800330182,6808296922057,191625060144461,65903889490060,264388313150116,35096275663470,33824987357806,71791649458484,255633784674634,76968149328535,272014837148113,59548482321539,135025318769774,2110239280824,129118133592722,25568946658544,84241171535311,138640207079240,36133012384113,231482526460406,254518737911136,165050479048522,28665731235298,256547147967320,34679089020412,204355537448899,127552868174889,8757665530515,167566531393340,210514862720444,269887922509728',
adGroupIdFilter_include => NULL
)
) AS x
v3_Products_NegativeKeywords
Products - Negative Keywords
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter_include> (optional): Filter entities by the list of objectIds
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<locale> (optional): Restricts results to negativeKeywords that match the specified locale
<matchTypeFilter> (optional): Only the negativeKeyword with the match type that is in this list will be listed. Sponsored products negative match type (NEGATIVE_EXACT, NEGATIVE_PHRASE, NEGATIVE_BROAD, OTHER)
<negativeKeywordIdFilter_include> (optional): Filter entities by the list of objectIds
<negativeKeywordTextFilter_include> (optional): Filter by keywordText
<negativeKeywordTextFilter_queryTermMatchType> (optional): Match type for query filters (BROAD_MATCH, EXACT_MATCH)
<stateFilter_include> (optional): The current resource state (ENABLED, PAUSED, ARCHIVED, ENABLING, USER_DELETED, OTHER)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The identifier of the campaign to which the keyword is associated |
adGroupId | long | The identifier of the ad group to which this keyword is associated |
extendedData_creationDateTime | timestamp | Creation date in ISO 8601 |
extendedData_lastUpdateDateTime | timestamp | Last updated date in ISO 8601 |
extendedData_servingStatus | string | Negative keywords. Extended data. Serving status |
keywordId | string | The identifier of the keyword |
keywordText | string | The keyword text |
matchType | string | Negative keywords. Match type |
nativeLanguageKeyword | string | The unlocalized keyword text in the preferred locale of the advertiser |
nativeLanguageLocale | string | The locale preference of the advertiser |
state | string | Negative keywords. State |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_NegativeKeywords AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_NegativeKeywords (
stateFilter_include => NULL,
negativeKeywordTextFilter_queryTermMatchType => NULL,
negativeKeywordTextFilter_include => NULL,
negativeKeywordIdFilter_include => NULL,
matchTypeFilter => NULL,
locale => 'en_US',
campaignIdFilter_include => '81002320838825,139739708059936,192383770543505,183729298991161,60563471854251,226958438922324,176771942280373,249414770058102,103445002995929,72642803464766,79918354699586,81397930295225,84233775537863,84931138387724,183449303725334,171710531707658,161596668061264,269257712631440,239804780055055,183648735513897,243066043702367,76639932389729,239009527896164,177079036785557,265326047979138,121888533386034,197279224125873,175527415951434,39883225367013,205601342364807,123090687966124,21043528251535,191355054220834,58671932710039,33634424645534,190597853929654,240530973521770,155108921507427,268051228813012,37900319581836,132250551106750,163777300343578,160007257145364,213886517123701,39311656077910,153333910294066,197896311971515,163044857402358,100392559483537,67217339764223,175140907878089,44562729344356,276546790004480,180536794158116,104240984732992,50591717098999,51831570737030,118484091781824,210950954979025,46367306159693,200988163438810,24897650070646,39686480689556,230065155853152,198223241999431,275473789414183,248288706135637,94621312356087,103241489961288,98772565801078,270316391571922,78337923694035,133336841479877,135252020761198,254998132326167,180936194519914,114968756673633,235742165314264,58258435271910,53369268534828,185967812182793,10318734852913,227580355751070,276687270800578,245012737307987,124137420393288,24761905847962,116225042427922,109031557633438,20976884437654,60024867014939,63722631626932,98310450666783,17492451054253,164674634950554,271337556815576,184872979216794,225341504486695,272290597965877,114176040540328,256843826169122,30276585294940,252810328862297,177288868668966,53618980333851,111455258890070,118844927501151,94087356166285,24585891756553,170980696035647,231834244548369,58698762277618,5050919205803,232939170435742,181483446717060,55934732646088,63377861204071,218909602102294,82617984399080,152263668581868,215142641876327,266475569111374,20966865665923,20386203066259,10535457237947,136503523136921,106704021290178,43659241173368,125781128263508,98807892427113,251696275785662,89347544997455,172725313402254,276062492936145,143559159329624,247668502284746,248415034757913,16745411162008,14795109587805,189296444296839,88383927401896,87883097464028,35705723441033,56416102689496,278491578807473,43749446624579,9048056288094,238371918470584,197960166479049,169475069274252,135045180126148,150355221184252,38574764915049,103013476203983,274410115003189,175527883739528,150171026865394,123651133312257,235408001076046,67650544668798,165226410192851,204212885576357,196278878824291,53061252106327,149936880966213,218598000890704,185823348707217,144329027634084,62089390949530,193466610858758,50913232409713,159466930207401,55979354619102,29190448175457,173355780405336,37589423811526,51261453001663,28713650094960,2458763800995,264965113201819,60523609538630,46593862195047,117033676601295,111858270247674,262122616124552,280296607706284,6354627491446,9892346330218,75923267582562,149650445859222,104605103916296,275587369750476,32050809773473,103861669476899,255027026499491,29112046175667,135346124079893,22685708677036,151556848852171,107067022804009,176647570599767,240318380553799,210662869632232,106309788201372,279419510926044,251999191437648,263221298337862,223132475392194,75682086305696,209192737275868,62850111534776,123919153218807,30961376181031,236021558537870,10836488890413,145823921775790,149174422194032,187195186793729,66494214325461,39395766491941,16890732487045,86855128031929,24548876261381,159717201317908,225022591910531,119294403948031,48876143288491,108550540851371,165851214654296,106465423754431,210192940551664,185523379053597,113578554726608,181203266137038,203003514078206,60297881919811,89299054653572,141606615982425,171939864591073,187173696671398,188479396794533,280261378957809,228163543914042,63806661300051,24135111936437,102092316397027,262946278488252,174535155575632,115393069881653,81151693123240,190069887897699,205712092395231,91929874923811,219715803405092,132945965264343,130962402178371,108992576845019,153489888840636,102343032838598,11501286360249,162549491620923,128138728799818,93210880199048,170541190369293,258186876066759,132019381215325,62331882245623,52981162706633,194892063871315,254023276160136,219611814757020,203721717972336,174071240654586,120756869443389,51972050316130,270061342822281,225114124525039,180860693532471,50764762391207,179994107702863,239371441987808,6876775474136,270850706292263,152626265589069,137854480172183,93883389935394,7124722670843,218469760855664,238341663493102,197191889589873,110805099700871,149558428949717,37376565389035,186613313946845,132676479831099,261451772722216,213805270425691,138357882528571,7829018723478,123769313223888,256574166434526,222357892528142,253775466879785,185504751818991,11404558948013,231103469644779,198494978188280,277416028186517,208518770666789,18633754037697,169527504675722,129275970939916,259612483669739,76567085411446,177535875071778,195655503196783,256607586448423,242656413978963,80366710995311,34378543410608,75393387729296,143668583373306,88673208866205,266728494684292,45321311881437,251156387190330,169125892619260,217816552520478,129501641410695,98486652107104,29721347521341,148318634003953,50596347248098,229847179882603,149756868595053,126308200523072,229242264170685,174008255802942,197895691224637,164571679574369,85519213181026,180802688843189,217046523551343,277847827833362,71932362376466,132877263805545,183574353810661,71922121379215,6430443237493,203895087438196,87475251556444,63636953865870,270513481664601,2662789780889,238644539782037,12666637888681,73492690177093,138817417123185,176724079686998,239857571695347,148297255962670,101081960748305,251441762637480,127918327924965,166924438379339,69526350632741,195474804218322,210803490040521,57615669598154,264423474856448,128980303140938,265023544415402,76782250504072,80989954592058,260382679487189,128505687446771,27854811193246,22936687206777,57600981515292,166948736426089,127043197314550,255885703200581,120752086426790,213139388032896,100681490326478,240474088318075,129441493715084,175357326569561,271688940749484,220208069178266,143542318926584,174718094839426,782145188918,110905218402071,205753974687237,119981441455205,255878953897672,44063852371860,137763186236896,122919164004021,150809303994551,89172525455138,205771860163358,17966621071330,33939101775379,18218274528659,109957915010158,108058772010049,153028312564221,68153759141316,153786623774215,64177002441776,193104666704550,163410386840636,95853384463233,20934008366190,199655180997092,203498225227510,202539912667547,197028616320880,197625625830074,19272437234194,49118841235463,148443115258168,176483077070775,201974586379299,162528479447124,247544854477307,43518166162384,1678612044200,160155456386566,100317657111979,165889102103727,103255134520811,254685905958150,200987693542079,155274391898080,38102930217402,103435292191279,18800213447199,165186988823231,187198954174284,196372479738674,122512703803874,100965274060979,226348919124299,162362915247233,270968365026767,218508097631592,274718317436508,250017532248614,217859623387909,115606857617372,14834510784690,48593298228905,261515500199998,72034040060467,110317828942980,226755745190891,14614412110271,56016336503811,163236619380351,275799658968377,137283971737332,37707456059178,250022725291750,67960549236120,252492116955909,279582822094898,36618503925921,209112447882262,148043349058498,125835641996833,209376823739660,28272661995834,75511340539304,88953094700064,198133476808173,85347847596253,228586738773852,192675247969149,23826541799706,99033107756116,253191334327609,78513113437602,243545055088520,99214714718006,115365277509038,165542900991620,238355804929345,147890794226574,207001629189951,29951271664022,51772747508339,93270665014276,167503577044456,146437678516656,154934495808809,58732385643891,230018381511737,155098498651243,68133179585910,147902753711748,193462971206355,274865806424486,191395174786907,130852007586211,278244720469023,99011993878729,15715841723090,173968206964923,235688840184827,47849487438866,12210396066760,152694921664857,108209566913707,8945303919753,265606419997069,100558334004258,159734572472555,50200457225387,230040078141106,232479017124437,137844321977263,17929294954894,24325724859742,95529029908807,240758208296877,231013623617685,100260031726323,14736587197899,12599231325549,224922869706009,22803152890655,129779071052948,9312424289335,190248069198952,194342978411912,208475729485290,169894483436502,262155975721314,80463515399452,240507871997318,132424397713940,18258560459413,170198817169112,55641865061444,280621992887679,37165430477320,129547202078234,247242910157390,76965453367646,114398479426389,274550960162686,147811508088238,100492390073201,252621083879224,240644971551074,167738356002449,59299249103931,242735361260486,74925469883781,109593372694223,195301560810210,15624658374708,7146799828008,32864932555196,139739803075698,169429382436689,203670476325396,140378614853072,9210947882382,147871022626243,205776137154877,47745630806807,19381174552748,91102666558447,115720318614184,125312145784211,129711796280977,6442750484195,189193836897107,122959091553377,228495865539318,134871883254026,171650170278444,220343546808538,110704184110985,209493432917865,75308708679515,46112167555919,92918269555294,262804072689290,212288285982861,157202574740439,34521125570152,107955165697017,26631348579135,16583040271951,130349469956825,163419702086339,178364269936980,175681745111035,71027542379568,257409729440345,210319861579693,263490508556976,117398936213792,104528757775079,136353130363266,10082003884739,170107159459347,85220235686165,175877284048576,197462938332210,235371922130586,216559949149561,226529004597183,54652346897933,236259250836089,114967337438660,73832340961085,48421046807799,48010877982993,158105867392795,67552113811432,1929227640844,115386146034155,246786317742927,37508651374359,57086698241079,33823091090305,219699114570587,21616209161254,201348395988735,217860740756484,151845151161742,260515070768326,86524863992072,134673727655128,69296609347261,266810450183586,19314319644406,226091800579521,19334225403879,163701970205870,4898414914946,75822564228920,27337965404461,55484202362200,60649432927013,189214899166924,69325693774457,217555697226814,97627966739216,180621519847908,40705118949630,94851900007161,98758476433863,37707360268547,236685950204278,111388393976800,202116127926114,169396342865322,165115801626656,990400753600,108828875805439,231696798650145,116453313493720,22771920375532,176012289408311,235562730377813,61203203559971,156421612003797,86548353079199,209776975441776,127446492214224,204032894877702,69913016944792,155229825532010,40123129679395,238825588671291,275645711343975,246516587718837,4867993887630,99496337505134,86050561014902,21587943652932,44961019787625,212267343926966,180541963792799,74122504062465,75950210009241,196908664043408,183992056274724,51034238953734,25642102122225,59031359342972,140819131781400,132295481813333,136762080565837,213623349462592,39087956200624,18769928775614,114143053607559,123438336207209,276591061191642,194355698184990,125811237534029,50411160825682,163678939896843,16048774636088,266007281908188,125272560077591,503382722801,67101130459176,85557795561831,90826835557565,27594777516652,195395663361671,240713968639802,104652154771425,185464337877852,262415708752663,216331083497173,145004940128032,277376428833851,144993181451637,252803101763745,253625608527610,37303410692278,46461168126683,187415342743544,209783044027408,51808410145756,85309929812037,188995775459711,210244674642123,91680940785881,150547476506031,194604991334387,75436822813703,209083387829819,109494283422405,147634118170613,12175013750620,168542652227738,64898918388183,201552938545545,49199778837259,99234398894761,23836158335272,189510761769623,105413253186973,196811354031416,149592233600503,273930300771416,210406208704445,107230341936656,69127279869845,37608847599900,222529209183553,270612432229281,200311022717074,66599023841021,172981438748848,17065721816640,269499334776560,119042148979312,76469280792776,248949449814269,64937484340327,59057899800312,141278699854707,191878713311264,173596564183338,152305039793160,267361842918951,254430367918563,110503929702372,201752035421501,226850442540490,125836029719912,71271348645385,251987243800579,247457625102432,234529882274108,55655830920170,144624027149596,43041124859036,265876069757325,239038917471693,110931613391095,156817947487585,246731552515223,51956516448624,96638277410513,60936994766336,231374149609338,204414092773069,207623796151335,243518339106813,277179906600115,91391071125231,83059465701030,60761079503006,195705758093797,61877943431504,66878295588493,208600436864790,275606211876465,2335864147139,69167781290710,239098877561395,261928733392414,54598797060992,43008189864623,255967822972850,79416555276932,273032306725844,70616557705786,188121246862147,149368769207725,234909856730898,199417563789146,66197644985512,158923971824362,236449048257819,217766055323873,228648524591484,83310346378028,153152944708095,54538498825334,253936477598183,105516756722850,107643067641184,264020167193479,245879769589979,77745269965297,53304616095640,42957995324283,27732435478504,259880785064741,119074483586335,173731032446134,277559872149656,168390215103157,27244151802190,124064040625463,130878234592412,42640663606722,194891829150937,107774802070464,155335665273144,263763418076631,146922460509520,232429448767542,19747721436109,48470589226130,39851941155928,272263673212660,12974276486664,219465494930666,194884198314564,189191699451841,108267178656751,83267766448249,42262921027544,197458133425859,173016632168694,234032228666212,23868767111420,13542250269108,3753355511586,119665367462262,164013290000307,150645117232448,178662320790817,155480853134612,164824524036678,231622227912892,145375014590147,49146524607882,118859386694872,82076993464687,117021796384280,8993731390717,17390778534457,126550974618651,278842070839554,225273535099487,276317761147099,75714737517047,242990119106107,35313407703391,37119375360400,44362829811572,128083022099656,169917864068772,191745555997557,182443109242875,44504421062916,24137080564910,204038311364767,280687421199631,7937672945356,8765723734516,177451270928344,130043104934,176254033888832,150667311661008,161574871585426,30033300004633,87353682194492,250451665739869,11879007747889,203122211084059,18056854948563,235114152543578,104926478934243,181815095893739,98334222634444,83320156081850,74053767994665,30357888673807,82889525278810,36090201993454,119332501173786,272373960383198,5717885278716,78609358098894,245549932192517,79336461572455,135016501893817,275136775747495,280964529962204,168726624048309,172564528126095,186978246741382,235627721554391,279599817580525,182579554210954,185088688912132,233069626771159,145190159478286,203443549681757,103818406454032,77004624489876,54954136168762,6302281957099,89897491827891,23230891927479,165653585017012,93328583287919,252639191151031,52138380375021,249857374609561,191327764866783,120619973501554,222600050688975,85236049240636,147081198967083,84205067598457,27577980572540,21165136565144,101730855157328,138343694711980,213878848859873,140313341784992,241853800330182,6808296922057,191625060144461,65903889490060,264388313150116,35096275663470,33824987357806,71791649458484,255633784674634,76968149328535,272014837148113,59548482321539,135025318769774,2110239280824,129118133592722,25568946658544,84241171535311,138640207079240,36133012384113,231482526460406,254518737911136,165050479048522,28665731235298,256547147967320,34679089020412,204355537448899,127552868174889,8757665530515,167566531393340,210514862720444,269887922509728',
adGroupIdFilter_include => NULL
)
) AS x
v3_Products_NegativeTargetingClauses
Products - Negative Targeting
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter_include> (optional): Filter entities by the list of objectIds
<asinFilter_include> (optional): Asin filter
<asinFilter_queryTermMatchType> (optional): Match type for query filters (BROAD_MATCH, EXACT_MATCH)
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<negativeTargetIdFilter_include> (optional): Filter entities by the list of objectIds
<stateFilter_include> (optional): The current resource state (ENABLED, PAUSED, ARCHIVED, ENABLING, USER_DELETED, OTHER)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The identifier of the campaign to which this target is associated |
adGroupId | long | The identifier of the ad group to which this target is associated |
expression | string | The NegativeTargeting expression |
extendedData_creationDateTime | timestamp | Creation date in ISO 8601 |
extendedData_lastUpdateDateTime | timestamp | Last updated date in ISO 8601 |
extendedData_servingStatus | string | Negative targeting clauses. Extended data. Serving status |
resolvedExpression | string | The resolved NegativeTargeting expression |
state | string | Negative targeting clauses. State |
targetId | string | The target identifier |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_NegativeTargetingClauses AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_NegativeTargetingClauses (
stateFilter_include => NULL,
negativeTargetIdFilter_include => NULL,
campaignIdFilter_include => '81002320838825,139739708059936,192383770543505,183729298991161,60563471854251,226958438922324,176771942280373,249414770058102,103445002995929,72642803464766,79918354699586,81397930295225,84233775537863,84931138387724,183449303725334,171710531707658,161596668061264,269257712631440,239804780055055,183648735513897,243066043702367,76639932389729,239009527896164,177079036785557,265326047979138,121888533386034,197279224125873,175527415951434,39883225367013,205601342364807,123090687966124,21043528251535,191355054220834,58671932710039,33634424645534,190597853929654,240530973521770,155108921507427,268051228813012,37900319581836,132250551106750,163777300343578,160007257145364,213886517123701,39311656077910,153333910294066,197896311971515,163044857402358,100392559483537,67217339764223,175140907878089,44562729344356,276546790004480,180536794158116,104240984732992,50591717098999,51831570737030,118484091781824,210950954979025,46367306159693,200988163438810,24897650070646,39686480689556,230065155853152,198223241999431,275473789414183,248288706135637,94621312356087,103241489961288,98772565801078,270316391571922,78337923694035,133336841479877,135252020761198,254998132326167,180936194519914,114968756673633,235742165314264,58258435271910,53369268534828,185967812182793,10318734852913,227580355751070,276687270800578,245012737307987,124137420393288,24761905847962,116225042427922,109031557633438,20976884437654,60024867014939,63722631626932,98310450666783,17492451054253,164674634950554,271337556815576,184872979216794,225341504486695,272290597965877,114176040540328,256843826169122,30276585294940,252810328862297,177288868668966,53618980333851,111455258890070,118844927501151,94087356166285,24585891756553,170980696035647,231834244548369,58698762277618,5050919205803,232939170435742,181483446717060,55934732646088,63377861204071,218909602102294,82617984399080,152263668581868,215142641876327,266475569111374,20966865665923,20386203066259,10535457237947,136503523136921,106704021290178,43659241173368,125781128263508,98807892427113,251696275785662,89347544997455,172725313402254,276062492936145,143559159329624,247668502284746,248415034757913,16745411162008,14795109587805,189296444296839,88383927401896,87883097464028,35705723441033,56416102689496,278491578807473,43749446624579,9048056288094,238371918470584,197960166479049,169475069274252,135045180126148,150355221184252,38574764915049,103013476203983,274410115003189,175527883739528,150171026865394,123651133312257,235408001076046,67650544668798,165226410192851,204212885576357,196278878824291,53061252106327,149936880966213,218598000890704,185823348707217,144329027634084,62089390949530,193466610858758,50913232409713,159466930207401,55979354619102,29190448175457,173355780405336,37589423811526,51261453001663,28713650094960,2458763800995,264965113201819,60523609538630,46593862195047,117033676601295,111858270247674,262122616124552,280296607706284,6354627491446,9892346330218,75923267582562,149650445859222,104605103916296,275587369750476,32050809773473,103861669476899,255027026499491,29112046175667,135346124079893,22685708677036,151556848852171,107067022804009,176647570599767,240318380553799,210662869632232,106309788201372,279419510926044,251999191437648,263221298337862,223132475392194,75682086305696,209192737275868,62850111534776,123919153218807,30961376181031,236021558537870,10836488890413,145823921775790,149174422194032,187195186793729,66494214325461,39395766491941,16890732487045,86855128031929,24548876261381,159717201317908,225022591910531,119294403948031,48876143288491,108550540851371,165851214654296,106465423754431,210192940551664,185523379053597,113578554726608,181203266137038,203003514078206,60297881919811,89299054653572,141606615982425,171939864591073,187173696671398,188479396794533,280261378957809,228163543914042,63806661300051,24135111936437,102092316397027,262946278488252,174535155575632,115393069881653,81151693123240,190069887897699,205712092395231,91929874923811,219715803405092,132945965264343,130962402178371,108992576845019,153489888840636,102343032838598,11501286360249,162549491620923,128138728799818,93210880199048,170541190369293,258186876066759,132019381215325,62331882245623,52981162706633,194892063871315,254023276160136,219611814757020,203721717972336,174071240654586,120756869443389,51972050316130,270061342822281,225114124525039,180860693532471,50764762391207,179994107702863,239371441987808,6876775474136,270850706292263,152626265589069,137854480172183,93883389935394,7124722670843,218469760855664,238341663493102,197191889589873,110805099700871,149558428949717,37376565389035,186613313946845,132676479831099,261451772722216,213805270425691,138357882528571,7829018723478,123769313223888,256574166434526,222357892528142,253775466879785,185504751818991,11404558948013,231103469644779,198494978188280,277416028186517,208518770666789,18633754037697,169527504675722,129275970939916,259612483669739,76567085411446,177535875071778,195655503196783,256607586448423,242656413978963,80366710995311,34378543410608,75393387729296,143668583373306,88673208866205,266728494684292,45321311881437,251156387190330,169125892619260,217816552520478,129501641410695,98486652107104,29721347521341,148318634003953,50596347248098,229847179882603,149756868595053,126308200523072,229242264170685,174008255802942,197895691224637,164571679574369,85519213181026,180802688843189,217046523551343,277847827833362,71932362376466,132877263805545,183574353810661,71922121379215,6430443237493,203895087438196,87475251556444,63636953865870,270513481664601,2662789780889,238644539782037,12666637888681,73492690177093,138817417123185,176724079686998,239857571695347,148297255962670,101081960748305,251441762637480,127918327924965,166924438379339,69526350632741,195474804218322,210803490040521,57615669598154,264423474856448,128980303140938,265023544415402,76782250504072,80989954592058,260382679487189,128505687446771,27854811193246,22936687206777,57600981515292,166948736426089,127043197314550,255885703200581,120752086426790,213139388032896,100681490326478,240474088318075,129441493715084,175357326569561,271688940749484,220208069178266,143542318926584,174718094839426,782145188918,110905218402071,205753974687237,119981441455205,255878953897672,44063852371860,137763186236896,122919164004021,150809303994551,89172525455138,205771860163358,17966621071330,33939101775379,18218274528659,109957915010158,108058772010049,153028312564221,68153759141316,153786623774215,64177002441776,193104666704550,163410386840636,95853384463233,20934008366190,199655180997092,203498225227510,202539912667547,197028616320880,197625625830074,19272437234194,49118841235463,148443115258168,176483077070775,201974586379299,162528479447124,247544854477307,43518166162384,1678612044200,160155456386566,100317657111979,165889102103727,103255134520811,254685905958150,200987693542079,155274391898080,38102930217402,103435292191279,18800213447199,165186988823231,187198954174284,196372479738674,122512703803874,100965274060979,226348919124299,162362915247233,270968365026767,218508097631592,274718317436508,250017532248614,217859623387909,115606857617372,14834510784690,48593298228905,261515500199998,72034040060467,110317828942980,226755745190891,14614412110271,56016336503811,163236619380351,275799658968377,137283971737332,37707456059178,250022725291750,67960549236120,252492116955909,279582822094898,36618503925921,209112447882262,148043349058498,125835641996833,209376823739660,28272661995834,75511340539304,88953094700064,198133476808173,85347847596253,228586738773852,192675247969149,23826541799706,99033107756116,253191334327609,78513113437602,243545055088520,99214714718006,115365277509038,165542900991620,238355804929345,147890794226574,207001629189951,29951271664022,51772747508339,93270665014276,167503577044456,146437678516656,154934495808809,58732385643891,230018381511737,155098498651243,68133179585910,147902753711748,193462971206355,274865806424486,191395174786907,130852007586211,278244720469023,99011993878729,15715841723090,173968206964923,235688840184827,47849487438866,12210396066760,152694921664857,108209566913707,8945303919753,265606419997069,100558334004258,159734572472555,50200457225387,230040078141106,232479017124437,137844321977263,17929294954894,24325724859742,95529029908807,240758208296877,231013623617685,100260031726323,14736587197899,12599231325549,224922869706009,22803152890655,129779071052948,9312424289335,190248069198952,194342978411912,208475729485290,169894483436502,262155975721314,80463515399452,240507871997318,132424397713940,18258560459413,170198817169112,55641865061444,280621992887679,37165430477320,129547202078234,247242910157390,76965453367646,114398479426389,274550960162686,147811508088238,100492390073201,252621083879224,240644971551074,167738356002449,59299249103931,242735361260486,74925469883781,109593372694223,195301560810210,15624658374708,7146799828008,32864932555196,139739803075698,169429382436689,203670476325396,140378614853072,9210947882382,147871022626243,205776137154877,47745630806807,19381174552748,91102666558447,115720318614184,125312145784211,129711796280977,6442750484195,189193836897107,122959091553377,228495865539318,134871883254026,171650170278444,220343546808538,110704184110985,209493432917865,75308708679515,46112167555919,92918269555294,262804072689290,212288285982861,157202574740439,34521125570152,107955165697017,26631348579135,16583040271951,130349469956825,163419702086339,178364269936980,175681745111035,71027542379568,257409729440345,210319861579693,263490508556976,117398936213792,104528757775079,136353130363266,10082003884739,170107159459347,85220235686165,175877284048576,197462938332210,235371922130586,216559949149561,226529004597183,54652346897933,236259250836089,114967337438660,73832340961085,48421046807799,48010877982993,158105867392795,67552113811432,1929227640844,115386146034155,246786317742927,37508651374359,57086698241079,33823091090305,219699114570587,21616209161254,201348395988735,217860740756484,151845151161742,260515070768326,86524863992072,134673727655128,69296609347261,266810450183586,19314319644406,226091800579521,19334225403879,163701970205870,4898414914946,75822564228920,27337965404461,55484202362200,60649432927013,189214899166924,69325693774457,217555697226814,97627966739216,180621519847908,40705118949630,94851900007161,98758476433863,37707360268547,236685950204278,111388393976800,202116127926114,169396342865322,165115801626656,990400753600,108828875805439,231696798650145,116453313493720,22771920375532,176012289408311,235562730377813,61203203559971,156421612003797,86548353079199,209776975441776,127446492214224,204032894877702,69913016944792,155229825532010,40123129679395,238825588671291,275645711343975,246516587718837,4867993887630,99496337505134,86050561014902,21587943652932,44961019787625,212267343926966,180541963792799,74122504062465,75950210009241,196908664043408,183992056274724,51034238953734,25642102122225,59031359342972,140819131781400,132295481813333,136762080565837,213623349462592,39087956200624,18769928775614,114143053607559,123438336207209,276591061191642,194355698184990,125811237534029,50411160825682,163678939896843,16048774636088,266007281908188,125272560077591,503382722801,67101130459176,85557795561831,90826835557565,27594777516652,195395663361671,240713968639802,104652154771425,185464337877852,262415708752663,216331083497173,145004940128032,277376428833851,144993181451637,252803101763745,253625608527610,37303410692278,46461168126683,187415342743544,209783044027408,51808410145756,85309929812037,188995775459711,210244674642123,91680940785881,150547476506031,194604991334387,75436822813703,209083387829819,109494283422405,147634118170613,12175013750620,168542652227738,64898918388183,201552938545545,49199778837259,99234398894761,23836158335272,189510761769623,105413253186973,196811354031416,149592233600503,273930300771416,210406208704445,107230341936656,69127279869845,37608847599900,222529209183553,270612432229281,200311022717074,66599023841021,172981438748848,17065721816640,269499334776560,119042148979312,76469280792776,248949449814269,64937484340327,59057899800312,141278699854707,191878713311264,173596564183338,152305039793160,267361842918951,254430367918563,110503929702372,201752035421501,226850442540490,125836029719912,71271348645385,251987243800579,247457625102432,234529882274108,55655830920170,144624027149596,43041124859036,265876069757325,239038917471693,110931613391095,156817947487585,246731552515223,51956516448624,96638277410513,60936994766336,231374149609338,204414092773069,207623796151335,243518339106813,277179906600115,91391071125231,83059465701030,60761079503006,195705758093797,61877943431504,66878295588493,208600436864790,275606211876465,2335864147139,69167781290710,239098877561395,261928733392414,54598797060992,43008189864623,255967822972850,79416555276932,273032306725844,70616557705786,188121246862147,149368769207725,234909856730898,199417563789146,66197644985512,158923971824362,236449048257819,217766055323873,228648524591484,83310346378028,153152944708095,54538498825334,253936477598183,105516756722850,107643067641184,264020167193479,245879769589979,77745269965297,53304616095640,42957995324283,27732435478504,259880785064741,119074483586335,173731032446134,277559872149656,168390215103157,27244151802190,124064040625463,130878234592412,42640663606722,194891829150937,107774802070464,155335665273144,263763418076631,146922460509520,232429448767542,19747721436109,48470589226130,39851941155928,272263673212660,12974276486664,219465494930666,194884198314564,189191699451841,108267178656751,83267766448249,42262921027544,197458133425859,173016632168694,234032228666212,23868767111420,13542250269108,3753355511586,119665367462262,164013290000307,150645117232448,178662320790817,155480853134612,164824524036678,231622227912892,145375014590147,49146524607882,118859386694872,82076993464687,117021796384280,8993731390717,17390778534457,126550974618651,278842070839554,225273535099487,276317761147099,75714737517047,242990119106107,35313407703391,37119375360400,44362829811572,128083022099656,169917864068772,191745555997557,182443109242875,44504421062916,24137080564910,204038311364767,280687421199631,7937672945356,8765723734516,177451270928344,130043104934,176254033888832,150667311661008,161574871585426,30033300004633,87353682194492,250451665739869,11879007747889,203122211084059,18056854948563,235114152543578,104926478934243,181815095893739,98334222634444,83320156081850,74053767994665,30357888673807,82889525278810,36090201993454,119332501173786,272373960383198,5717885278716,78609358098894,245549932192517,79336461572455,135016501893817,275136775747495,280964529962204,168726624048309,172564528126095,186978246741382,235627721554391,279599817580525,182579554210954,185088688912132,233069626771159,145190159478286,203443549681757,103818406454032,77004624489876,54954136168762,6302281957099,89897491827891,23230891927479,165653585017012,93328583287919,252639191151031,52138380375021,249857374609561,191327764866783,120619973501554,222600050688975,85236049240636,147081198967083,84205067598457,27577980572540,21165136565144,101730855157328,138343694711980,213878848859873,140313341784992,241853800330182,6808296922057,191625060144461,65903889490060,264388313150116,35096275663470,33824987357806,71791649458484,255633784674634,76968149328535,272014837148113,59548482321539,135025318769774,2110239280824,129118133592722,25568946658544,84241171535311,138640207079240,36133012384113,231482526460406,254518737911136,165050479048522,28665731235298,256547147967320,34679089020412,204355537448899,127552868174889,8757665530515,167566531393340,210514862720444,269887922509728',
asinFilter_queryTermMatchType => NULL,
asinFilter_include => NULL,
adGroupIdFilter_include => NULL
)
) AS x
v3_Products_OptimizationRuleEligibility
Products - Campaign optimization rule recommendation for SP campaigns
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignIds> (required): campaignId
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
part | string | |
campaignId | long | List of successful campaign optimization recomendation for campaigns. Campaign id |
performanceMetrics_roas | bigdecimal | return on ad spend value |
error_code | string | An enumerated error code for machine use |
error_details | string | A human-readable description of the response |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_OptimizationRuleEligibility AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_OptimizationRuleEligibility (
campaignIds => '81002320838825,139739708059936,192383770543505,183729298991161,60563471854251,226958438922324,176771942280373,249414770058102,103445002995929,72642803464766,79918354699586,81397930295225,84233775537863,84931138387724,183449303725334,171710531707658,161596668061264,269257712631440,239804780055055,183648735513897,243066043702367,76639932389729,239009527896164,177079036785557,265326047979138,121888533386034,197279224125873,175527415951434,39883225367013,205601342364807,123090687966124,21043528251535,191355054220834,58671932710039,33634424645534,190597853929654,240530973521770,155108921507427,268051228813012,37900319581836,132250551106750,163777300343578,160007257145364,213886517123701,39311656077910,153333910294066,197896311971515,163044857402358,100392559483537,67217339764223,175140907878089,44562729344356,276546790004480,180536794158116,104240984732992,50591717098999,51831570737030,118484091781824,210950954979025,46367306159693,200988163438810,24897650070646,39686480689556,230065155853152,198223241999431,275473789414183,248288706135637,94621312356087,103241489961288,98772565801078,270316391571922,78337923694035,133336841479877,135252020761198,254998132326167,180936194519914,114968756673633,235742165314264,58258435271910,53369268534828,185967812182793,10318734852913,227580355751070,276687270800578,245012737307987,124137420393288,24761905847962,116225042427922,109031557633438,20976884437654,60024867014939,63722631626932,98310450666783,17492451054253,164674634950554,271337556815576,184872979216794,225341504486695,272290597965877,114176040540328,256843826169122,30276585294940,252810328862297,177288868668966,53618980333851,111455258890070,118844927501151,94087356166285,24585891756553,170980696035647,231834244548369,58698762277618,5050919205803,232939170435742,181483446717060,55934732646088,63377861204071,218909602102294,82617984399080,152263668581868,215142641876327,266475569111374,20966865665923,20386203066259,10535457237947,136503523136921,106704021290178,43659241173368,125781128263508,98807892427113,251696275785662,89347544997455,172725313402254,276062492936145,143559159329624,247668502284746,248415034757913,16745411162008,14795109587805,189296444296839,88383927401896,87883097464028,35705723441033,56416102689496,278491578807473,43749446624579,9048056288094,238371918470584,197960166479049,169475069274252,135045180126148,150355221184252,38574764915049,103013476203983,274410115003189,175527883739528,150171026865394,123651133312257,235408001076046,67650544668798,165226410192851,204212885576357,196278878824291,53061252106327,149936880966213,218598000890704,185823348707217,144329027634084,62089390949530,193466610858758,50913232409713,159466930207401,55979354619102,29190448175457,173355780405336,37589423811526,51261453001663,28713650094960,2458763800995,264965113201819,60523609538630,46593862195047,117033676601295,111858270247674,262122616124552,280296607706284,6354627491446,9892346330218,75923267582562,149650445859222,104605103916296,275587369750476,32050809773473,103861669476899,255027026499491,29112046175667,135346124079893,22685708677036,151556848852171,107067022804009,176647570599767,240318380553799,210662869632232,106309788201372,279419510926044,251999191437648,263221298337862,223132475392194,75682086305696,209192737275868,62850111534776,123919153218807,30961376181031,236021558537870,10836488890413,145823921775790,149174422194032,187195186793729,66494214325461,39395766491941,16890732487045,86855128031929,24548876261381,159717201317908,225022591910531,119294403948031,48876143288491,108550540851371,165851214654296,106465423754431,210192940551664,185523379053597,113578554726608,181203266137038,203003514078206,60297881919811,89299054653572,141606615982425,171939864591073,187173696671398,188479396794533,280261378957809,228163543914042,63806661300051,24135111936437,102092316397027,262946278488252,174535155575632,115393069881653,81151693123240,190069887897699,205712092395231,91929874923811,219715803405092,132945965264343,130962402178371,108992576845019,153489888840636,102343032838598,11501286360249,162549491620923,128138728799818,93210880199048,170541190369293,258186876066759,132019381215325,62331882245623,52981162706633,194892063871315,254023276160136,219611814757020,203721717972336,174071240654586,120756869443389,51972050316130,270061342822281,225114124525039,180860693532471,50764762391207,179994107702863,239371441987808,6876775474136,270850706292263,152626265589069,137854480172183,93883389935394,7124722670843,218469760855664,238341663493102,197191889589873,110805099700871,149558428949717,37376565389035,186613313946845,132676479831099,261451772722216,213805270425691,138357882528571,7829018723478,123769313223888,256574166434526,222357892528142,253775466879785,185504751818991,11404558948013,231103469644779,198494978188280,277416028186517,208518770666789,18633754037697,169527504675722,129275970939916,259612483669739,76567085411446,177535875071778,195655503196783,256607586448423,242656413978963,80366710995311,34378543410608,75393387729296,143668583373306,88673208866205,266728494684292,45321311881437,251156387190330,169125892619260,217816552520478,129501641410695,98486652107104,29721347521341,148318634003953,50596347248098,229847179882603,149756868595053,126308200523072,229242264170685,174008255802942,197895691224637,164571679574369,85519213181026,180802688843189,217046523551343,277847827833362,71932362376466,132877263805545,183574353810661,71922121379215,6430443237493,203895087438196,87475251556444,63636953865870,270513481664601,2662789780889,238644539782037,12666637888681,73492690177093,138817417123185,176724079686998,239857571695347,148297255962670,101081960748305,251441762637480,127918327924965,166924438379339,69526350632741,195474804218322,210803490040521,57615669598154,264423474856448,128980303140938,265023544415402,76782250504072,80989954592058,260382679487189,128505687446771,27854811193246,22936687206777,57600981515292,166948736426089,127043197314550,255885703200581,120752086426790,213139388032896,100681490326478,240474088318075,129441493715084,175357326569561,271688940749484,220208069178266,143542318926584,174718094839426,782145188918,110905218402071,205753974687237,119981441455205,255878953897672,44063852371860,137763186236896,122919164004021,150809303994551,89172525455138,205771860163358,17966621071330,33939101775379,18218274528659,109957915010158,108058772010049,153028312564221,68153759141316,153786623774215,64177002441776,193104666704550,163410386840636,95853384463233,20934008366190,199655180997092,203498225227510,202539912667547,197028616320880,197625625830074,19272437234194,49118841235463,148443115258168,176483077070775,201974586379299,162528479447124,247544854477307,43518166162384,1678612044200,160155456386566,100317657111979,165889102103727,103255134520811,254685905958150,200987693542079,155274391898080,38102930217402,103435292191279,18800213447199,165186988823231,187198954174284,196372479738674,122512703803874,100965274060979,226348919124299,162362915247233,270968365026767,218508097631592,274718317436508,250017532248614,217859623387909,115606857617372,14834510784690,48593298228905,261515500199998,72034040060467,110317828942980,226755745190891,14614412110271,56016336503811,163236619380351,275799658968377,137283971737332,37707456059178,250022725291750,67960549236120,252492116955909,279582822094898,36618503925921,209112447882262,148043349058498,125835641996833,209376823739660,28272661995834,75511340539304,88953094700064,198133476808173,85347847596253,228586738773852,192675247969149,23826541799706,99033107756116,253191334327609,78513113437602,243545055088520,99214714718006,115365277509038,165542900991620,238355804929345,147890794226574,207001629189951,29951271664022,51772747508339,93270665014276,167503577044456,146437678516656,154934495808809,58732385643891,230018381511737,155098498651243,68133179585910,147902753711748,193462971206355,274865806424486,191395174786907,130852007586211,278244720469023,99011993878729,15715841723090,173968206964923,235688840184827,47849487438866,12210396066760,152694921664857,108209566913707,8945303919753,265606419997069,100558334004258,159734572472555,50200457225387,230040078141106,232479017124437,137844321977263,17929294954894,24325724859742,95529029908807,240758208296877,231013623617685,100260031726323,14736587197899,12599231325549,224922869706009,22803152890655,129779071052948,9312424289335,190248069198952,194342978411912,208475729485290,169894483436502,262155975721314,80463515399452,240507871997318,132424397713940,18258560459413,170198817169112,55641865061444,280621992887679,37165430477320,129547202078234,247242910157390,76965453367646,114398479426389,274550960162686,147811508088238,100492390073201,252621083879224,240644971551074,167738356002449,59299249103931,242735361260486,74925469883781,109593372694223,195301560810210,15624658374708,7146799828008,32864932555196,139739803075698,169429382436689,203670476325396,140378614853072,9210947882382,147871022626243,205776137154877,47745630806807,19381174552748,91102666558447,115720318614184,125312145784211,129711796280977,6442750484195,189193836897107,122959091553377,228495865539318,134871883254026,171650170278444,220343546808538,110704184110985,209493432917865,75308708679515,46112167555919,92918269555294,262804072689290,212288285982861,157202574740439,34521125570152,107955165697017,26631348579135,16583040271951,130349469956825,163419702086339,178364269936980,175681745111035,71027542379568,257409729440345,210319861579693,263490508556976,117398936213792,104528757775079,136353130363266,10082003884739,170107159459347,85220235686165,175877284048576,197462938332210,235371922130586,216559949149561,226529004597183,54652346897933,236259250836089,114967337438660,73832340961085,48421046807799,48010877982993,158105867392795,67552113811432,1929227640844,115386146034155,246786317742927,37508651374359,57086698241079,33823091090305,219699114570587,21616209161254,201348395988735,217860740756484,151845151161742,260515070768326,86524863992072,134673727655128,69296609347261,266810450183586,19314319644406,226091800579521,19334225403879,163701970205870,4898414914946,75822564228920,27337965404461,55484202362200,60649432927013,189214899166924,69325693774457,217555697226814,97627966739216,180621519847908,40705118949630,94851900007161,98758476433863,37707360268547,236685950204278,111388393976800,202116127926114,169396342865322,165115801626656,990400753600,108828875805439,231696798650145,116453313493720,22771920375532,176012289408311,235562730377813,61203203559971,156421612003797,86548353079199,209776975441776,127446492214224,204032894877702,69913016944792,155229825532010,40123129679395,238825588671291,275645711343975,246516587718837,4867993887630,99496337505134,86050561014902,21587943652932,44961019787625,212267343926966,180541963792799,74122504062465,75950210009241,196908664043408,183992056274724,51034238953734,25642102122225,59031359342972,140819131781400,132295481813333,136762080565837,213623349462592,39087956200624,18769928775614,114143053607559,123438336207209,276591061191642,194355698184990,125811237534029,50411160825682,163678939896843,16048774636088,266007281908188,125272560077591,503382722801,67101130459176,85557795561831,90826835557565,27594777516652,195395663361671,240713968639802,104652154771425,185464337877852,262415708752663,216331083497173,145004940128032,277376428833851,144993181451637,252803101763745,253625608527610,37303410692278,46461168126683,187415342743544,209783044027408,51808410145756,85309929812037,188995775459711,210244674642123,91680940785881,150547476506031,194604991334387,75436822813703,209083387829819,109494283422405,147634118170613,12175013750620,168542652227738,64898918388183,201552938545545,49199778837259,99234398894761,23836158335272,189510761769623,105413253186973,196811354031416,149592233600503,273930300771416,210406208704445,107230341936656,69127279869845,37608847599900,222529209183553,270612432229281,200311022717074,66599023841021,172981438748848,17065721816640,269499334776560,119042148979312,76469280792776,248949449814269,64937484340327,59057899800312,141278699854707,191878713311264,173596564183338,152305039793160,267361842918951,254430367918563,110503929702372,201752035421501,226850442540490,125836029719912,71271348645385,251987243800579,247457625102432,234529882274108,55655830920170,144624027149596,43041124859036,265876069757325,239038917471693,110931613391095,156817947487585,246731552515223,51956516448624,96638277410513,60936994766336,231374149609338,204414092773069,207623796151335,243518339106813,277179906600115,91391071125231,83059465701030,60761079503006,195705758093797,61877943431504,66878295588493,208600436864790,275606211876465,2335864147139,69167781290710,239098877561395,261928733392414,54598797060992,43008189864623,255967822972850,79416555276932,273032306725844,70616557705786,188121246862147,149368769207725,234909856730898,199417563789146,66197644985512,158923971824362,236449048257819,217766055323873,228648524591484,83310346378028,153152944708095,54538498825334,253936477598183,105516756722850,107643067641184,264020167193479,245879769589979,77745269965297,53304616095640,42957995324283,27732435478504,259880785064741,119074483586335,173731032446134,277559872149656,168390215103157,27244151802190,124064040625463,130878234592412,42640663606722,194891829150937,107774802070464,155335665273144,263763418076631,146922460509520,232429448767542,19747721436109,48470589226130,39851941155928,272263673212660,12974276486664,219465494930666,194884198314564,189191699451841,108267178656751,83267766448249,42262921027544,197458133425859,173016632168694,234032228666212,23868767111420,13542250269108,3753355511586,119665367462262,164013290000307,150645117232448,178662320790817,155480853134612,164824524036678,231622227912892,145375014590147,49146524607882,118859386694872,82076993464687,117021796384280,8993731390717,17390778534457,126550974618651,278842070839554,225273535099487,276317761147099,75714737517047,242990119106107,35313407703391,37119375360400,44362829811572,128083022099656,169917864068772,191745555997557,182443109242875,44504421062916,24137080564910,204038311364767,280687421199631,7937672945356,8765723734516,177451270928344,130043104934,176254033888832,150667311661008,161574871585426,30033300004633,87353682194492,250451665739869,11879007747889,203122211084059,18056854948563,235114152543578,104926478934243,181815095893739,98334222634444,83320156081850,74053767994665,30357888673807,82889525278810,36090201993454,119332501173786,272373960383198,5717885278716,78609358098894,245549932192517,79336461572455,135016501893817,275136775747495,280964529962204,168726624048309,172564528126095,186978246741382,235627721554391,279599817580525,182579554210954,185088688912132,233069626771159,145190159478286,203443549681757,103818406454032,77004624489876,54954136168762,6302281957099,89897491827891,23230891927479,165653585017012,93328583287919,252639191151031,52138380375021,249857374609561,191327764866783,120619973501554,222600050688975,85236049240636,147081198967083,84205067598457,27577980572540,21165136565144,101730855157328,138343694711980,213878848859873,140313341784992,241853800330182,6808296922057,191625060144461,65903889490060,264388313150116,35096275663470,33824987357806,71791649458484,255633784674634,76968149328535,272014837148113,59548482321539,135025318769774,2110239280824,129118133592722,25568946658544,84241171535311,138640207079240,36133012384113,231482526460406,254518737911136,165050479048522,28665731235298,256547147967320,34679089020412,204355537448899,127552868174889,8757665530515,167566531393340,210514862720444,269887922509728'
)
) AS x
v3_Products_ProductAds
Products - Product Ads
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter_include> (optional): Filter entities by the list of objectIds
<adIdFilter_include> (optional): Filter entities by the list of objectIds
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<stateFilter_include> (optional): The current resource state (ENABLED, PAUSED, ARCHIVED, ENABLING, USER_DELETED, OTHER)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
asin | string | The ASIN associated with the product. Defined for vendors only |
sku | string | The SKU associated with the product. Defined for seller accounts only |
campaignId | long | The campaign identifier |
adGroupId | long | The ad group identifier |
adId | long | The product ad identifier |
customText | string | The custom text that is associated with this ad. Defined for custom text ads only |
extendedData_creationDateTime | timestamp | Creation date in ISO 8601 |
extendedData_lastUpdateDateTime | timestamp | Last updated date in ISO 8601 |
extendedData_servingStatus | string | Product ads. Extended data. Serving status |
state | string | Product ads. State |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_ProductAds AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_ProductAds (
stateFilter_include => NULL,
campaignIdFilter_include => '81002320838825,139739708059936,192383770543505,183729298991161,60563471854251,226958438922324,176771942280373,249414770058102,103445002995929,72642803464766,79918354699586,81397930295225,84233775537863,84931138387724,183449303725334,171710531707658,161596668061264,269257712631440,239804780055055,183648735513897,243066043702367,76639932389729,239009527896164,177079036785557,265326047979138,121888533386034,197279224125873,175527415951434,39883225367013,205601342364807,123090687966124,21043528251535,191355054220834,58671932710039,33634424645534,190597853929654,240530973521770,155108921507427,268051228813012,37900319581836,132250551106750,163777300343578,160007257145364,213886517123701,39311656077910,153333910294066,197896311971515,163044857402358,100392559483537,67217339764223,175140907878089,44562729344356,276546790004480,180536794158116,104240984732992,50591717098999,51831570737030,118484091781824,210950954979025,46367306159693,200988163438810,24897650070646,39686480689556,230065155853152,198223241999431,275473789414183,248288706135637,94621312356087,103241489961288,98772565801078,270316391571922,78337923694035,133336841479877,135252020761198,254998132326167,180936194519914,114968756673633,235742165314264,58258435271910,53369268534828,185967812182793,10318734852913,227580355751070,276687270800578,245012737307987,124137420393288,24761905847962,116225042427922,109031557633438,20976884437654,60024867014939,63722631626932,98310450666783,17492451054253,164674634950554,271337556815576,184872979216794,225341504486695,272290597965877,114176040540328,256843826169122,30276585294940,252810328862297,177288868668966,53618980333851,111455258890070,118844927501151,94087356166285,24585891756553,170980696035647,231834244548369,58698762277618,5050919205803,232939170435742,181483446717060,55934732646088,63377861204071,218909602102294,82617984399080,152263668581868,215142641876327,266475569111374,20966865665923,20386203066259,10535457237947,136503523136921,106704021290178,43659241173368,125781128263508,98807892427113,251696275785662,89347544997455,172725313402254,276062492936145,143559159329624,247668502284746,248415034757913,16745411162008,14795109587805,189296444296839,88383927401896,87883097464028,35705723441033,56416102689496,278491578807473,43749446624579,9048056288094,238371918470584,197960166479049,169475069274252,135045180126148,150355221184252,38574764915049,103013476203983,274410115003189,175527883739528,150171026865394,123651133312257,235408001076046,67650544668798,165226410192851,204212885576357,196278878824291,53061252106327,149936880966213,218598000890704,185823348707217,144329027634084,62089390949530,193466610858758,50913232409713,159466930207401,55979354619102,29190448175457,173355780405336,37589423811526,51261453001663,28713650094960,2458763800995,264965113201819,60523609538630,46593862195047,117033676601295,111858270247674,262122616124552,280296607706284,6354627491446,9892346330218,75923267582562,149650445859222,104605103916296,275587369750476,32050809773473,103861669476899,255027026499491,29112046175667,135346124079893,22685708677036,151556848852171,107067022804009,176647570599767,240318380553799,210662869632232,106309788201372,279419510926044,251999191437648,263221298337862,223132475392194,75682086305696,209192737275868,62850111534776,123919153218807,30961376181031,236021558537870,10836488890413,145823921775790,149174422194032,187195186793729,66494214325461,39395766491941,16890732487045,86855128031929,24548876261381,159717201317908,225022591910531,119294403948031,48876143288491,108550540851371,165851214654296,106465423754431,210192940551664,185523379053597,113578554726608,181203266137038,203003514078206,60297881919811,89299054653572,141606615982425,171939864591073,187173696671398,188479396794533,280261378957809,228163543914042,63806661300051,24135111936437,102092316397027,262946278488252,174535155575632,115393069881653,81151693123240,190069887897699,205712092395231,91929874923811,219715803405092,132945965264343,130962402178371,108992576845019,153489888840636,102343032838598,11501286360249,162549491620923,128138728799818,93210880199048,170541190369293,258186876066759,132019381215325,62331882245623,52981162706633,194892063871315,254023276160136,219611814757020,203721717972336,174071240654586,120756869443389,51972050316130,270061342822281,225114124525039,180860693532471,50764762391207,179994107702863,239371441987808,6876775474136,270850706292263,152626265589069,137854480172183,93883389935394,7124722670843,218469760855664,238341663493102,197191889589873,110805099700871,149558428949717,37376565389035,186613313946845,132676479831099,261451772722216,213805270425691,138357882528571,7829018723478,123769313223888,256574166434526,222357892528142,253775466879785,185504751818991,11404558948013,231103469644779,198494978188280,277416028186517,208518770666789,18633754037697,169527504675722,129275970939916,259612483669739,76567085411446,177535875071778,195655503196783,256607586448423,242656413978963,80366710995311,34378543410608,75393387729296,143668583373306,88673208866205,266728494684292,45321311881437,251156387190330,169125892619260,217816552520478,129501641410695,98486652107104,29721347521341,148318634003953,50596347248098,229847179882603,149756868595053,126308200523072,229242264170685,174008255802942,197895691224637,164571679574369,85519213181026,180802688843189,217046523551343,277847827833362,71932362376466,132877263805545,183574353810661,71922121379215,6430443237493,203895087438196,87475251556444,63636953865870,270513481664601,2662789780889,238644539782037,12666637888681,73492690177093,138817417123185,176724079686998,239857571695347,148297255962670,101081960748305,251441762637480,127918327924965,166924438379339,69526350632741,195474804218322,210803490040521,57615669598154,264423474856448,128980303140938,265023544415402,76782250504072,80989954592058,260382679487189,128505687446771,27854811193246,22936687206777,57600981515292,166948736426089,127043197314550,255885703200581,120752086426790,213139388032896,100681490326478,240474088318075,129441493715084,175357326569561,271688940749484,220208069178266,143542318926584,174718094839426,782145188918,110905218402071,205753974687237,119981441455205,255878953897672,44063852371860,137763186236896,122919164004021,150809303994551,89172525455138,205771860163358,17966621071330,33939101775379,18218274528659,109957915010158,108058772010049,153028312564221,68153759141316,153786623774215,64177002441776,193104666704550,163410386840636,95853384463233,20934008366190,199655180997092,203498225227510,202539912667547,197028616320880,197625625830074,19272437234194,49118841235463,148443115258168,176483077070775,201974586379299,162528479447124,247544854477307,43518166162384,1678612044200,160155456386566,100317657111979,165889102103727,103255134520811,254685905958150,200987693542079,155274391898080,38102930217402,103435292191279,18800213447199,165186988823231,187198954174284,196372479738674,122512703803874,100965274060979,226348919124299,162362915247233,270968365026767,218508097631592,274718317436508,250017532248614,217859623387909,115606857617372,14834510784690,48593298228905,261515500199998,72034040060467,110317828942980,226755745190891,14614412110271,56016336503811,163236619380351,275799658968377,137283971737332,37707456059178,250022725291750,67960549236120,252492116955909,279582822094898,36618503925921,209112447882262,148043349058498,125835641996833,209376823739660,28272661995834,75511340539304,88953094700064,198133476808173,85347847596253,228586738773852,192675247969149,23826541799706,99033107756116,253191334327609,78513113437602,243545055088520,99214714718006,115365277509038,165542900991620,238355804929345,147890794226574,207001629189951,29951271664022,51772747508339,93270665014276,167503577044456,146437678516656,154934495808809,58732385643891,230018381511737,155098498651243,68133179585910,147902753711748,193462971206355,274865806424486,191395174786907,130852007586211,278244720469023,99011993878729,15715841723090,173968206964923,235688840184827,47849487438866,12210396066760,152694921664857,108209566913707,8945303919753,265606419997069,100558334004258,159734572472555,50200457225387,230040078141106,232479017124437,137844321977263,17929294954894,24325724859742,95529029908807,240758208296877,231013623617685,100260031726323,14736587197899,12599231325549,224922869706009,22803152890655,129779071052948,9312424289335,190248069198952,194342978411912,208475729485290,169894483436502,262155975721314,80463515399452,240507871997318,132424397713940,18258560459413,170198817169112,55641865061444,280621992887679,37165430477320,129547202078234,247242910157390,76965453367646,114398479426389,274550960162686,147811508088238,100492390073201,252621083879224,240644971551074,167738356002449,59299249103931,242735361260486,74925469883781,109593372694223,195301560810210,15624658374708,7146799828008,32864932555196,139739803075698,169429382436689,203670476325396,140378614853072,9210947882382,147871022626243,205776137154877,47745630806807,19381174552748,91102666558447,115720318614184,125312145784211,129711796280977,6442750484195,189193836897107,122959091553377,228495865539318,134871883254026,171650170278444,220343546808538,110704184110985,209493432917865,75308708679515,46112167555919,92918269555294,262804072689290,212288285982861,157202574740439,34521125570152,107955165697017,26631348579135,16583040271951,130349469956825,163419702086339,178364269936980,175681745111035,71027542379568,257409729440345,210319861579693,263490508556976,117398936213792,104528757775079,136353130363266,10082003884739,170107159459347,85220235686165,175877284048576,197462938332210,235371922130586,216559949149561,226529004597183,54652346897933,236259250836089,114967337438660,73832340961085,48421046807799,48010877982993,158105867392795,67552113811432,1929227640844,115386146034155,246786317742927,37508651374359,57086698241079,33823091090305,219699114570587,21616209161254,201348395988735,217860740756484,151845151161742,260515070768326,86524863992072,134673727655128,69296609347261,266810450183586,19314319644406,226091800579521,19334225403879,163701970205870,4898414914946,75822564228920,27337965404461,55484202362200,60649432927013,189214899166924,69325693774457,217555697226814,97627966739216,180621519847908,40705118949630,94851900007161,98758476433863,37707360268547,236685950204278,111388393976800,202116127926114,169396342865322,165115801626656,990400753600,108828875805439,231696798650145,116453313493720,22771920375532,176012289408311,235562730377813,61203203559971,156421612003797,86548353079199,209776975441776,127446492214224,204032894877702,69913016944792,155229825532010,40123129679395,238825588671291,275645711343975,246516587718837,4867993887630,99496337505134,86050561014902,21587943652932,44961019787625,212267343926966,180541963792799,74122504062465,75950210009241,196908664043408,183992056274724,51034238953734,25642102122225,59031359342972,140819131781400,132295481813333,136762080565837,213623349462592,39087956200624,18769928775614,114143053607559,123438336207209,276591061191642,194355698184990,125811237534029,50411160825682,163678939896843,16048774636088,266007281908188,125272560077591,503382722801,67101130459176,85557795561831,90826835557565,27594777516652,195395663361671,240713968639802,104652154771425,185464337877852,262415708752663,216331083497173,145004940128032,277376428833851,144993181451637,252803101763745,253625608527610,37303410692278,46461168126683,187415342743544,209783044027408,51808410145756,85309929812037,188995775459711,210244674642123,91680940785881,150547476506031,194604991334387,75436822813703,209083387829819,109494283422405,147634118170613,12175013750620,168542652227738,64898918388183,201552938545545,49199778837259,99234398894761,23836158335272,189510761769623,105413253186973,196811354031416,149592233600503,273930300771416,210406208704445,107230341936656,69127279869845,37608847599900,222529209183553,270612432229281,200311022717074,66599023841021,172981438748848,17065721816640,269499334776560,119042148979312,76469280792776,248949449814269,64937484340327,59057899800312,141278699854707,191878713311264,173596564183338,152305039793160,267361842918951,254430367918563,110503929702372,201752035421501,226850442540490,125836029719912,71271348645385,251987243800579,247457625102432,234529882274108,55655830920170,144624027149596,43041124859036,265876069757325,239038917471693,110931613391095,156817947487585,246731552515223,51956516448624,96638277410513,60936994766336,231374149609338,204414092773069,207623796151335,243518339106813,277179906600115,91391071125231,83059465701030,60761079503006,195705758093797,61877943431504,66878295588493,208600436864790,275606211876465,2335864147139,69167781290710,239098877561395,261928733392414,54598797060992,43008189864623,255967822972850,79416555276932,273032306725844,70616557705786,188121246862147,149368769207725,234909856730898,199417563789146,66197644985512,158923971824362,236449048257819,217766055323873,228648524591484,83310346378028,153152944708095,54538498825334,253936477598183,105516756722850,107643067641184,264020167193479,245879769589979,77745269965297,53304616095640,42957995324283,27732435478504,259880785064741,119074483586335,173731032446134,277559872149656,168390215103157,27244151802190,124064040625463,130878234592412,42640663606722,194891829150937,107774802070464,155335665273144,263763418076631,146922460509520,232429448767542,19747721436109,48470589226130,39851941155928,272263673212660,12974276486664,219465494930666,194884198314564,189191699451841,108267178656751,83267766448249,42262921027544,197458133425859,173016632168694,234032228666212,23868767111420,13542250269108,3753355511586,119665367462262,164013290000307,150645117232448,178662320790817,155480853134612,164824524036678,231622227912892,145375014590147,49146524607882,118859386694872,82076993464687,117021796384280,8993731390717,17390778534457,126550974618651,278842070839554,225273535099487,276317761147099,75714737517047,242990119106107,35313407703391,37119375360400,44362829811572,128083022099656,169917864068772,191745555997557,182443109242875,44504421062916,24137080564910,204038311364767,280687421199631,7937672945356,8765723734516,177451270928344,130043104934,176254033888832,150667311661008,161574871585426,30033300004633,87353682194492,250451665739869,11879007747889,203122211084059,18056854948563,235114152543578,104926478934243,181815095893739,98334222634444,83320156081850,74053767994665,30357888673807,82889525278810,36090201993454,119332501173786,272373960383198,5717885278716,78609358098894,245549932192517,79336461572455,135016501893817,275136775747495,280964529962204,168726624048309,172564528126095,186978246741382,235627721554391,279599817580525,182579554210954,185088688912132,233069626771159,145190159478286,203443549681757,103818406454032,77004624489876,54954136168762,6302281957099,89897491827891,23230891927479,165653585017012,93328583287919,252639191151031,52138380375021,249857374609561,191327764866783,120619973501554,222600050688975,85236049240636,147081198967083,84205067598457,27577980572540,21165136565144,101730855157328,138343694711980,213878848859873,140313341784992,241853800330182,6808296922057,191625060144461,65903889490060,264388313150116,35096275663470,33824987357806,71791649458484,255633784674634,76968149328535,272014837148113,59548482321539,135025318769774,2110239280824,129118133592722,25568946658544,84241171535311,138640207079240,36133012384113,231482526460406,254518737911136,165050479048522,28665731235298,256547147967320,34679089020412,204355537448899,127552868174889,8757665530515,167566531393340,210514862720444,269887922509728',
adIdFilter_include => NULL,
adGroupIdFilter_include => NULL
)
) AS x
v3_Products_ProductRecommendations
Products - Suggested target ASINs for your advertised product
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adAsins> (required): List of input ASINs
<locale> (optional): Theme names and descriptions will be provided in the language for your supported locale. Available options are en_US (U.S. English), en_GB (UK English), zh_CN (Chinese), es_ES (Spanish), jp_JP (Japanese), de_DE (German), fr_FR (French), it_IT(Italian). If locale is not provided or unsupported, the theme names and descriptions will be returned in U.S. English (en_US)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
description | string | A theme name representing the context around the recommended list of ASINs |
recommendedAsins | string | List of recommended ASINs under current theme |
theme | string | A theme name representing the context around the recommended list of ASINs |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_ProductRecommendations AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_ProductRecommendations (
locale => 'en_US',
adAsins => 'B00L5JL1QM,B00IX6915S,B00IX6914Y,B00IX69162,B00IX6919Y,B00LW7O7KE,B004QC8BM2,B00YUBUAMS,B00YUBUAZ0,B00YUBUAMS,B00YUBUAZ0,B00YUBUAMS,B00YUBUAZ0,B013QSK2J6,B013QSK1YM,B013QSK2J6,B013QSK1YM,B01AC8XS8A,B01AIATT8U,B01DNYHTLM,B01DMCV7AY,B01DMCV7RW,B01DMCV7EU,B01DW9OF5Q,B01DMEADXO,B01DWA6Z94,B01DO14KNE,B01DNZMDAI,B07B69KX8C,B01ELZDNAS,B01EN5QHNQ,B01EN4XK7S,B07G2PVFXH,B01ENA14IY,B01ENG0WTA,B01ENH49DY,B01ENGPL1E,B01ENGIKXU,B01ENGW8GU,B01DNUKYXG,B01DWAL4JA,B01LBC32UK,B01LBCLNJM,B01LBDBKVM,B01LBDSRGI,B01LBFKGBA,B01LBII24K,B07PFL65Y2,B01LCZY0WU,B01LEUUKUO,B01LEV9I8I,B07C5QLXG8,B08SPZZKP8,B08SPZZKP8,B08SMS3W4Z,B08SMS3W4Z,B013QSK2J6,B013QSK1YM,B07C5QLXG8,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07TR4MH9W,B07TKWYVFZ,B079ZZ83VT,B07B12866X,B07YNWHX4L,B079ZW66WF,B07B12866X,B07B12866X,B079ZZ83VT,B07TKWYVFZ,B079ZW66WF,B07YNWHX4L,B07TR4MH9W,B07B12866X,B07TKWYVFZ,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07YNWHX4L,B079ZZ83VT,B07TR4MH9W,B079ZW66WF,B07TR4MH9W,B07B12866X,B07YNWHX4L,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B013QSK2J6,B01ENGPL1E,B07TKWYVFZ,B07TR4MH9W,B07B12866X,B079ZW66WF,B079ZZ83VT,B07YNWHX4L,B01DNUKYXG,B084WQSST5,B084WG1147,B084WJWFGP,B084WM9MN9,B084WYHZ3R,B084VW9HY5,B08GM5B2XK,B08GGB6W92,B08GKZDWTV,B07F8BQDDV,B013QSK2J6,B07F8BQDDV,B08GM5B2XK,B08GGB6W92,B08GKZDWTV,B01DMCV7AY,B01DMEAEEM,B01EN5QHT0,B01DW9OF4W,B07HH71RP7,B07HH8NLWR,B01DNYHR96,B01ENG0WRW,B01ENH498Y,B01LCZXZWQ,B06XJ9FGP8,B01DWAL5KS,B08HVW1L1X,B01DMEAEEM,B01DW9OF4W,B01EN5QHT0,B01DMCV7AY,B01DNYHR96,B07HH71RP7,B01ENH498Y,B01LCZXZWQ,B01DWAL5KS,B06XJ9FGP8,B01ENG0WRW,B09W38ZPQ3,B09W388M6P,B09W39Q7HV,B07YZRS96S,B09W37CSDJ,B09W37RNCX,B08NP7F4BN,B07YZMTBFS,B09W3W547Z,B09W3N1T1H,B096MCPPZV,B09FB4Y1ND,B09FB3XMWW,B09DTG1HVZ,B09F6H2L2L,B0933BQ2H8,B09DTFNB4L,B096XNM3HF,B09DTDL2L4,B09DTF7XZ7,B099SH4HPN,B013QSK1YM,B013QSK2J6,B092VXXD13,B07NXVKXRG,B07NX164SB,B07NWYQ4VV,B084WY1QNP,B07WWW6NMS,B08G563FY1,B07NWYK5K1,B09VXYLTF7,B07NZVJXYW,B07M5M3R5K,B07NWNWTR4,B07YF1D5S3,B07LGCR34Q,B09WB25K4T,B07TKWYVFZ,B07NYS5GRB,B091HHGXYH,B07NX12R6Z,B08WWY2QBD,B07KT93VS1,B07KMCR5Y7,B08P4T7T65,B09WB2GFV1,B09WN3VYTL,B07NX42CY9,B07RMJFRW6,B09WB26SLM,B07VPQLHKF,B084XXJJBZ,B09VXXBC7M,B07NX1BWJG,B08NPHJVM6,B09WB1XNNJ,B099SHVPBM,B08NPP6C55,B083F4GW6K,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8,B07HRZWT8V,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8,B07HRZWT8V,B08HVW1L1X,B081K45S5L,B081K3VLYY,B081K3SX8S,B07C5QLXG8,B07F7G3HS4,B07VLHHXW6,B07KT93CVC,B07NYRBGLH,B07KT9CTVY,B07V6ZMSVP,B07NXTZ769,B08NPNCYZR,B08GKYH3KD,B07KGGL13S,B07NWY6VBQ,B07LGF7Y6L,B07YF1J4JX,B07KJBPJ86,B091HG5KD3,B07RMJNJHX,B07YNWHX4L,B07NZWGJDL,B08WX9CK4G,B07MGJZVG7,B07NYS144R,B083F4YX54,B096KNG5J5,B099FJBVV2,B07NWZ457H,B07Z55VPV7,B09FB4ZBX7,B096KMSL3M,B09BRCW9TX,B07MGK25Y2,B07MMZGM9T,B07PJL9GB4,B07WTWYB3W,B08P4TP13T,B09D1C9C98,B07NWYKN11,B08WR78CM4,B096KLQ1K5,B098PGMPCG,B07KMC17XM,B08T233MHN,B08T7WNWBP,B096MD6LG4,B099FGX4WN,B099SFJVQ8,B07LCRPXN5,B08G56ZHY9,B08NPD387C,B08T1K42PV,B099FJJPR2,B09FB63TR4,B07NWYYGQ1,B07NXTV6SJ,B07NZWY3QQ,B07TXWLK9L,B07VWBM75B,B084Z5ZM66,B08NCQCLNB,B08ND5SNZL,B0933BLQX3,B095KFSYHM,B096KLBPCW,B09793P7ZQ,B099FJZQKD,B09DTC43Q5,B09FB3KXMF,B07LCSB9KX,B07NYSZW2S,B07Z567ZF3,B07Z5796L8,B084Z7K7XF,B08KHCTZLV,B08SXTD8V1,B08T1F5KK3,B08T1YKFYX,B08T5XQNG9,B08T9YSWNF,B08V2ZF3C7,B091HWMQDK,B0933CGFNW,B0933CT15Z,B094RFBH6J,B094RGYML2,B096KLYPPY,B096XN3DHG,B0977GVPF9,B099KNYGTC,B099KRQ8C1,B099L2H4QY,B099SFGPYZ,B09BZMFVPF,B09D1BMB1P,B09DTDPJT3,B09DTFFHCY,B09GKTY5DC,B09VXZB38F,B07MMW29RN,B07NWYKP6Q,B07NWYPKV8,B07NX1CWJ2,B07NZV1RB7,B07G2P31WR,B01LCZXZ58,B01DNYHRM8,B079ZW66WF,B01DNUKYCC,B01DWAL5D0,B07YZRS96S,B01ENG0WTU,B07HH7PL16,B06XJ6M9CD,B01LBDBKZ8,B083QM8YT9,B01DMCV7EU,B01LEV9III,B07Z57TCCQ,B01DO14KEI,B06XJ6791D,B01LBFKGB0,B07LGCD48Y,B01EN5QHQI,B07MMWVG3X,B091HDWFPK,B07LCSBNNR,B01DW9OF4M,B01ENA14FW,B01LBDSRIG,B01N0FAUD3,B01EN4XKH8,B01ENGIKRG,B077YKTFPX,B096KMKFSL,B01DW9YGBE,B01MXT2FVC,B07G4GMK5R,B08WXBPVFP,B01ENGW8HY,B07DPQK8RJ,B01MTNXU97,B091HXYV9Q,B01ENH49AC,B08P2784S4,B096KPLZFQ,B09BRG7LHY,B07G4FJYZJ,B096KKKV97,B096KLVZ9G,B07G3C8N74,B084WY6LK6,B08WRMJQ8R,B093399K4X,B0977GMS9P,B01ELZDN8A,B06XJ8J8XT,B07B51WJBS,B01LBII26I,B07G3DF4YT,B099KRGC64,B09FB4KCXD,B08KWK1R31,B09Q6825DW,B09RTK7821,B07B553PPQ,B07G4C17JT,B07HHCGZZM,B07MMYQQD2,B01LBCLN7O,B01MTOZ16V,B077THKVXL,B09338M3XH,B096MBQ752,B096XL5C4M,B07MGK2BL2,B07Z56Q56P,B084WG3575,B08V5J5SBH,B08WRSXTGM,B0933B2NWJ,B09793MSGF,B098PHCKNH,B099FH9S28,B099FHR6XN,B099SGRD5T,B09DTH5X4D,B09RTHZRS1,B01DWA6Z7G,B01MQKHVOA,B06XHRFHB8,B06XJ9P7PG,B07G4FCXNC,B084WGT21G,B08T7TKK51,B09338J2M2,B0933BQDYB,B09472KW81,B094RK9CY4,B0971FGNGY,B099KRM81J,B09BRCL6RW,B09BRHG2PL,B09BZMKJ8B,B09FB3QHW6,B07TSKTZGJ,B08T1XPSPR,B0933BK3QW,B094RHHFL6,B096KMTGMJ,B096ZYQKPJ,B0971FPDM9,B097HGQCQ3,B09B4C6NGM,B09BRGDSJ7,B09BRW5Y7R,B09DTH97GL,B07LCQBGPR,B07NWXL93C,B08NCQ9RCM,B08T1NLH2M,B08TB18DHK,B08V2ZFTMN,B08WS23KX7,B09339RGMG,B09339S6QW,B094RHDP63,B094RHH3FD,B094RKLTSY,B095KKX7ZS,B098PJC15W,B099FG3HKB,B099FHHJ6R,B099KQ12CP,B099KST9NB,B09BRHFT5Q,B09BRTRRGD,B09DTFXFLM,B09DTGW6Q5,B09DTGXRX3,B09DTH6W6X,B09DTJ3J9Y,B09F6H1G44,B09GH3BWK7,B09GKT849K,B07LGDCXHW,B07NBGK5RN,B084YPJ5PK,B084Z3L9Z7,B08LLFJ6S3,B08NFG9M25,B08T12MPRZ,B08T695MV4,B08WRTWDZD,B08YKHV15G,B092W7HLK9,B0933833QX,B0933B1GF8,B09471X75Z,B094JDGXHS,B095CKTHSV,B098PGFVJ3,B099KLXHT5,B099NGSYWW,B09BRBWN95,B09D15RPZV,B09DTBPWDB,B09DTFK1XH,B09DTHWVTL,B09DTJJ1JX,B09FBTNPS5,B09GGD8ZJM,B09J1H9RJN,B08LLDSBH8,B08NCBMWK8,B08T9Y9D5T,B08T9ZL8SG,B08V5LDP28,B08YK7HCT3,B08Z8KHRYJ,B0915XG8BL,B092VXXD13,B09316Z7YL,B0933BLKBP,B094RJCTW4,B096KN12QY,B096KYSK8V,B096VP8FJH,B097774R43,B099FHPYNX,B099KNSX6H,B099KP3P24,B09B4CKXWL,B09CZFTHTB,B09D14HLDH,B09DTFLB38,B09DTFXZHM,B09DTGMZ1S,B09GGDP7L8,B09GGGBH43,B09GGTSKTW,B09HR37J7K,B09HR3LB4N,B09HR5LQM8,B07B4ZVQFG,B07G4F8YDK,B07GH4Y85K,B084WXMNW5,B08T6MXPDF,B08WR733F5,B092VXPCMM,B0933848FQ,B094JCPBZF,B096KM9Q28,B096KNG1L6,B096L1BX45,B096VQQCNS,B099SG3QMY,B099SHNK1M,B09BRFCJV1,B09D1LQ8M1,B09DTFYMP6,B09DTGG6W8,B09DTHZLBJ,B09FBGP5W2,B09GKTFTP7,B09HR5VFZQ,B09Q3NGZZ9,B09R52ZXRC,B09RTJD375,B06XHTZD8V,B07HHDSW8R,B07YLTGYGW,B083QN46QR,B084VW4STH,B084WP3FZB,B08T7V89DZ,B09167N7D6,B093395XQH,B0933BQTPJ,B0933D1KWT,B094RGBPHF,B094RGGTBJ,B095CL7FXX,B095KKCHRN,B095WVF3PR,B095WVK4J5,B095WVLCVG,B095WVRJFF,B095WW4G5R,B095WWMG6K,B096KLVSQX,B098PHXNY5,B099KNW6B2,B099KPBF2T,B099KRC117,B099KRM2XL,B099KW3VKH,B099KZHBC7,B09B47V8FF,B09B4BFYYX,B09BRBHJC1,B09BRDC4XL,B09BRGP87L,B09BRGZQQT,B09BRHX32J,B09BZL7SGM,B09CZL9PHG,B09D1H4366,B09DTFBTY2,B09DTGPWRG,B09FBRX8MT,B09FBTNPS7,B09GGDNKKC,B09GGFHVJW,B09GGFR5BZ,B09PRM742Y,B09Q3QGF6R,B09RTHY4L6,B09RTJ7FRS,B09RTJ7HQ5,B09SGHKDFB,B01LBII22W,B01MYUIZZU,B01N2I9EPS,B06XJ9CKYK,B07B539TGH,B07G4FD48R,B07HHC5Q34,B07LG57XZN,B07NBV1BVZ,B083QLHYGN,B084WKYT1S,B08THQV2BJ,B08YK9S3JV,B08YKCZSQ5,B08Z8KG8C1,B092W5VZTL,B093152PGV,B094714KW1,B094RG724G,B094RJ422R,B094RJQLM2,B096KMCS84,B09D15GRWB,B09Q3PLD7F,B09RTJ4RQM,B07B53HYN8,B083QN6SGX,B084VW1TRB,B08V5NK3HQ,B095WSF7KD,B09GGDQTJX,B09R53FP21,B083QMH6XQ,B09165J7SK,B095WTNF6Z,B095WTWDBN,B095WW8VMW,B09HR3L5BB,B09PVNLYLK,B09RTJG6MW,B09HR5G7BC,B09R7WN1XW,B09SGJDJ4F,B06XJ9DPL3,B08YKLS37G,B099FJG3YN,B09J1DXW7J,B09RTJ9WMN,B08Z8KVPGV,B095WVSN72,B09B4BQL1D,B09DTDRK61,B09GGBRQTC,B09R4S3421,B09R83FT4Y,B09RTK9TDF,B09RTKJ1HB,B09SJ1S95Y,B08THPTQD5,B095WTS8JT,B099KRQRSJ,B09HR2SYN9,B09HR555PR,B09R7V9W26,B09VCHSQ5D,B09R4JGD98,B09RBBVQ28,B09SGMRGBM,B09RBC3TF5,B09RTKNFXY,B09DTGFJCT,B09DTGH97G,B09DTGND3H,B09DTGNL4Y,B09DTH1BQQ,B09DTHD16B,B09DTHKVXF,B09DTHT9NT,B09F9ZK2YN,B09FB1QD1C,B09FB4D683,B09FB4RXHF,B09GGCK5HZ,B09GGDK5CQ,B09GGFMDNK,B09GGFQS7T,B09GGFTKJ2,B09HR45C32,B09HR5C8Z5,B09HR5JKXN,B09HR66P3F,B09J1FRFFG,B09PRMGF8M,B09PVNVW3N,B09PVPZRP8,B09Q3P7CTT,B09Q3QH23Z,B09Q685MMZ,B09R51VR66,B09R7XM1WP,B09R84PLX7,B09RTHFST5,B09RTJ59GY,B09RTKH17J,B09RTKXRJW,B09D1K25GX,B09DTGKMT5,B09DTH5J9C,B09F6GKFW8,B09GKS79RM,B09R7V2K4D,B09VCHMX3X,B01LBC33RW,B01N9CEPFL,B06XJBBBRJ,B07G4D8DY9,B07G4FPZW9,B07HH71VB9,B07LGDN557,B07M5M1RX5,B07NBG8G2M,B07PDN989V,B07ZTKQM5C,B083QLT352,B083QM1YX6,B08T5M7VWF,B08YK8TQZF,B09315BVK6,B09339SPMT,B0933B77MK,B0933C8VH1,B094RJM49N,B095KJDYF7,B095WWLPK9,B096KKT96J,B096L1MM92,B097HHW837,B099KSPNYN,B099KW2SCK,B099SH5PD4,B09B496K16,B09B4CM3YG,B09BRGHBRN,B09BRGW8SR,B09D1H9LTC,B09DTFNHXB,B09DTGG7L8,B09DTGGBTY,B09FBQBHTH,B09FBRX3Q9,B09GKVJJWW,B09PRNH5KZ,B09R4LP593,B09RTHT8D9,B09RTJ14FH,B09RTJ2P8D,B09RTKNCZQ,B09SGHDXFK,B09SGJY7QK,B01MRS9ODR,B01N658UVB,B06XJ6M7YR,B07B51FJXQ,B07G4FN2W5,B07HHBJ6KW,B07LCQMTBT,B083QM8KFG,B084WL8J41,B084X6SRVT,B08WRDNH8F,B08YKJD97G,B08Z8K9HPK,B09167ZD3R,B092VZ6P6R,B092W84R6Q,B09338SZKG,B094JDFNH9,B094RFBH6L,B094RGY8H7,B094RJWN53,B095CMTBWC,B095WT846Y,B095WTW19R,B095WW1XJ1,B095WW4Y1V,B095WX79DT,B096KM91KB,B096KPWK9P,B096KQ631R,B096VT9FSF,B0971F3H69,B0977612HZ,B099FDWRT5,B099FGXX5G,B099FJ8VNL,B099KR2ZVD,B099KSZJ83,B099L2JJYY,B099NFS2V8,B099SGT985,B09BRD9JKY,B09BRGZF4J,B09D14GXVS,B09DTF774V,B09DTFGKSK,B099KPMN5S,B09BRHM9JC,B09471CW9Y,B01N64YHYO,B06XJ29D92,B0971F6SLY,B09DTH56SY,B094RGFWPX,B09FB4KTH8,B07G4BW855,B08KWK4N4S,B09792MPKT,B06XJ8RZNS,B07PFL65Y2,B093391MQC,B093392TBN,B09BRFZ85F,B09GKTN3TH,B09Q67QH9H,B09DTG9X4B,B09FB6HTWB,B01MQQVSGD,B099KT6S9B,B09B4BCWD5,B09BRDQFTV,B0933B9379,B09DTDBTGV,B07ZTKYPFR,B092W6BN8L,B09316ZH2S,B07Z56SCCF,B08WRQLM3P,B094JBY29B,B099KSYTK3,B09BRCSRFS,B09DTH729B,B07LCQ6BJ9,B094RHDFF2,B09RTJCVCW,B07LCRMFLF,B09CZWC7X9,B01LBC32UK,B09F6H2L2L,B07HH8QLLN,B09DTGXNZX,B08WRL5GGX,B092VYJ4PH,B09DTG1HVZ,B09Q3NK2FR,B01N2OPIV8,B06XHR7CD2,B08T5PF1CR,B096VPDC8X,B09DTHLJ4X,B09DTJTT4P,B099KPRYR8,B09DTDL2L4,B01DWA6Z94,B07HHBMC8L,B096L26P85,B09GGFC77S,B09PRLPHYQ,B09PVMPTBZ,B07G3F77PR,B09DTF7XZ7,B07Z43C4M1,B084VW8587,B094RK6NCC,B09RTHSWQ6,B099KP6DMM,B09Q68DY8Y,B083F3NQNJ,B08YKC46W2,B09339WVMK,B096KMJR8G,B09DTFYJQZ,B07LGDR6X3,B09BRFX5W7,B084X1BF37,B096ZXP6LQ,B09775JZLF,B09CZHX1F1,B09DTHG57J,B09DTHP2JP,B09GGCGFHY,B09PNX7SK9,B01MTOYCWV,B07HH7NFKS,B094RGD9ZF,B09DTGVN8C,B07B4ZPFTN,B09GGV8DWW,B09PRN3DTZ,B07YLTGJ93,B094RK4399,B09Q3N9W6L,B09RTJCXH2,B09SGJF88Q,B084WLXZHT,B098PGR818,B09HR6RT7V,B07G2PVFXH,B01DNUKYXG,B01ENGPL1E,B01LEV9I8I,B01LCZY0WU,B07LGD48WL,B01DMCV7RW,B01DW9OF5Q,B01DWAL4JA,B01LBDBKVM,B01ENG0WTA,B07B12866X,B07HH8B1DZ,B07G3B834X,B07DPPG9FZ,B01DNYHTLM,B08WWYFN7Z,B083QM754H,B07MMWQHLY,B01DMEADXO,B096KLW6C9,B09BRC9GQH,B01ENH49DY,B096KLSSCH,B07GH4J9VP,B07G3FB3YJ,B01ENA14IY,B099FH3X9R,B08P4TDCPS,B01DO14KNE,B01LBDSRGI,B07M5M3Y29,B07G4FHL4B,B096XNM3HF,B01N648QMG,B01ELZDNAS,B06XJ68N37,B091HX8TSM,B099FF91GL,B07Z43TW87,B07HH66Y84,B01EN4XK7S,B096KMY9KF,B07Z57ZYZW,B09FB3XMWW,B08124F7HC,B01DW9YG5A,B091HGYJTC,B096MCPPZV,B08WS39V2J,B098PGPZG7,B09D1FHXRJ,B084WZM869,B01EN5QHNQ,B09FB4Y1ND,B01MXT2BW0,B09FB3ZGP7,B07MCYC4LK,B083QM2RJV,B099KTD8Q5,B01LBFKGBA,B095KJND4T,B0977GC2KQ,B07YZRKYDJ,B096KLSCKP,B099FG7FYV,B096KP2WRC,B09FB4XWMD,B01LBII24K,B081HBBJ1W,B099FG883T,B0933BXSGB,B01N42CU8D,B09DTDNK7C,B09BZN198H,B09RTHSQ68,B09339KR1K,B01ENGIKXU,B099SHF8GZ,B084WPH23J,B096KNYJMY,B099SGH19Y,B099SH4HPN,B09GKRSDTM,B07B51ZVCK,B0933CDTR4'
)
) AS x
v3_Products_RankedKeywordRecommendation
Products - Keyword recommendations
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignId> (required): The identifier of the campaign
<adGroupId> (required): The identifier of the ad group
<bidsEnabled> (optional): Set this parameter to false if you do not want to retrieve bid suggestions for your keyword targets. Defaults to true
<locale> (optional): Translations are for readability and do not affect the targeting of ads. Supported marketplace to locale mappings can be found at the <a href=''https://advertising.amazon.com/API/docs/en-us/localization/#/Keyword%20Localization ''>POST /keywords/localize</a> endpoint. Note: Translations will be null if locale is unsupported (ar_EG, de_DE, en_AE, en_AU, en_CA, en_GB, en_IN, en_SA, en_SG, en_US, es_ES, es_MX, fr_FR, it_IT, ja_JP, nl_NL, pl_PL, pt_BR, sv_SE, tr_TR, zh_CN)
<marketplaceId> (optional): The advertiser''s Marketplace ID associated with the advertiser.
account.
<targets_bid> (optional): The bid value for the keyword. The default value will be the suggested bid
<targets_keyword> (optional): The keyword value
<targets_matchType> (optional): Keyword match type. The default value will be BROAD (BROAD, EXACT, PHRASE)
<targets_userSelectedKeyword> (optional): Flag that tells if keyword was selected by the user or was recommended by KRS
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
bidInfo_bid | bigdecimal | The bid value for the keyword. The default value will be the suggested bid |
bidInfo_matchType | string | Keyword match type. The default value will be BROAD (BROAD, EXACT, PHRASE) |
bidInfo_rank | bigdecimal | The keyword target rank |
bidInfo_suggestedBid_rangeEnd | bigdecimal | The bid range end |
bidInfo_suggestedBid_rangeStart | bigdecimal | The bid range start |
bidInfo_suggestedBid_suggested | bigdecimal | The suggested bid |
bidInfo_theme | string | The theme of the bid recommendation. The default theme is CONVERSION_OPPORTUNITIES |
keyword | string | The keyword value |
recId | string | The recommended keyword target id |
searchTermImpressionRank | bigdecimal | The account-level ad-attributed impression rank for the search-term/keyword. Provides [1:N] place the advertiser ranks among all advertisers for the keyword by ad impressions in a marketplace in the last 30 days. It tells an advertiser how many advertisers had higher share of ad impressions. This information is only available for keywords the advertiser targeted with ad impressions |
searchTermImpressionShare | bigdecimal | The account-level ad-attributed impression share for the search-term/keyword. Provides percentage share of all ad impressions the advertiser has for the keyword in the last 30 days. This metric helps advertisers identify potential opportunities based on their share on relevant keywords. This information is only available for keywords the advertiser targeted with ad impressions |
translation | string | The translation of keyword if a locale is passed in |
userSelectedKeyword | boolean | Flag that tells if keyword was selected by the user or was recommended by KRS |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_RankedKeywordRecommendation AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_RankedKeywordRecommendation (
targets_matchType => NULL,
targets_keyword => NULL,
targets_bid => NULL,
locale => 'en_US',
campaignId => 81002320838825,
bidsEnabled => NULL,
adGroupId => 0,
targets_userSelectedKeyword => NULL,
marketplaceId => NULL
)
) AS x
v3_Products_RankedKeywordRecommendation_byAsins
Products - Keyword recommendations by Asins
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<asins> (required): An array list of Asins
<biddingStrategy> (optional): The bid recommendations returned will depend on the bidding strategy. <br> LEGACY_FOR_SALES - Dynamic Bids (Down only) <br> AUTO_FOR_SALES - Dynamic Bids (Up or down) <br> MANUAL - Fixed Bids
<bidsEnabled> (optional): Set this parameter to false if you do not want to retrieve bid suggestions for your keyword targets. Defaults to true
<locale> (optional): Translations are for readability and do not affect the targeting of ads. Supported marketplace to locale mappings can be found at the <a href=''https://advertising.amazon.com/API/docs/en-us/localization/#/Keyword%20Localization''>POST /keywords/localize</a> endpoint. Note: Translations will be null if locale is unsupported (ar_EG, de_DE, en_AE, en_AU, en_CA, en_GB, en_IN, en_SA, en_SG, en_US, es_ES, es_MX, fr_FR, it_IT, ja_JP, nl_NL, pl_PL, pt_BR, sv_SE, tr_TR, zh_CN)
<marketplaceId> (optional): The advertiser''s Marketplace ID associated with the advertiser.
account.
<targets_bid> (optional): The bid value for the keyword. The default value will be the suggested bid
<targets_keyword> (optional): The keyword value
<targets_matchType> (optional): Keyword match type. The default value will be BROAD (BROAD, EXACT, PHRASE)
<targets_userSelectedKeyword> (optional): Flag that tells if keyword was selected by the user or was recommended by KRS
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
bidInfo_bid | bigdecimal | The bid value for the keyword. The default value will be the suggested bid |
bidInfo_matchType | string | Keyword match type. The default value will be BROAD (BROAD, EXACT, PHRASE) |
bidInfo_rank | bigdecimal | The keyword target rank |
bidInfo_suggestedBid_rangeEnd | bigdecimal | The bid range end |
bidInfo_suggestedBid_rangeMedian | string | |
bidInfo_suggestedBid_rangeStart | bigdecimal | The bid range start |
bidInfo_theme | string | The theme of the bid recommendation. The default theme is CONVERSION_OPPORTUNITIES |
keyword | string | The keyword value |
recId | string | The recommended keyword target id |
searchTermImpressionRank | bigdecimal | The account-level ad-attributed impression rank for the search-term/keyword. Provides [1:N] place the advertiser ranks among all advertisers for the keyword by ad impressions in a marketplace in the last 30 days. It tells an advertiser how many advertisers had higher share of ad impressions. This information is only available for keywords the advertiser targeted with ad impressions |
searchTermImpressionShare | bigdecimal | The account-level ad-attributed impression share for the search-term/keyword. Provides percentage share of all ad impressions the advertiser has for the keyword in the last 30 days. This metric helps advertisers identify potential opportunities based on their share on relevant keywords. This information is only available for keywords the advertiser targeted with ad impressions |
translation | string | The translation of keyword if a locale is passed in |
userSelectedKeyword | boolean | Flag that tells if keyword was selected by the user or was recommended by KRS |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_RankedKeywordRecommendation_byAsins AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_RankedKeywordRecommendation_byAsins (
targets_matchType => NULL,
targets_keyword => NULL,
targets_bid => NULL,
locale => 'en_US',
bidsEnabled => NULL,
biddingStrategy => NULL,
asins => 'B00L5JL1QM,B00IX6915S,B00IX6914Y,B00IX69162,B00IX6919Y,B00LW7O7KE,B004QC8BM2,B00YUBUAMS,B00YUBUAZ0,B00YUBUAMS,B00YUBUAZ0,B00YUBUAMS,B00YUBUAZ0,B013QSK2J6,B013QSK1YM,B013QSK2J6,B013QSK1YM,B01AC8XS8A,B01AIATT8U,B01DNYHTLM,B01DMCV7AY,B01DMCV7RW,B01DMCV7EU,B01DW9OF5Q,B01DMEADXO,B01DWA6Z94,B01DO14KNE,B01DNZMDAI,B07B69KX8C,B01ELZDNAS,B01EN5QHNQ,B01EN4XK7S,B07G2PVFXH,B01ENA14IY,B01ENG0WTA,B01ENH49DY,B01ENGPL1E,B01ENGIKXU,B01ENGW8GU,B01DNUKYXG,B01DWAL4JA,B01LBC32UK,B01LBCLNJM,B01LBDBKVM,B01LBDSRGI,B01LBFKGBA,B01LBII24K,B07PFL65Y2,B01LCZY0WU,B01LEUUKUO,B01LEV9I8I,B07C5QLXG8,B08SPZZKP8,B08SPZZKP8,B08SMS3W4Z,B08SMS3W4Z,B013QSK2J6,B013QSK1YM,B07C5QLXG8,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07TR4MH9W,B07TKWYVFZ,B079ZZ83VT,B07B12866X,B07YNWHX4L,B079ZW66WF,B07B12866X,B07B12866X,B079ZZ83VT,B07TKWYVFZ,B079ZW66WF,B07YNWHX4L,B07TR4MH9W,B07B12866X,B07TKWYVFZ,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07YNWHX4L,B079ZZ83VT,B07TR4MH9W,B079ZW66WF,B07TR4MH9W,B07B12866X,B07YNWHX4L,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B013QSK2J6,B01ENGPL1E,B07TKWYVFZ,B07TR4MH9W,B07B12866X,B079ZW66WF,B079ZZ83VT,B07YNWHX4L,B01DNUKYXG,B084WQSST5,B084WG1147,B084WJWFGP,B084WM9MN9,B084WYHZ3R,B084VW9HY5,B08GM5B2XK,B08GGB6W92,B08GKZDWTV,B07F8BQDDV,B013QSK2J6,B07F8BQDDV,B08GM5B2XK,B08GGB6W92,B08GKZDWTV,B01DMCV7AY,B01DMEAEEM,B01EN5QHT0,B01DW9OF4W,B07HH71RP7,B07HH8NLWR,B01DNYHR96,B01ENG0WRW,B01ENH498Y,B01LCZXZWQ,B06XJ9FGP8,B01DWAL5KS,B08HVW1L1X,B01DMEAEEM,B01DW9OF4W,B01EN5QHT0,B01DMCV7AY,B01DNYHR96,B07HH71RP7,B01ENH498Y,B01LCZXZWQ,B01DWAL5KS,B06XJ9FGP8,B01ENG0WRW,B09W38ZPQ3,B09W388M6P,B09W39Q7HV,B07YZRS96S,B09W37CSDJ,B09W37RNCX,B08NP7F4BN,B07YZMTBFS,B09W3W547Z,B09W3N1T1H,B096MCPPZV,B09FB4Y1ND,B09FB3XMWW,B09DTG1HVZ,B09F6H2L2L,B0933BQ2H8,B09DTFNB4L,B096XNM3HF,B09DTDL2L4,B09DTF7XZ7,B099SH4HPN,B013QSK1YM,B013QSK2J6,B092VXXD13,B07NXVKXRG,B07NX164SB,B07NWYQ4VV,B084WY1QNP,B07WWW6NMS,B08G563FY1,B07NWYK5K1,B09VXYLTF7,B07NZVJXYW,B07M5M3R5K,B07NWNWTR4,B07YF1D5S3,B07LGCR34Q,B09WB25K4T,B07TKWYVFZ,B07NYS5GRB,B091HHGXYH,B07NX12R6Z,B08WWY2QBD,B07KT93VS1,B07KMCR5Y7,B08P4T7T65,B09WB2GFV1,B09WN3VYTL,B07NX42CY9,B07RMJFRW6,B09WB26SLM,B07VPQLHKF,B084XXJJBZ,B09VXXBC7M,B07NX1BWJG,B08NPHJVM6,B09WB1XNNJ,B099SHVPBM,B08NPP6C55,B083F4GW6K,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8,B07HRZWT8V,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8,B07HRZWT8V,B08HVW1L1X,B081K45S5L,B081K3VLYY,B081K3SX8S,B07C5QLXG8,B07F7G3HS4,B07VLHHXW6,B07KT93CVC,B07NYRBGLH,B07KT9CTVY,B07V6ZMSVP,B07NXTZ769,B08NPNCYZR,B08GKYH3KD,B07KGGL13S,B07NWY6VBQ,B07LGF7Y6L,B07YF1J4JX,B07KJBPJ86,B091HG5KD3,B07RMJNJHX,B07YNWHX4L,B07NZWGJDL,B08WX9CK4G,B07MGJZVG7,B07NYS144R,B083F4YX54,B096KNG5J5,B099FJBVV2,B07NWZ457H,B07Z55VPV7,B09FB4ZBX7,B096KMSL3M,B09BRCW9TX,B07MGK25Y2,B07MMZGM9T,B07PJL9GB4,B07WTWYB3W,B08P4TP13T,B09D1C9C98,B07NWYKN11,B08WR78CM4,B096KLQ1K5,B098PGMPCG,B07KMC17XM,B08T233MHN,B08T7WNWBP,B096MD6LG4,B099FGX4WN,B099SFJVQ8,B07LCRPXN5,B08G56ZHY9,B08NPD387C,B08T1K42PV,B099FJJPR2,B09FB63TR4,B07NWYYGQ1,B07NXTV6SJ,B07NZWY3QQ,B07TXWLK9L,B07VWBM75B,B084Z5ZM66,B08NCQCLNB,B08ND5SNZL,B0933BLQX3,B095KFSYHM,B096KLBPCW,B09793P7ZQ,B099FJZQKD,B09DTC43Q5,B09FB3KXMF,B07LCSB9KX,B07NYSZW2S,B07Z567ZF3,B07Z5796L8,B084Z7K7XF,B08KHCTZLV,B08SXTD8V1,B08T1F5KK3,B08T1YKFYX,B08T5XQNG9,B08T9YSWNF,B08V2ZF3C7,B091HWMQDK,B0933CGFNW,B0933CT15Z,B094RFBH6J,B094RGYML2,B096KLYPPY,B096XN3DHG,B0977GVPF9,B099KNYGTC,B099KRQ8C1,B099L2H4QY,B099SFGPYZ,B09BZMFVPF,B09D1BMB1P,B09DTDPJT3,B09DTFFHCY,B09GKTY5DC,B09VXZB38F,B07MMW29RN,B07NWYKP6Q,B07NWYPKV8,B07NX1CWJ2,B07NZV1RB7,B07G2P31WR,B01LCZXZ58,B01DNYHRM8,B079ZW66WF,B01DNUKYCC,B01DWAL5D0,B07YZRS96S,B01ENG0WTU,B07HH7PL16,B06XJ6M9CD,B01LBDBKZ8,B083QM8YT9,B01DMCV7EU,B01LEV9III,B07Z57TCCQ,B01DO14KEI,B06XJ6791D,B01LBFKGB0,B07LGCD48Y,B01EN5QHQI,B07MMWVG3X,B091HDWFPK,B07LCSBNNR,B01DW9OF4M,B01ENA14FW,B01LBDSRIG,B01N0FAUD3,B01EN4XKH8,B01ENGIKRG,B077YKTFPX,B096KMKFSL,B01DW9YGBE,B01MXT2FVC,B07G4GMK5R,B08WXBPVFP,B01ENGW8HY,B07DPQK8RJ,B01MTNXU97,B091HXYV9Q,B01ENH49AC,B08P2784S4,B096KPLZFQ,B09BRG7LHY,B07G4FJYZJ,B096KKKV97,B096KLVZ9G,B07G3C8N74,B084WY6LK6,B08WRMJQ8R,B093399K4X,B0977GMS9P,B01ELZDN8A,B06XJ8J8XT,B07B51WJBS,B01LBII26I,B07G3DF4YT,B099KRGC64,B09FB4KCXD,B08KWK1R31,B09Q6825DW,B09RTK7821,B07B553PPQ,B07G4C17JT,B07HHCGZZM,B07MMYQQD2,B01LBCLN7O,B01MTOZ16V,B077THKVXL,B09338M3XH,B096MBQ752,B096XL5C4M,B07MGK2BL2,B07Z56Q56P,B084WG3575,B08V5J5SBH,B08WRSXTGM,B0933B2NWJ,B09793MSGF,B098PHCKNH,B099FH9S28,B099FHR6XN,B099SGRD5T,B09DTH5X4D,B09RTHZRS1,B01DWA6Z7G,B01MQKHVOA,B06XHRFHB8,B06XJ9P7PG,B07G4FCXNC,B084WGT21G,B08T7TKK51,B09338J2M2,B0933BQDYB,B09472KW81,B094RK9CY4,B0971FGNGY,B099KRM81J,B09BRCL6RW,B09BRHG2PL,B09BZMKJ8B,B09FB3QHW6,B07TSKTZGJ,B08T1XPSPR,B0933BK3QW,B094RHHFL6,B096KMTGMJ,B096ZYQKPJ,B0971FPDM9,B097HGQCQ3,B09B4C6NGM,B09BRGDSJ7,B09BRW5Y7R,B09DTH97GL,B07LCQBGPR,B07NWXL93C,B08NCQ9RCM,B08T1NLH2M,B08TB18DHK,B08V2ZFTMN,B08WS23KX7,B09339RGMG,B09339S6QW,B094RHDP63,B094RHH3FD,B094RKLTSY,B095KKX7ZS,B098PJC15W,B099FG3HKB,B099FHHJ6R,B099KQ12CP,B099KST9NB,B09BRHFT5Q,B09BRTRRGD,B09DTFXFLM,B09DTGW6Q5,B09DTGXRX3,B09DTH6W6X,B09DTJ3J9Y,B09F6H1G44,B09GH3BWK7,B09GKT849K,B07LGDCXHW,B07NBGK5RN,B084YPJ5PK,B084Z3L9Z7,B08LLFJ6S3,B08NFG9M25,B08T12MPRZ,B08T695MV4,B08WRTWDZD,B08YKHV15G,B092W7HLK9,B0933833QX,B0933B1GF8,B09471X75Z,B094JDGXHS,B095CKTHSV,B098PGFVJ3,B099KLXHT5,B099NGSYWW,B09BRBWN95,B09D15RPZV,B09DTBPWDB,B09DTFK1XH,B09DTHWVTL,B09DTJJ1JX,B09FBTNPS5,B09GGD8ZJM,B09J1H9RJN,B08LLDSBH8,B08NCBMWK8,B08T9Y9D5T,B08T9ZL8SG,B08V5LDP28,B08YK7HCT3,B08Z8KHRYJ,B0915XG8BL,B092VXXD13,B09316Z7YL,B0933BLKBP,B094RJCTW4,B096KN12QY,B096KYSK8V,B096VP8FJH,B097774R43,B099FHPYNX,B099KNSX6H,B099KP3P24,B09B4CKXWL,B09CZFTHTB,B09D14HLDH,B09DTFLB38,B09DTFXZHM,B09DTGMZ1S,B09GGDP7L8,B09GGGBH43,B09GGTSKTW,B09HR37J7K,B09HR3LB4N,B09HR5LQM8,B07B4ZVQFG,B07G4F8YDK,B07GH4Y85K,B084WXMNW5,B08T6MXPDF,B08WR733F5,B092VXPCMM,B0933848FQ,B094JCPBZF,B096KM9Q28,B096KNG1L6,B096L1BX45,B096VQQCNS,B099SG3QMY,B099SHNK1M,B09BRFCJV1,B09D1LQ8M1,B09DTFYMP6,B09DTGG6W8,B09DTHZLBJ,B09FBGP5W2,B09GKTFTP7,B09HR5VFZQ,B09Q3NGZZ9,B09R52ZXRC,B09RTJD375,B06XHTZD8V,B07HHDSW8R,B07YLTGYGW,B083QN46QR,B084VW4STH,B084WP3FZB,B08T7V89DZ,B09167N7D6,B093395XQH,B0933BQTPJ,B0933D1KWT,B094RGBPHF,B094RGGTBJ,B095CL7FXX,B095KKCHRN,B095WVF3PR,B095WVK4J5,B095WVLCVG,B095WVRJFF,B095WW4G5R,B095WWMG6K,B096KLVSQX,B098PHXNY5,B099KNW6B2,B099KPBF2T,B099KRC117,B099KRM2XL,B099KW3VKH,B099KZHBC7,B09B47V8FF,B09B4BFYYX,B09BRBHJC1,B09BRDC4XL,B09BRGP87L,B09BRGZQQT,B09BRHX32J,B09BZL7SGM,B09CZL9PHG,B09D1H4366,B09DTFBTY2,B09DTGPWRG,B09FBRX8MT,B09FBTNPS7,B09GGDNKKC,B09GGFHVJW,B09GGFR5BZ,B09PRM742Y,B09Q3QGF6R,B09RTHY4L6,B09RTJ7FRS,B09RTJ7HQ5,B09SGHKDFB,B01LBII22W,B01MYUIZZU,B01N2I9EPS,B06XJ9CKYK,B07B539TGH,B07G4FD48R,B07HHC5Q34,B07LG57XZN,B07NBV1BVZ,B083QLHYGN,B084WKYT1S,B08THQV2BJ,B08YK9S3JV,B08YKCZSQ5,B08Z8KG8C1,B092W5VZTL,B093152PGV,B094714KW1,B094RG724G,B094RJ422R,B094RJQLM2,B096KMCS84,B09D15GRWB,B09Q3PLD7F,B09RTJ4RQM,B07B53HYN8,B083QN6SGX,B084VW1TRB,B08V5NK3HQ,B095WSF7KD,B09GGDQTJX,B09R53FP21,B083QMH6XQ,B09165J7SK,B095WTNF6Z,B095WTWDBN,B095WW8VMW,B09HR3L5BB,B09PVNLYLK,B09RTJG6MW,B09HR5G7BC,B09R7WN1XW,B09SGJDJ4F,B06XJ9DPL3,B08YKLS37G,B099FJG3YN,B09J1DXW7J,B09RTJ9WMN,B08Z8KVPGV,B095WVSN72,B09B4BQL1D,B09DTDRK61,B09GGBRQTC,B09R4S3421,B09R83FT4Y,B09RTK9TDF,B09RTKJ1HB,B09SJ1S95Y,B08THPTQD5,B095WTS8JT,B099KRQRSJ,B09HR2SYN9,B09HR555PR,B09R7V9W26,B09VCHSQ5D,B09R4JGD98,B09RBBVQ28,B09SGMRGBM,B09RBC3TF5,B09RTKNFXY,B09DTGFJCT,B09DTGH97G,B09DTGND3H,B09DTGNL4Y,B09DTH1BQQ,B09DTHD16B,B09DTHKVXF,B09DTHT9NT,B09F9ZK2YN,B09FB1QD1C,B09FB4D683,B09FB4RXHF,B09GGCK5HZ,B09GGDK5CQ,B09GGFMDNK,B09GGFQS7T,B09GGFTKJ2,B09HR45C32,B09HR5C8Z5,B09HR5JKXN,B09HR66P3F,B09J1FRFFG,B09PRMGF8M,B09PVNVW3N,B09PVPZRP8,B09Q3P7CTT,B09Q3QH23Z,B09Q685MMZ,B09R51VR66,B09R7XM1WP,B09R84PLX7,B09RTHFST5,B09RTJ59GY,B09RTKH17J,B09RTKXRJW,B09D1K25GX,B09DTGKMT5,B09DTH5J9C,B09F6GKFW8,B09GKS79RM,B09R7V2K4D,B09VCHMX3X,B01LBC33RW,B01N9CEPFL,B06XJBBBRJ,B07G4D8DY9,B07G4FPZW9,B07HH71VB9,B07LGDN557,B07M5M1RX5,B07NBG8G2M,B07PDN989V,B07ZTKQM5C,B083QLT352,B083QM1YX6,B08T5M7VWF,B08YK8TQZF,B09315BVK6,B09339SPMT,B0933B77MK,B0933C8VH1,B094RJM49N,B095KJDYF7,B095WWLPK9,B096KKT96J,B096L1MM92,B097HHW837,B099KSPNYN,B099KW2SCK,B099SH5PD4,B09B496K16,B09B4CM3YG,B09BRGHBRN,B09BRGW8SR,B09D1H9LTC,B09DTFNHXB,B09DTGG7L8,B09DTGGBTY,B09FBQBHTH,B09FBRX3Q9,B09GKVJJWW,B09PRNH5KZ,B09R4LP593,B09RTHT8D9,B09RTJ14FH,B09RTJ2P8D,B09RTKNCZQ,B09SGHDXFK,B09SGJY7QK,B01MRS9ODR,B01N658UVB,B06XJ6M7YR,B07B51FJXQ,B07G4FN2W5,B07HHBJ6KW,B07LCQMTBT,B083QM8KFG,B084WL8J41,B084X6SRVT,B08WRDNH8F,B08YKJD97G,B08Z8K9HPK,B09167ZD3R,B092VZ6P6R,B092W84R6Q,B09338SZKG,B094JDFNH9,B094RFBH6L,B094RGY8H7,B094RJWN53,B095CMTBWC,B095WT846Y,B095WTW19R,B095WW1XJ1,B095WW4Y1V,B095WX79DT,B096KM91KB,B096KPWK9P,B096KQ631R,B096VT9FSF,B0971F3H69,B0977612HZ,B099FDWRT5,B099FGXX5G,B099FJ8VNL,B099KR2ZVD,B099KSZJ83,B099L2JJYY,B099NFS2V8,B099SGT985,B09BRD9JKY,B09BRGZF4J,B09D14GXVS,B09DTF774V,B09DTFGKSK,B099KPMN5S,B09BRHM9JC,B09471CW9Y,B01N64YHYO,B06XJ29D92,B0971F6SLY,B09DTH56SY,B094RGFWPX,B09FB4KTH8,B07G4BW855,B08KWK4N4S,B09792MPKT,B06XJ8RZNS,B07PFL65Y2,B093391MQC,B093392TBN,B09BRFZ85F,B09GKTN3TH,B09Q67QH9H,B09DTG9X4B,B09FB6HTWB,B01MQQVSGD,B099KT6S9B,B09B4BCWD5,B09BRDQFTV,B0933B9379,B09DTDBTGV,B07ZTKYPFR,B092W6BN8L,B09316ZH2S,B07Z56SCCF,B08WRQLM3P,B094JBY29B,B099KSYTK3,B09BRCSRFS,B09DTH729B,B07LCQ6BJ9,B094RHDFF2,B09RTJCVCW,B07LCRMFLF,B09CZWC7X9,B01LBC32UK,B09F6H2L2L,B07HH8QLLN,B09DTGXNZX,B08WRL5GGX,B092VYJ4PH,B09DTG1HVZ,B09Q3NK2FR,B01N2OPIV8,B06XHR7CD2,B08T5PF1CR,B096VPDC8X,B09DTHLJ4X,B09DTJTT4P,B099KPRYR8,B09DTDL2L4,B01DWA6Z94,B07HHBMC8L,B096L26P85,B09GGFC77S,B09PRLPHYQ,B09PVMPTBZ,B07G3F77PR,B09DTF7XZ7,B07Z43C4M1,B084VW8587,B094RK6NCC,B09RTHSWQ6,B099KP6DMM,B09Q68DY8Y,B083F3NQNJ,B08YKC46W2,B09339WVMK,B096KMJR8G,B09DTFYJQZ,B07LGDR6X3,B09BRFX5W7,B084X1BF37,B096ZXP6LQ,B09775JZLF,B09CZHX1F1,B09DTHG57J,B09DTHP2JP,B09GGCGFHY,B09PNX7SK9,B01MTOYCWV,B07HH7NFKS,B094RGD9ZF,B09DTGVN8C,B07B4ZPFTN,B09GGV8DWW,B09PRN3DTZ,B07YLTGJ93,B094RK4399,B09Q3N9W6L,B09RTJCXH2,B09SGJF88Q,B084WLXZHT,B098PGR818,B09HR6RT7V,B07G2PVFXH,B01DNUKYXG,B01ENGPL1E,B01LEV9I8I,B01LCZY0WU,B07LGD48WL,B01DMCV7RW,B01DW9OF5Q,B01DWAL4JA,B01LBDBKVM,B01ENG0WTA,B07B12866X,B07HH8B1DZ,B07G3B834X,B07DPPG9FZ,B01DNYHTLM,B08WWYFN7Z,B083QM754H,B07MMWQHLY,B01DMEADXO,B096KLW6C9,B09BRC9GQH,B01ENH49DY,B096KLSSCH,B07GH4J9VP,B07G3FB3YJ,B01ENA14IY,B099FH3X9R,B08P4TDCPS,B01DO14KNE,B01LBDSRGI,B07M5M3Y29,B07G4FHL4B,B096XNM3HF,B01N648QMG,B01ELZDNAS,B06XJ68N37,B091HX8TSM,B099FF91GL,B07Z43TW87,B07HH66Y84,B01EN4XK7S,B096KMY9KF,B07Z57ZYZW,B09FB3XMWW,B08124F7HC,B01DW9YG5A,B091HGYJTC,B096MCPPZV,B08WS39V2J,B098PGPZG7,B09D1FHXRJ,B084WZM869,B01EN5QHNQ,B09FB4Y1ND,B01MXT2BW0,B09FB3ZGP7,B07MCYC4LK,B083QM2RJV,B099KTD8Q5,B01LBFKGBA,B095KJND4T,B0977GC2KQ,B07YZRKYDJ,B096KLSCKP,B099FG7FYV,B096KP2WRC,B09FB4XWMD,B01LBII24K,B081HBBJ1W,B099FG883T,B0933BXSGB,B01N42CU8D,B09DTDNK7C,B09BZN198H,B09RTHSQ68,B09339KR1K,B01ENGIKXU,B099SHF8GZ,B084WPH23J,B096KNYJMY,B099SGH19Y,B099SH4HPN,B09GKRSDTM,B07B51ZVCK,B0933CDTR4',
targets_userSelectedKeyword => NULL,
marketplaceId => NULL
)
) AS x
v3_Products_RuleNotification
Products - Campaign optimization rule state
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<campaignIds> (required): campaignId
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
part | string | |
campaignId | long | List of successful campaign optimization notifications for campaigns. Campaign id |
campaignOptimizationId | string | List of successful campaign optimization notifications for campaigns. Campaign optimization id |
notificationString | string | Explains why the rule state is disabled |
ruleState | string | List of successful campaign optimization notifications for campaigns. Rule state |
error_code | string | An enumerated error code for machine use |
error_details | string | A human-readable description of the response |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_RuleNotification AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_RuleNotification (
campaignIds => '81002320838825,139739708059936,192383770543505,183729298991161,60563471854251,226958438922324,176771942280373,249414770058102,103445002995929,72642803464766,79918354699586,81397930295225,84233775537863,84931138387724,183449303725334,171710531707658,161596668061264,269257712631440,239804780055055,183648735513897,243066043702367,76639932389729,239009527896164,177079036785557,265326047979138,121888533386034,197279224125873,175527415951434,39883225367013,205601342364807,123090687966124,21043528251535,191355054220834,58671932710039,33634424645534,190597853929654,240530973521770,155108921507427,268051228813012,37900319581836,132250551106750,163777300343578,160007257145364,213886517123701,39311656077910,153333910294066,197896311971515,163044857402358,100392559483537,67217339764223,175140907878089,44562729344356,276546790004480,180536794158116,104240984732992,50591717098999,51831570737030,118484091781824,210950954979025,46367306159693,200988163438810,24897650070646,39686480689556,230065155853152,198223241999431,275473789414183,248288706135637,94621312356087,103241489961288,98772565801078,270316391571922,78337923694035,133336841479877,135252020761198,254998132326167,180936194519914,114968756673633,235742165314264,58258435271910,53369268534828,185967812182793,10318734852913,227580355751070,276687270800578,245012737307987,124137420393288,24761905847962,116225042427922,109031557633438,20976884437654,60024867014939,63722631626932,98310450666783,17492451054253,164674634950554,271337556815576,184872979216794,225341504486695,272290597965877,114176040540328,256843826169122,30276585294940,252810328862297,177288868668966,53618980333851,111455258890070,118844927501151,94087356166285,24585891756553,170980696035647,231834244548369,58698762277618,5050919205803,232939170435742,181483446717060,55934732646088,63377861204071,218909602102294,82617984399080,152263668581868,215142641876327,266475569111374,20966865665923,20386203066259,10535457237947,136503523136921,106704021290178,43659241173368,125781128263508,98807892427113,251696275785662,89347544997455,172725313402254,276062492936145,143559159329624,247668502284746,248415034757913,16745411162008,14795109587805,189296444296839,88383927401896,87883097464028,35705723441033,56416102689496,278491578807473,43749446624579,9048056288094,238371918470584,197960166479049,169475069274252,135045180126148,150355221184252,38574764915049,103013476203983,274410115003189,175527883739528,150171026865394,123651133312257,235408001076046,67650544668798,165226410192851,204212885576357,196278878824291,53061252106327,149936880966213,218598000890704,185823348707217,144329027634084,62089390949530,193466610858758,50913232409713,159466930207401,55979354619102,29190448175457,173355780405336,37589423811526,51261453001663,28713650094960,2458763800995,264965113201819,60523609538630,46593862195047,117033676601295,111858270247674,262122616124552,280296607706284,6354627491446,9892346330218,75923267582562,149650445859222,104605103916296,275587369750476,32050809773473,103861669476899,255027026499491,29112046175667,135346124079893,22685708677036,151556848852171,107067022804009,176647570599767,240318380553799,210662869632232,106309788201372,279419510926044,251999191437648,263221298337862,223132475392194,75682086305696,209192737275868,62850111534776,123919153218807,30961376181031,236021558537870,10836488890413,145823921775790,149174422194032,187195186793729,66494214325461,39395766491941,16890732487045,86855128031929,24548876261381,159717201317908,225022591910531,119294403948031,48876143288491,108550540851371,165851214654296,106465423754431,210192940551664,185523379053597,113578554726608,181203266137038,203003514078206,60297881919811,89299054653572,141606615982425,171939864591073,187173696671398,188479396794533,280261378957809,228163543914042,63806661300051,24135111936437,102092316397027,262946278488252,174535155575632,115393069881653,81151693123240,190069887897699,205712092395231,91929874923811,219715803405092,132945965264343,130962402178371,108992576845019,153489888840636,102343032838598,11501286360249,162549491620923,128138728799818,93210880199048,170541190369293,258186876066759,132019381215325,62331882245623,52981162706633,194892063871315,254023276160136,219611814757020,203721717972336,174071240654586,120756869443389,51972050316130,270061342822281,225114124525039,180860693532471,50764762391207,179994107702863,239371441987808,6876775474136,270850706292263,152626265589069,137854480172183,93883389935394,7124722670843,218469760855664,238341663493102,197191889589873,110805099700871,149558428949717,37376565389035,186613313946845,132676479831099,261451772722216,213805270425691,138357882528571,7829018723478,123769313223888,256574166434526,222357892528142,253775466879785,185504751818991,11404558948013,231103469644779,198494978188280,277416028186517,208518770666789,18633754037697,169527504675722,129275970939916,259612483669739,76567085411446,177535875071778,195655503196783,256607586448423,242656413978963,80366710995311,34378543410608,75393387729296,143668583373306,88673208866205,266728494684292,45321311881437,251156387190330,169125892619260,217816552520478,129501641410695,98486652107104,29721347521341,148318634003953,50596347248098,229847179882603,149756868595053,126308200523072,229242264170685,174008255802942,197895691224637,164571679574369,85519213181026,180802688843189,217046523551343,277847827833362,71932362376466,132877263805545,183574353810661,71922121379215,6430443237493,203895087438196,87475251556444,63636953865870,270513481664601,2662789780889,238644539782037,12666637888681,73492690177093,138817417123185,176724079686998,239857571695347,148297255962670,101081960748305,251441762637480,127918327924965,166924438379339,69526350632741,195474804218322,210803490040521,57615669598154,264423474856448,128980303140938,265023544415402,76782250504072,80989954592058,260382679487189,128505687446771,27854811193246,22936687206777,57600981515292,166948736426089,127043197314550,255885703200581,120752086426790,213139388032896,100681490326478,240474088318075,129441493715084,175357326569561,271688940749484,220208069178266,143542318926584,174718094839426,782145188918,110905218402071,205753974687237,119981441455205,255878953897672,44063852371860,137763186236896,122919164004021,150809303994551,89172525455138,205771860163358,17966621071330,33939101775379,18218274528659,109957915010158,108058772010049,153028312564221,68153759141316,153786623774215,64177002441776,193104666704550,163410386840636,95853384463233,20934008366190,199655180997092,203498225227510,202539912667547,197028616320880,197625625830074,19272437234194,49118841235463,148443115258168,176483077070775,201974586379299,162528479447124,247544854477307,43518166162384,1678612044200,160155456386566,100317657111979,165889102103727,103255134520811,254685905958150,200987693542079,155274391898080,38102930217402,103435292191279,18800213447199,165186988823231,187198954174284,196372479738674,122512703803874,100965274060979,226348919124299,162362915247233,270968365026767,218508097631592,274718317436508,250017532248614,217859623387909,115606857617372,14834510784690,48593298228905,261515500199998,72034040060467,110317828942980,226755745190891,14614412110271,56016336503811,163236619380351,275799658968377,137283971737332,37707456059178,250022725291750,67960549236120,252492116955909,279582822094898,36618503925921,209112447882262,148043349058498,125835641996833,209376823739660,28272661995834,75511340539304,88953094700064,198133476808173,85347847596253,228586738773852,192675247969149,23826541799706,99033107756116,253191334327609,78513113437602,243545055088520,99214714718006,115365277509038,165542900991620,238355804929345,147890794226574,207001629189951,29951271664022,51772747508339,93270665014276,167503577044456,146437678516656,154934495808809,58732385643891,230018381511737,155098498651243,68133179585910,147902753711748,193462971206355,274865806424486,191395174786907,130852007586211,278244720469023,99011993878729,15715841723090,173968206964923,235688840184827,47849487438866,12210396066760,152694921664857,108209566913707,8945303919753,265606419997069,100558334004258,159734572472555,50200457225387,230040078141106,232479017124437,137844321977263,17929294954894,24325724859742,95529029908807,240758208296877,231013623617685,100260031726323,14736587197899,12599231325549,224922869706009,22803152890655,129779071052948,9312424289335,190248069198952,194342978411912,208475729485290,169894483436502,262155975721314,80463515399452,240507871997318,132424397713940,18258560459413,170198817169112,55641865061444,280621992887679,37165430477320,129547202078234,247242910157390,76965453367646,114398479426389,274550960162686,147811508088238,100492390073201,252621083879224,240644971551074,167738356002449,59299249103931,242735361260486,74925469883781,109593372694223,195301560810210,15624658374708,7146799828008,32864932555196,139739803075698,169429382436689,203670476325396,140378614853072,9210947882382,147871022626243,205776137154877,47745630806807,19381174552748,91102666558447,115720318614184,125312145784211,129711796280977,6442750484195,189193836897107,122959091553377,228495865539318,134871883254026,171650170278444,220343546808538,110704184110985,209493432917865,75308708679515,46112167555919,92918269555294,262804072689290,212288285982861,157202574740439,34521125570152,107955165697017,26631348579135,16583040271951,130349469956825,163419702086339,178364269936980,175681745111035,71027542379568,257409729440345,210319861579693,263490508556976,117398936213792,104528757775079,136353130363266,10082003884739,170107159459347,85220235686165,175877284048576,197462938332210,235371922130586,216559949149561,226529004597183,54652346897933,236259250836089,114967337438660,73832340961085,48421046807799,48010877982993,158105867392795,67552113811432,1929227640844,115386146034155,246786317742927,37508651374359,57086698241079,33823091090305,219699114570587,21616209161254,201348395988735,217860740756484,151845151161742,260515070768326,86524863992072,134673727655128,69296609347261,266810450183586,19314319644406,226091800579521,19334225403879,163701970205870,4898414914946,75822564228920,27337965404461,55484202362200,60649432927013,189214899166924,69325693774457,217555697226814,97627966739216,180621519847908,40705118949630,94851900007161,98758476433863,37707360268547,236685950204278,111388393976800,202116127926114,169396342865322,165115801626656,990400753600,108828875805439,231696798650145,116453313493720,22771920375532,176012289408311,235562730377813,61203203559971,156421612003797,86548353079199,209776975441776,127446492214224,204032894877702,69913016944792,155229825532010,40123129679395,238825588671291,275645711343975,246516587718837,4867993887630,99496337505134,86050561014902,21587943652932,44961019787625,212267343926966,180541963792799,74122504062465,75950210009241,196908664043408,183992056274724,51034238953734,25642102122225,59031359342972,140819131781400,132295481813333,136762080565837,213623349462592,39087956200624,18769928775614,114143053607559,123438336207209,276591061191642,194355698184990,125811237534029,50411160825682,163678939896843,16048774636088,266007281908188,125272560077591,503382722801,67101130459176,85557795561831,90826835557565,27594777516652,195395663361671,240713968639802,104652154771425,185464337877852,262415708752663,216331083497173,145004940128032,277376428833851,144993181451637,252803101763745,253625608527610,37303410692278,46461168126683,187415342743544,209783044027408,51808410145756,85309929812037,188995775459711,210244674642123,91680940785881,150547476506031,194604991334387,75436822813703,209083387829819,109494283422405,147634118170613,12175013750620,168542652227738,64898918388183,201552938545545,49199778837259,99234398894761,23836158335272,189510761769623,105413253186973,196811354031416,149592233600503,273930300771416,210406208704445,107230341936656,69127279869845,37608847599900,222529209183553,270612432229281,200311022717074,66599023841021,172981438748848,17065721816640,269499334776560,119042148979312,76469280792776,248949449814269,64937484340327,59057899800312,141278699854707,191878713311264,173596564183338,152305039793160,267361842918951,254430367918563,110503929702372,201752035421501,226850442540490,125836029719912,71271348645385,251987243800579,247457625102432,234529882274108,55655830920170,144624027149596,43041124859036,265876069757325,239038917471693,110931613391095,156817947487585,246731552515223,51956516448624,96638277410513,60936994766336,231374149609338,204414092773069,207623796151335,243518339106813,277179906600115,91391071125231,83059465701030,60761079503006,195705758093797,61877943431504,66878295588493,208600436864790,275606211876465,2335864147139,69167781290710,239098877561395,261928733392414,54598797060992,43008189864623,255967822972850,79416555276932,273032306725844,70616557705786,188121246862147,149368769207725,234909856730898,199417563789146,66197644985512,158923971824362,236449048257819,217766055323873,228648524591484,83310346378028,153152944708095,54538498825334,253936477598183,105516756722850,107643067641184,264020167193479,245879769589979,77745269965297,53304616095640,42957995324283,27732435478504,259880785064741,119074483586335,173731032446134,277559872149656,168390215103157,27244151802190,124064040625463,130878234592412,42640663606722,194891829150937,107774802070464,155335665273144,263763418076631,146922460509520,232429448767542,19747721436109,48470589226130,39851941155928,272263673212660,12974276486664,219465494930666,194884198314564,189191699451841,108267178656751,83267766448249,42262921027544,197458133425859,173016632168694,234032228666212,23868767111420,13542250269108,3753355511586,119665367462262,164013290000307,150645117232448,178662320790817,155480853134612,164824524036678,231622227912892,145375014590147,49146524607882,118859386694872,82076993464687,117021796384280,8993731390717,17390778534457,126550974618651,278842070839554,225273535099487,276317761147099,75714737517047,242990119106107,35313407703391,37119375360400,44362829811572,128083022099656,169917864068772,191745555997557,182443109242875,44504421062916,24137080564910,204038311364767,280687421199631,7937672945356,8765723734516,177451270928344,130043104934,176254033888832,150667311661008,161574871585426,30033300004633,87353682194492,250451665739869,11879007747889,203122211084059,18056854948563,235114152543578,104926478934243,181815095893739,98334222634444,83320156081850,74053767994665,30357888673807,82889525278810,36090201993454,119332501173786,272373960383198,5717885278716,78609358098894,245549932192517,79336461572455,135016501893817,275136775747495,280964529962204,168726624048309,172564528126095,186978246741382,235627721554391,279599817580525,182579554210954,185088688912132,233069626771159,145190159478286,203443549681757,103818406454032,77004624489876,54954136168762,6302281957099,89897491827891,23230891927479,165653585017012,93328583287919,252639191151031,52138380375021,249857374609561,191327764866783,120619973501554,222600050688975,85236049240636,147081198967083,84205067598457,27577980572540,21165136565144,101730855157328,138343694711980,213878848859873,140313341784992,241853800330182,6808296922057,191625060144461,65903889490060,264388313150116,35096275663470,33824987357806,71791649458484,255633784674634,76968149328535,272014837148113,59548482321539,135025318769774,2110239280824,129118133592722,25568946658544,84241171535311,138640207079240,36133012384113,231482526460406,254518737911136,165050479048522,28665731235298,256547147967320,34679089020412,204355537448899,127552868174889,8757665530515,167566531393340,210514862720444,269887922509728'
)
) AS x
v3_Products_SPBudgetRulesForAdvertiser
Products - All budget rules created by an advertiser
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
createdDate | timestamp | Epoch time of budget rule creation |
ruleDetails_budgetIncreaseBy_type | string | Object representing details of a budget rule for SP campaign. Budget increase by. Type |
ruleDetails_budgetIncreaseBy_value | bigdecimal | The budget value |
ruleDetails_duration_dateRangeTypeRuleDuration_endDate | date | The end date of the budget rule in YYYYMMDD format. The end date is inclusive. Required to be equal or greater than 'startDate' |
ruleDetails_duration_dateRangeTypeRuleDuration_startDate | date | The start date of the budget rule in YYYYMMDD format. The start date is inclusive. Required to be greater than or equal to current date |
ruleDetails_duration_eventTypeRuleDuration_endDate | date | The event end date in YYYYMMDD format |
ruleDetails_duration_eventTypeRuleDuration_eventId | string | The event identifier. This value is available from the budget rules recommendation API |
ruleDetails_duration_eventTypeRuleDuration_eventName | string | The event name |
ruleDetails_duration_eventTypeRuleDuration_startDate | date | The event start date in YYYYMMDD format. Read-only. Note that this field is present only for announced events |
ruleDetails_name | string | The budget rule name. Required to be unique within a campaign |
ruleDetails_performanceMeasureCondition_comparisonOperator | string | Object representing details of a budget rule for SP campaign. Performance measure condition. Comparison operator |
ruleDetails_performanceMeasureCondition_metricName | string | Object representing details of a budget rule for SP campaign. Performance measure condition. Metric name |
ruleDetails_performanceMeasureCondition_threshold | bigdecimal | The performance threshold value |
ruleDetails_recurrence_daysOfWeek | string | Object representing days of the week for weekly type rule. It is not required for daily recurrence type |
ruleDetails_recurrence_intraDaySchedule | string | |
ruleDetails_recurrence_type | string | Object representing details of a budget rule for SP campaign. Recurrence. Type |
ruleDetails_ruleType | string | Object representing details of a budget rule for SP campaign. Rule type |
ruleId | string | The budget rule identifier |
ruleState | string | A list of rules created by the advertiser. Rule state |
ruleStatus | string | The budget rule status |
ruleStatusDetails | string | |
lastUpdatedDate | timestamp | Epoch time of budget rule update |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_SPBudgetRulesForAdvertiser AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_SPBudgetRulesForAdvertiser ()
) AS x
v3_Products_SearchBrands
Products - Brands related to keyword input for negative targeting
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<keyword> (required): Request object for SearchBrands API.. Keyword
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
id | long | Id of brand. This field is REQUIRED if the Brand object is being used as an input. Use the GetRefinementsForCategory to retrieve Brand Node IDs |
name | string | Name of brand. This field is optional if the Brand object is being used as an input |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_SearchBrands AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_SearchBrands (
keyword => 'amazon'
)
) AS x
v3_Products_TargetableCategories
Products - Targetable categories
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<locale> (optional): The locale to which the caller wishes to translate the targetable categories to. For example, if the caller wishes to receive the targetable categories in Simplified Chinese, the locale parameter should be set to zh_CN. If no locale is provided, the returned targetable categories will be in the default language of the marketplace.
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
id | string | |
na | string | |
parent_id | string | |
ta | string |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_TargetableCategories AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_TargetableCategories (
locale => 'en_US'
)
) AS x
v3_Products_TargetingClauses
Products - Targets
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<adGroupIdFilter_include> (optional): Filter entities by the list of objectIds
<asinFilter_include> (optional): Asin filter
<asinFilter_queryTermMatchType> (optional): Match type for query filters (BROAD_MATCH, EXACT_MATCH)
<campaignIdFilter_include> (optional): Filter entities by the list of objectIds
<expressionTypeFilter_include> (optional): Filter entities by ExpressionType. Sponsored products expression type (AUTO, MANUAL, OTHER)
<stateFilter_include> (optional): The current resource state (ENABLED, PAUSED, ARCHIVED, ENABLING, USER_DELETED, OTHER)
<targetIdFilter_include> (optional): Filter entities by the list of objectIds
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The identifier of the campaign to which this target is associated |
adGroupId | long | The identifier of the ad group to which this target is associated |
bid | bigdecimal | The bid for ads sourced using the target. Targets that do not have bid values in listTargetingClauses will inherit the defaultBid from the adGroup level. This table details the maximum allowable bid (in local currency) for keywords by marketplace: |
expression | string | The targeting expression |
extendedData_creationDateTime | timestamp | Creation date in ISO 8601 |
extendedData_lastUpdateDateTime | timestamp | Last updated date in ISO 8601 |
extendedData_servingStatus | string | Targeting clauses. Extended data. Serving status |
resolvedExpression | string | The resolved targeting expression |
state | string | Targeting clauses. State |
targetId | string | The target identifier |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_TargetingClauses AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_TargetingClauses (
targetIdFilter_include => NULL,
stateFilter_include => NULL,
expressionTypeFilter_include => NULL,
campaignIdFilter_include => '81002320838825,139739708059936,192383770543505,183729298991161,60563471854251,226958438922324,176771942280373,249414770058102,103445002995929,72642803464766,79918354699586,81397930295225,84233775537863,84931138387724,183449303725334,171710531707658,161596668061264,269257712631440,239804780055055,183648735513897,243066043702367,76639932389729,239009527896164,177079036785557,265326047979138,121888533386034,197279224125873,175527415951434,39883225367013,205601342364807,123090687966124,21043528251535,191355054220834,58671932710039,33634424645534,190597853929654,240530973521770,155108921507427,268051228813012,37900319581836,132250551106750,163777300343578,160007257145364,213886517123701,39311656077910,153333910294066,197896311971515,163044857402358,100392559483537,67217339764223,175140907878089,44562729344356,276546790004480,180536794158116,104240984732992,50591717098999,51831570737030,118484091781824,210950954979025,46367306159693,200988163438810,24897650070646,39686480689556,230065155853152,198223241999431,275473789414183,248288706135637,94621312356087,103241489961288,98772565801078,270316391571922,78337923694035,133336841479877,135252020761198,254998132326167,180936194519914,114968756673633,235742165314264,58258435271910,53369268534828,185967812182793,10318734852913,227580355751070,276687270800578,245012737307987,124137420393288,24761905847962,116225042427922,109031557633438,20976884437654,60024867014939,63722631626932,98310450666783,17492451054253,164674634950554,271337556815576,184872979216794,225341504486695,272290597965877,114176040540328,256843826169122,30276585294940,252810328862297,177288868668966,53618980333851,111455258890070,118844927501151,94087356166285,24585891756553,170980696035647,231834244548369,58698762277618,5050919205803,232939170435742,181483446717060,55934732646088,63377861204071,218909602102294,82617984399080,152263668581868,215142641876327,266475569111374,20966865665923,20386203066259,10535457237947,136503523136921,106704021290178,43659241173368,125781128263508,98807892427113,251696275785662,89347544997455,172725313402254,276062492936145,143559159329624,247668502284746,248415034757913,16745411162008,14795109587805,189296444296839,88383927401896,87883097464028,35705723441033,56416102689496,278491578807473,43749446624579,9048056288094,238371918470584,197960166479049,169475069274252,135045180126148,150355221184252,38574764915049,103013476203983,274410115003189,175527883739528,150171026865394,123651133312257,235408001076046,67650544668798,165226410192851,204212885576357,196278878824291,53061252106327,149936880966213,218598000890704,185823348707217,144329027634084,62089390949530,193466610858758,50913232409713,159466930207401,55979354619102,29190448175457,173355780405336,37589423811526,51261453001663,28713650094960,2458763800995,264965113201819,60523609538630,46593862195047,117033676601295,111858270247674,262122616124552,280296607706284,6354627491446,9892346330218,75923267582562,149650445859222,104605103916296,275587369750476,32050809773473,103861669476899,255027026499491,29112046175667,135346124079893,22685708677036,151556848852171,107067022804009,176647570599767,240318380553799,210662869632232,106309788201372,279419510926044,251999191437648,263221298337862,223132475392194,75682086305696,209192737275868,62850111534776,123919153218807,30961376181031,236021558537870,10836488890413,145823921775790,149174422194032,187195186793729,66494214325461,39395766491941,16890732487045,86855128031929,24548876261381,159717201317908,225022591910531,119294403948031,48876143288491,108550540851371,165851214654296,106465423754431,210192940551664,185523379053597,113578554726608,181203266137038,203003514078206,60297881919811,89299054653572,141606615982425,171939864591073,187173696671398,188479396794533,280261378957809,228163543914042,63806661300051,24135111936437,102092316397027,262946278488252,174535155575632,115393069881653,81151693123240,190069887897699,205712092395231,91929874923811,219715803405092,132945965264343,130962402178371,108992576845019,153489888840636,102343032838598,11501286360249,162549491620923,128138728799818,93210880199048,170541190369293,258186876066759,132019381215325,62331882245623,52981162706633,194892063871315,254023276160136,219611814757020,203721717972336,174071240654586,120756869443389,51972050316130,270061342822281,225114124525039,180860693532471,50764762391207,179994107702863,239371441987808,6876775474136,270850706292263,152626265589069,137854480172183,93883389935394,7124722670843,218469760855664,238341663493102,197191889589873,110805099700871,149558428949717,37376565389035,186613313946845,132676479831099,261451772722216,213805270425691,138357882528571,7829018723478,123769313223888,256574166434526,222357892528142,253775466879785,185504751818991,11404558948013,231103469644779,198494978188280,277416028186517,208518770666789,18633754037697,169527504675722,129275970939916,259612483669739,76567085411446,177535875071778,195655503196783,256607586448423,242656413978963,80366710995311,34378543410608,75393387729296,143668583373306,88673208866205,266728494684292,45321311881437,251156387190330,169125892619260,217816552520478,129501641410695,98486652107104,29721347521341,148318634003953,50596347248098,229847179882603,149756868595053,126308200523072,229242264170685,174008255802942,197895691224637,164571679574369,85519213181026,180802688843189,217046523551343,277847827833362,71932362376466,132877263805545,183574353810661,71922121379215,6430443237493,203895087438196,87475251556444,63636953865870,270513481664601,2662789780889,238644539782037,12666637888681,73492690177093,138817417123185,176724079686998,239857571695347,148297255962670,101081960748305,251441762637480,127918327924965,166924438379339,69526350632741,195474804218322,210803490040521,57615669598154,264423474856448,128980303140938,265023544415402,76782250504072,80989954592058,260382679487189,128505687446771,27854811193246,22936687206777,57600981515292,166948736426089,127043197314550,255885703200581,120752086426790,213139388032896,100681490326478,240474088318075,129441493715084,175357326569561,271688940749484,220208069178266,143542318926584,174718094839426,782145188918,110905218402071,205753974687237,119981441455205,255878953897672,44063852371860,137763186236896,122919164004021,150809303994551,89172525455138,205771860163358,17966621071330,33939101775379,18218274528659,109957915010158,108058772010049,153028312564221,68153759141316,153786623774215,64177002441776,193104666704550,163410386840636,95853384463233,20934008366190,199655180997092,203498225227510,202539912667547,197028616320880,197625625830074,19272437234194,49118841235463,148443115258168,176483077070775,201974586379299,162528479447124,247544854477307,43518166162384,1678612044200,160155456386566,100317657111979,165889102103727,103255134520811,254685905958150,200987693542079,155274391898080,38102930217402,103435292191279,18800213447199,165186988823231,187198954174284,196372479738674,122512703803874,100965274060979,226348919124299,162362915247233,270968365026767,218508097631592,274718317436508,250017532248614,217859623387909,115606857617372,14834510784690,48593298228905,261515500199998,72034040060467,110317828942980,226755745190891,14614412110271,56016336503811,163236619380351,275799658968377,137283971737332,37707456059178,250022725291750,67960549236120,252492116955909,279582822094898,36618503925921,209112447882262,148043349058498,125835641996833,209376823739660,28272661995834,75511340539304,88953094700064,198133476808173,85347847596253,228586738773852,192675247969149,23826541799706,99033107756116,253191334327609,78513113437602,243545055088520,99214714718006,115365277509038,165542900991620,238355804929345,147890794226574,207001629189951,29951271664022,51772747508339,93270665014276,167503577044456,146437678516656,154934495808809,58732385643891,230018381511737,155098498651243,68133179585910,147902753711748,193462971206355,274865806424486,191395174786907,130852007586211,278244720469023,99011993878729,15715841723090,173968206964923,235688840184827,47849487438866,12210396066760,152694921664857,108209566913707,8945303919753,265606419997069,100558334004258,159734572472555,50200457225387,230040078141106,232479017124437,137844321977263,17929294954894,24325724859742,95529029908807,240758208296877,231013623617685,100260031726323,14736587197899,12599231325549,224922869706009,22803152890655,129779071052948,9312424289335,190248069198952,194342978411912,208475729485290,169894483436502,262155975721314,80463515399452,240507871997318,132424397713940,18258560459413,170198817169112,55641865061444,280621992887679,37165430477320,129547202078234,247242910157390,76965453367646,114398479426389,274550960162686,147811508088238,100492390073201,252621083879224,240644971551074,167738356002449,59299249103931,242735361260486,74925469883781,109593372694223,195301560810210,15624658374708,7146799828008,32864932555196,139739803075698,169429382436689,203670476325396,140378614853072,9210947882382,147871022626243,205776137154877,47745630806807,19381174552748,91102666558447,115720318614184,125312145784211,129711796280977,6442750484195,189193836897107,122959091553377,228495865539318,134871883254026,171650170278444,220343546808538,110704184110985,209493432917865,75308708679515,46112167555919,92918269555294,262804072689290,212288285982861,157202574740439,34521125570152,107955165697017,26631348579135,16583040271951,130349469956825,163419702086339,178364269936980,175681745111035,71027542379568,257409729440345,210319861579693,263490508556976,117398936213792,104528757775079,136353130363266,10082003884739,170107159459347,85220235686165,175877284048576,197462938332210,235371922130586,216559949149561,226529004597183,54652346897933,236259250836089,114967337438660,73832340961085,48421046807799,48010877982993,158105867392795,67552113811432,1929227640844,115386146034155,246786317742927,37508651374359,57086698241079,33823091090305,219699114570587,21616209161254,201348395988735,217860740756484,151845151161742,260515070768326,86524863992072,134673727655128,69296609347261,266810450183586,19314319644406,226091800579521,19334225403879,163701970205870,4898414914946,75822564228920,27337965404461,55484202362200,60649432927013,189214899166924,69325693774457,217555697226814,97627966739216,180621519847908,40705118949630,94851900007161,98758476433863,37707360268547,236685950204278,111388393976800,202116127926114,169396342865322,165115801626656,990400753600,108828875805439,231696798650145,116453313493720,22771920375532,176012289408311,235562730377813,61203203559971,156421612003797,86548353079199,209776975441776,127446492214224,204032894877702,69913016944792,155229825532010,40123129679395,238825588671291,275645711343975,246516587718837,4867993887630,99496337505134,86050561014902,21587943652932,44961019787625,212267343926966,180541963792799,74122504062465,75950210009241,196908664043408,183992056274724,51034238953734,25642102122225,59031359342972,140819131781400,132295481813333,136762080565837,213623349462592,39087956200624,18769928775614,114143053607559,123438336207209,276591061191642,194355698184990,125811237534029,50411160825682,163678939896843,16048774636088,266007281908188,125272560077591,503382722801,67101130459176,85557795561831,90826835557565,27594777516652,195395663361671,240713968639802,104652154771425,185464337877852,262415708752663,216331083497173,145004940128032,277376428833851,144993181451637,252803101763745,253625608527610,37303410692278,46461168126683,187415342743544,209783044027408,51808410145756,85309929812037,188995775459711,210244674642123,91680940785881,150547476506031,194604991334387,75436822813703,209083387829819,109494283422405,147634118170613,12175013750620,168542652227738,64898918388183,201552938545545,49199778837259,99234398894761,23836158335272,189510761769623,105413253186973,196811354031416,149592233600503,273930300771416,210406208704445,107230341936656,69127279869845,37608847599900,222529209183553,270612432229281,200311022717074,66599023841021,172981438748848,17065721816640,269499334776560,119042148979312,76469280792776,248949449814269,64937484340327,59057899800312,141278699854707,191878713311264,173596564183338,152305039793160,267361842918951,254430367918563,110503929702372,201752035421501,226850442540490,125836029719912,71271348645385,251987243800579,247457625102432,234529882274108,55655830920170,144624027149596,43041124859036,265876069757325,239038917471693,110931613391095,156817947487585,246731552515223,51956516448624,96638277410513,60936994766336,231374149609338,204414092773069,207623796151335,243518339106813,277179906600115,91391071125231,83059465701030,60761079503006,195705758093797,61877943431504,66878295588493,208600436864790,275606211876465,2335864147139,69167781290710,239098877561395,261928733392414,54598797060992,43008189864623,255967822972850,79416555276932,273032306725844,70616557705786,188121246862147,149368769207725,234909856730898,199417563789146,66197644985512,158923971824362,236449048257819,217766055323873,228648524591484,83310346378028,153152944708095,54538498825334,253936477598183,105516756722850,107643067641184,264020167193479,245879769589979,77745269965297,53304616095640,42957995324283,27732435478504,259880785064741,119074483586335,173731032446134,277559872149656,168390215103157,27244151802190,124064040625463,130878234592412,42640663606722,194891829150937,107774802070464,155335665273144,263763418076631,146922460509520,232429448767542,19747721436109,48470589226130,39851941155928,272263673212660,12974276486664,219465494930666,194884198314564,189191699451841,108267178656751,83267766448249,42262921027544,197458133425859,173016632168694,234032228666212,23868767111420,13542250269108,3753355511586,119665367462262,164013290000307,150645117232448,178662320790817,155480853134612,164824524036678,231622227912892,145375014590147,49146524607882,118859386694872,82076993464687,117021796384280,8993731390717,17390778534457,126550974618651,278842070839554,225273535099487,276317761147099,75714737517047,242990119106107,35313407703391,37119375360400,44362829811572,128083022099656,169917864068772,191745555997557,182443109242875,44504421062916,24137080564910,204038311364767,280687421199631,7937672945356,8765723734516,177451270928344,130043104934,176254033888832,150667311661008,161574871585426,30033300004633,87353682194492,250451665739869,11879007747889,203122211084059,18056854948563,235114152543578,104926478934243,181815095893739,98334222634444,83320156081850,74053767994665,30357888673807,82889525278810,36090201993454,119332501173786,272373960383198,5717885278716,78609358098894,245549932192517,79336461572455,135016501893817,275136775747495,280964529962204,168726624048309,172564528126095,186978246741382,235627721554391,279599817580525,182579554210954,185088688912132,233069626771159,145190159478286,203443549681757,103818406454032,77004624489876,54954136168762,6302281957099,89897491827891,23230891927479,165653585017012,93328583287919,252639191151031,52138380375021,249857374609561,191327764866783,120619973501554,222600050688975,85236049240636,147081198967083,84205067598457,27577980572540,21165136565144,101730855157328,138343694711980,213878848859873,140313341784992,241853800330182,6808296922057,191625060144461,65903889490060,264388313150116,35096275663470,33824987357806,71791649458484,255633784674634,76968149328535,272014837148113,59548482321539,135025318769774,2110239280824,129118133592722,25568946658544,84241171535311,138640207079240,36133012384113,231482526460406,254518737911136,165050479048522,28665731235298,256547147967320,34679089020412,204355537448899,127552868174889,8757665530515,167566531393340,210514862720444,269887922509728',
asinFilter_queryTermMatchType => NULL,
asinFilter_include => 'B00L5JL1QM,B00IX6915S,B00IX6914Y,B00IX69162,B00IX6919Y,B00LW7O7KE,B004QC8BM2,B00YUBUAMS,B00YUBUAZ0,B00YUBUAMS,B00YUBUAZ0,B00YUBUAMS,B00YUBUAZ0,B013QSK2J6,B013QSK1YM,B013QSK2J6,B013QSK1YM,B01AC8XS8A,B01AIATT8U,B01DNYHTLM,B01DMCV7AY,B01DMCV7RW,B01DMCV7EU,B01DW9OF5Q,B01DMEADXO,B01DWA6Z94,B01DO14KNE,B01DNZMDAI,B07B69KX8C,B01ELZDNAS,B01EN5QHNQ,B01EN4XK7S,B07G2PVFXH,B01ENA14IY,B01ENG0WTA,B01ENH49DY,B01ENGPL1E,B01ENGIKXU,B01ENGW8GU,B01DNUKYXG,B01DWAL4JA,B01LBC32UK,B01LBCLNJM,B01LBDBKVM,B01LBDSRGI,B01LBFKGBA,B01LBII24K,B07PFL65Y2,B01LCZY0WU,B01LEUUKUO,B01LEV9I8I,B07C5QLXG8,B08SPZZKP8,B08SPZZKP8,B08SMS3W4Z,B08SMS3W4Z,B013QSK2J6,B013QSK1YM,B07C5QLXG8,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07TR4MH9W,B07TKWYVFZ,B079ZZ83VT,B07B12866X,B07YNWHX4L,B079ZW66WF,B07B12866X,B07B12866X,B079ZZ83VT,B07TKWYVFZ,B079ZW66WF,B07YNWHX4L,B07TR4MH9W,B07B12866X,B07TKWYVFZ,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B07YNWHX4L,B079ZZ83VT,B07TR4MH9W,B079ZW66WF,B07TR4MH9W,B07B12866X,B07YNWHX4L,B07B12866X,B07TR4MH9W,B07YNWHX4L,B079ZW66WF,B079ZZ83VT,B07TKWYVFZ,B013QSK2J6,B01ENGPL1E,B07TKWYVFZ,B07TR4MH9W,B07B12866X,B079ZW66WF,B079ZZ83VT,B07YNWHX4L,B01DNUKYXG,B084WQSST5,B084WG1147,B084WJWFGP,B084WM9MN9,B084WYHZ3R,B084VW9HY5,B08GM5B2XK,B08GGB6W92,B08GKZDWTV,B07F8BQDDV,B013QSK2J6,B07F8BQDDV,B08GM5B2XK,B08GGB6W92,B08GKZDWTV,B01DMCV7AY,B01DMEAEEM,B01EN5QHT0,B01DW9OF4W,B07HH71RP7,B07HH8NLWR,B01DNYHR96,B01ENG0WRW,B01ENH498Y,B01LCZXZWQ,B06XJ9FGP8,B01DWAL5KS,B08HVW1L1X,B01DMEAEEM,B01DW9OF4W,B01EN5QHT0,B01DMCV7AY,B01DNYHR96,B07HH71RP7,B01ENH498Y,B01LCZXZWQ,B01DWAL5KS,B06XJ9FGP8,B01ENG0WRW,B09W38ZPQ3,B09W388M6P,B09W39Q7HV,B07YZRS96S,B09W37CSDJ,B09W37RNCX,B08NP7F4BN,B07YZMTBFS,B09W3W547Z,B09W3N1T1H,B096MCPPZV,B09FB4Y1ND,B09FB3XMWW,B09DTG1HVZ,B09F6H2L2L,B0933BQ2H8,B09DTFNB4L,B096XNM3HF,B09DTDL2L4,B09DTF7XZ7,B099SH4HPN,B013QSK1YM,B013QSK2J6,B092VXXD13,B07NXVKXRG,B07NX164SB,B07NWYQ4VV,B084WY1QNP,B07WWW6NMS,B08G563FY1,B07NWYK5K1,B09VXYLTF7,B07NZVJXYW,B07M5M3R5K,B07NWNWTR4,B07YF1D5S3,B07LGCR34Q,B09WB25K4T,B07TKWYVFZ,B07NYS5GRB,B091HHGXYH,B07NX12R6Z,B08WWY2QBD,B07KT93VS1,B07KMCR5Y7,B08P4T7T65,B09WB2GFV1,B09WN3VYTL,B07NX42CY9,B07RMJFRW6,B09WB26SLM,B07VPQLHKF,B084XXJJBZ,B09VXXBC7M,B07NX1BWJG,B08NPHJVM6,B09WB1XNNJ,B099SHVPBM,B08NPP6C55,B083F4GW6K,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8,B07HRZWT8V,B07F8BQDDV,B07F7G3HS4,B07C5QLXG8,B07HRZWT8V,B08HVW1L1X,B081K45S5L,B081K3VLYY,B081K3SX8S,B07C5QLXG8,B07F7G3HS4,B07VLHHXW6,B07KT93CVC,B07NYRBGLH,B07KT9CTVY,B07V6ZMSVP,B07NXTZ769,B08NPNCYZR,B08GKYH3KD,B07KGGL13S,B07NWY6VBQ,B07LGF7Y6L,B07YF1J4JX,B07KJBPJ86,B091HG5KD3,B07RMJNJHX,B07YNWHX4L,B07NZWGJDL,B08WX9CK4G,B07MGJZVG7,B07NYS144R,B083F4YX54,B096KNG5J5,B099FJBVV2,B07NWZ457H,B07Z55VPV7,B09FB4ZBX7,B096KMSL3M,B09BRCW9TX,B07MGK25Y2,B07MMZGM9T,B07PJL9GB4,B07WTWYB3W,B08P4TP13T,B09D1C9C98,B07NWYKN11,B08WR78CM4,B096KLQ1K5,B098PGMPCG,B07KMC17XM,B08T233MHN,B08T7WNWBP,B096MD6LG4,B099FGX4WN,B099SFJVQ8,B07LCRPXN5,B08G56ZHY9,B08NPD387C,B08T1K42PV,B099FJJPR2,B09FB63TR4,B07NWYYGQ1,B07NXTV6SJ,B07NZWY3QQ,B07TXWLK9L,B07VWBM75B,B084Z5ZM66,B08NCQCLNB,B08ND5SNZL,B0933BLQX3,B095KFSYHM,B096KLBPCW,B09793P7ZQ,B099FJZQKD,B09DTC43Q5,B09FB3KXMF,B07LCSB9KX,B07NYSZW2S,B07Z567ZF3,B07Z5796L8,B084Z7K7XF,B08KHCTZLV,B08SXTD8V1,B08T1F5KK3,B08T1YKFYX,B08T5XQNG9,B08T9YSWNF,B08V2ZF3C7,B091HWMQDK,B0933CGFNW,B0933CT15Z,B094RFBH6J,B094RGYML2,B096KLYPPY,B096XN3DHG,B0977GVPF9,B099KNYGTC,B099KRQ8C1,B099L2H4QY,B099SFGPYZ,B09BZMFVPF,B09D1BMB1P,B09DTDPJT3,B09DTFFHCY,B09GKTY5DC,B09VXZB38F,B07MMW29RN,B07NWYKP6Q,B07NWYPKV8,B07NX1CWJ2,B07NZV1RB7,B07G2P31WR,B01LCZXZ58,B01DNYHRM8,B079ZW66WF,B01DNUKYCC,B01DWAL5D0,B07YZRS96S,B01ENG0WTU,B07HH7PL16,B06XJ6M9CD,B01LBDBKZ8,B083QM8YT9,B01DMCV7EU,B01LEV9III,B07Z57TCCQ,B01DO14KEI,B06XJ6791D,B01LBFKGB0,B07LGCD48Y,B01EN5QHQI,B07MMWVG3X,B091HDWFPK,B07LCSBNNR,B01DW9OF4M,B01ENA14FW,B01LBDSRIG,B01N0FAUD3,B01EN4XKH8,B01ENGIKRG,B077YKTFPX,B096KMKFSL,B01DW9YGBE,B01MXT2FVC,B07G4GMK5R,B08WXBPVFP,B01ENGW8HY,B07DPQK8RJ,B01MTNXU97,B091HXYV9Q,B01ENH49AC,B08P2784S4,B096KPLZFQ,B09BRG7LHY,B07G4FJYZJ,B096KKKV97,B096KLVZ9G,B07G3C8N74,B084WY6LK6,B08WRMJQ8R,B093399K4X,B0977GMS9P,B01ELZDN8A,B06XJ8J8XT,B07B51WJBS,B01LBII26I,B07G3DF4YT,B099KRGC64,B09FB4KCXD,B08KWK1R31,B09Q6825DW,B09RTK7821,B07B553PPQ,B07G4C17JT,B07HHCGZZM,B07MMYQQD2,B01LBCLN7O,B01MTOZ16V,B077THKVXL,B09338M3XH,B096MBQ752,B096XL5C4M,B07MGK2BL2,B07Z56Q56P,B084WG3575,B08V5J5SBH,B08WRSXTGM,B0933B2NWJ,B09793MSGF,B098PHCKNH,B099FH9S28,B099FHR6XN,B099SGRD5T,B09DTH5X4D,B09RTHZRS1,B01DWA6Z7G,B01MQKHVOA,B06XHRFHB8,B06XJ9P7PG,B07G4FCXNC,B084WGT21G,B08T7TKK51,B09338J2M2,B0933BQDYB,B09472KW81,B094RK9CY4,B0971FGNGY,B099KRM81J,B09BRCL6RW,B09BRHG2PL,B09BZMKJ8B,B09FB3QHW6,B07TSKTZGJ,B08T1XPSPR,B0933BK3QW,B094RHHFL6,B096KMTGMJ,B096ZYQKPJ,B0971FPDM9,B097HGQCQ3,B09B4C6NGM,B09BRGDSJ7,B09BRW5Y7R,B09DTH97GL,B07LCQBGPR,B07NWXL93C,B08NCQ9RCM,B08T1NLH2M,B08TB18DHK,B08V2ZFTMN,B08WS23KX7,B09339RGMG,B09339S6QW,B094RHDP63,B094RHH3FD,B094RKLTSY,B095KKX7ZS,B098PJC15W,B099FG3HKB,B099FHHJ6R,B099KQ12CP,B099KST9NB,B09BRHFT5Q,B09BRTRRGD,B09DTFXFLM,B09DTGW6Q5,B09DTGXRX3,B09DTH6W6X,B09DTJ3J9Y,B09F6H1G44,B09GH3BWK7,B09GKT849K,B07LGDCXHW,B07NBGK5RN,B084YPJ5PK,B084Z3L9Z7,B08LLFJ6S3,B08NFG9M25,B08T12MPRZ,B08T695MV4,B08WRTWDZD,B08YKHV15G,B092W7HLK9,B0933833QX,B0933B1GF8,B09471X75Z,B094JDGXHS,B095CKTHSV,B098PGFVJ3,B099KLXHT5,B099NGSYWW,B09BRBWN95,B09D15RPZV,B09DTBPWDB,B09DTFK1XH,B09DTHWVTL,B09DTJJ1JX,B09FBTNPS5,B09GGD8ZJM,B09J1H9RJN,B08LLDSBH8,B08NCBMWK8,B08T9Y9D5T,B08T9ZL8SG,B08V5LDP28,B08YK7HCT3,B08Z8KHRYJ,B0915XG8BL,B092VXXD13,B09316Z7YL,B0933BLKBP,B094RJCTW4,B096KN12QY,B096KYSK8V,B096VP8FJH,B097774R43,B099FHPYNX,B099KNSX6H,B099KP3P24,B09B4CKXWL,B09CZFTHTB,B09D14HLDH,B09DTFLB38,B09DTFXZHM,B09DTGMZ1S,B09GGDP7L8,B09GGGBH43,B09GGTSKTW,B09HR37J7K,B09HR3LB4N,B09HR5LQM8,B07B4ZVQFG,B07G4F8YDK,B07GH4Y85K,B084WXMNW5,B08T6MXPDF,B08WR733F5,B092VXPCMM,B0933848FQ,B094JCPBZF,B096KM9Q28,B096KNG1L6,B096L1BX45,B096VQQCNS,B099SG3QMY,B099SHNK1M,B09BRFCJV1,B09D1LQ8M1,B09DTFYMP6,B09DTGG6W8,B09DTHZLBJ,B09FBGP5W2,B09GKTFTP7,B09HR5VFZQ,B09Q3NGZZ9,B09R52ZXRC,B09RTJD375,B06XHTZD8V,B07HHDSW8R,B07YLTGYGW,B083QN46QR,B084VW4STH,B084WP3FZB,B08T7V89DZ,B09167N7D6,B093395XQH,B0933BQTPJ,B0933D1KWT,B094RGBPHF,B094RGGTBJ,B095CL7FXX,B095KKCHRN,B095WVF3PR,B095WVK4J5,B095WVLCVG,B095WVRJFF,B095WW4G5R,B095WWMG6K,B096KLVSQX,B098PHXNY5,B099KNW6B2,B099KPBF2T,B099KRC117,B099KRM2XL,B099KW3VKH,B099KZHBC7,B09B47V8FF,B09B4BFYYX,B09BRBHJC1,B09BRDC4XL,B09BRGP87L,B09BRGZQQT,B09BRHX32J,B09BZL7SGM,B09CZL9PHG,B09D1H4366,B09DTFBTY2,B09DTGPWRG,B09FBRX8MT,B09FBTNPS7,B09GGDNKKC,B09GGFHVJW,B09GGFR5BZ,B09PRM742Y,B09Q3QGF6R,B09RTHY4L6,B09RTJ7FRS,B09RTJ7HQ5,B09SGHKDFB,B01LBII22W,B01MYUIZZU,B01N2I9EPS,B06XJ9CKYK,B07B539TGH,B07G4FD48R,B07HHC5Q34,B07LG57XZN,B07NBV1BVZ,B083QLHYGN,B084WKYT1S,B08THQV2BJ,B08YK9S3JV,B08YKCZSQ5,B08Z8KG8C1,B092W5VZTL,B093152PGV,B094714KW1,B094RG724G,B094RJ422R,B094RJQLM2,B096KMCS84,B09D15GRWB,B09Q3PLD7F,B09RTJ4RQM,B07B53HYN8,B083QN6SGX,B084VW1TRB,B08V5NK3HQ,B095WSF7KD,B09GGDQTJX,B09R53FP21,B083QMH6XQ,B09165J7SK,B095WTNF6Z,B095WTWDBN,B095WW8VMW,B09HR3L5BB,B09PVNLYLK,B09RTJG6MW,B09HR5G7BC,B09R7WN1XW,B09SGJDJ4F,B06XJ9DPL3,B08YKLS37G,B099FJG3YN,B09J1DXW7J,B09RTJ9WMN,B08Z8KVPGV,B095WVSN72,B09B4BQL1D,B09DTDRK61,B09GGBRQTC,B09R4S3421,B09R83FT4Y,B09RTK9TDF,B09RTKJ1HB,B09SJ1S95Y,B08THPTQD5,B095WTS8JT,B099KRQRSJ,B09HR2SYN9,B09HR555PR,B09R7V9W26,B09VCHSQ5D,B09R4JGD98,B09RBBVQ28,B09SGMRGBM,B09RBC3TF5,B09RTKNFXY,B09DTGFJCT,B09DTGH97G,B09DTGND3H,B09DTGNL4Y,B09DTH1BQQ,B09DTHD16B,B09DTHKVXF,B09DTHT9NT,B09F9ZK2YN,B09FB1QD1C,B09FB4D683,B09FB4RXHF,B09GGCK5HZ,B09GGDK5CQ,B09GGFMDNK,B09GGFQS7T,B09GGFTKJ2,B09HR45C32,B09HR5C8Z5,B09HR5JKXN,B09HR66P3F,B09J1FRFFG,B09PRMGF8M,B09PVNVW3N,B09PVPZRP8,B09Q3P7CTT,B09Q3QH23Z,B09Q685MMZ,B09R51VR66,B09R7XM1WP,B09R84PLX7,B09RTHFST5,B09RTJ59GY,B09RTKH17J,B09RTKXRJW,B09D1K25GX,B09DTGKMT5,B09DTH5J9C,B09F6GKFW8,B09GKS79RM,B09R7V2K4D,B09VCHMX3X,B01LBC33RW,B01N9CEPFL,B06XJBBBRJ,B07G4D8DY9,B07G4FPZW9,B07HH71VB9,B07LGDN557,B07M5M1RX5,B07NBG8G2M,B07PDN989V,B07ZTKQM5C,B083QLT352,B083QM1YX6,B08T5M7VWF,B08YK8TQZF,B09315BVK6,B09339SPMT,B0933B77MK,B0933C8VH1,B094RJM49N,B095KJDYF7,B095WWLPK9,B096KKT96J,B096L1MM92,B097HHW837,B099KSPNYN,B099KW2SCK,B099SH5PD4,B09B496K16,B09B4CM3YG,B09BRGHBRN,B09BRGW8SR,B09D1H9LTC,B09DTFNHXB,B09DTGG7L8,B09DTGGBTY,B09FBQBHTH,B09FBRX3Q9,B09GKVJJWW,B09PRNH5KZ,B09R4LP593,B09RTHT8D9,B09RTJ14FH,B09RTJ2P8D,B09RTKNCZQ,B09SGHDXFK,B09SGJY7QK,B01MRS9ODR,B01N658UVB,B06XJ6M7YR,B07B51FJXQ,B07G4FN2W5,B07HHBJ6KW,B07LCQMTBT,B083QM8KFG,B084WL8J41,B084X6SRVT,B08WRDNH8F,B08YKJD97G,B08Z8K9HPK,B09167ZD3R,B092VZ6P6R,B092W84R6Q,B09338SZKG,B094JDFNH9,B094RFBH6L,B094RGY8H7,B094RJWN53,B095CMTBWC,B095WT846Y,B095WTW19R,B095WW1XJ1,B095WW4Y1V,B095WX79DT,B096KM91KB,B096KPWK9P,B096KQ631R,B096VT9FSF,B0971F3H69,B0977612HZ,B099FDWRT5,B099FGXX5G,B099FJ8VNL,B099KR2ZVD,B099KSZJ83,B099L2JJYY,B099NFS2V8,B099SGT985,B09BRD9JKY,B09BRGZF4J,B09D14GXVS,B09DTF774V,B09DTFGKSK,B099KPMN5S,B09BRHM9JC,B09471CW9Y,B01N64YHYO,B06XJ29D92,B0971F6SLY,B09DTH56SY,B094RGFWPX,B09FB4KTH8,B07G4BW855,B08KWK4N4S,B09792MPKT,B06XJ8RZNS,B07PFL65Y2,B093391MQC,B093392TBN,B09BRFZ85F,B09GKTN3TH,B09Q67QH9H,B09DTG9X4B,B09FB6HTWB,B01MQQVSGD,B099KT6S9B,B09B4BCWD5,B09BRDQFTV,B0933B9379,B09DTDBTGV,B07ZTKYPFR,B092W6BN8L,B09316ZH2S,B07Z56SCCF,B08WRQLM3P,B094JBY29B,B099KSYTK3,B09BRCSRFS,B09DTH729B,B07LCQ6BJ9,B094RHDFF2,B09RTJCVCW,B07LCRMFLF,B09CZWC7X9,B01LBC32UK,B09F6H2L2L,B07HH8QLLN,B09DTGXNZX,B08WRL5GGX,B092VYJ4PH,B09DTG1HVZ,B09Q3NK2FR,B01N2OPIV8,B06XHR7CD2,B08T5PF1CR,B096VPDC8X,B09DTHLJ4X,B09DTJTT4P,B099KPRYR8,B09DTDL2L4,B01DWA6Z94,B07HHBMC8L,B096L26P85,B09GGFC77S,B09PRLPHYQ,B09PVMPTBZ,B07G3F77PR,B09DTF7XZ7,B07Z43C4M1,B084VW8587,B094RK6NCC,B09RTHSWQ6,B099KP6DMM,B09Q68DY8Y,B083F3NQNJ,B08YKC46W2,B09339WVMK,B096KMJR8G,B09DTFYJQZ,B07LGDR6X3,B09BRFX5W7,B084X1BF37,B096ZXP6LQ,B09775JZLF,B09CZHX1F1,B09DTHG57J,B09DTHP2JP,B09GGCGFHY,B09PNX7SK9,B01MTOYCWV,B07HH7NFKS,B094RGD9ZF,B09DTGVN8C,B07B4ZPFTN,B09GGV8DWW,B09PRN3DTZ,B07YLTGJ93,B094RK4399,B09Q3N9W6L,B09RTJCXH2,B09SGJF88Q,B084WLXZHT,B098PGR818,B09HR6RT7V,B07G2PVFXH,B01DNUKYXG,B01ENGPL1E,B01LEV9I8I,B01LCZY0WU,B07LGD48WL,B01DMCV7RW,B01DW9OF5Q,B01DWAL4JA,B01LBDBKVM,B01ENG0WTA,B07B12866X,B07HH8B1DZ,B07G3B834X,B07DPPG9FZ,B01DNYHTLM,B08WWYFN7Z,B083QM754H,B07MMWQHLY,B01DMEADXO,B096KLW6C9,B09BRC9GQH,B01ENH49DY,B096KLSSCH,B07GH4J9VP,B07G3FB3YJ,B01ENA14IY,B099FH3X9R,B08P4TDCPS,B01DO14KNE,B01LBDSRGI,B07M5M3Y29,B07G4FHL4B,B096XNM3HF,B01N648QMG,B01ELZDNAS,B06XJ68N37,B091HX8TSM,B099FF91GL,B07Z43TW87,B07HH66Y84,B01EN4XK7S,B096KMY9KF,B07Z57ZYZW,B09FB3XMWW,B08124F7HC,B01DW9YG5A,B091HGYJTC,B096MCPPZV,B08WS39V2J,B098PGPZG7,B09D1FHXRJ,B084WZM869,B01EN5QHNQ,B09FB4Y1ND,B01MXT2BW0,B09FB3ZGP7,B07MCYC4LK,B083QM2RJV,B099KTD8Q5,B01LBFKGBA,B095KJND4T,B0977GC2KQ,B07YZRKYDJ,B096KLSCKP,B099FG7FYV,B096KP2WRC,B09FB4XWMD,B01LBII24K,B081HBBJ1W,B099FG883T,B0933BXSGB,B01N42CU8D,B09DTDNK7C,B09BZN198H,B09RTHSQ68,B09339KR1K,B01ENGIKXU,B099SHF8GZ,B084WPH23J,B096KNYJMY,B099SGH19Y,B099SH4HPN,B09GKRSDTM,B07B51ZVCK,B0933CDTR4',
adGroupIdFilter_include => NULL
)
) AS x
v3_Products_ThemeBasedBidRecommendation
This API is currently available in US, UK, DE, CA, JP, IN, ES, and FR. The API supports keyword and auto targets only. The API will return a 422 response when an unsupported marketplace or target is provided
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<targetingExpressions> (required): The list of targeting expressions in form of CSV formatted as type1,value1|type2,value2|type3,value3|...
<recommendationType> (required): The bid recommendation type
<campaignId> (optional): CSV of the campaign identifiers
<adGroupId> (optional): CSV of the ad group identifiers
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
campaignId | long | The identifier of the campaign to which the keyword is associated |
adGroupId | long | The identifier of the keyword |
theme | string | A list of bid recommendation themes and associated bid recommendations |
part | string | Part of the report |
part1 | string | Next level of part of the report |
lower | integer | A list of bid recommendation themes and associated bid recommendations. For the CONVERSION_OPPORTUNITIES theme, the impact metrics are weekly clicks and orders received for similar products. The impact metrics are given in the same order of suggested bids. Describes lower and upper bounds of the range |
upper | integer | A list of bid recommendation themes and associated bid recommendations. For the CONVERSION_OPPORTUNITIES theme, the impact metrics are weekly clicks and orders received for similar products. The impact metrics are given in the same order of suggested bids. Describes lower and upper bounds of the range |
bidValues_suggestedBid | bigdecimal | A list of bid recommendation themes and associated bid recommendations. The bid recommendations for targeting expressions listed in the request. The suggested bid |
targetingExpression_type | string | A list of bid recommendation themes and associated bid recommendations. The bid recommendations for targeting expressions listed in the request. The targeting expression. The 'type' property specifies the targeting option. Use 'CLOSE_MATCH' to match your auto targeting ads closely to the specified value. Use 'LOOSE_MATCH' to match your auto targeting ads broadly to the specified value. Use 'SUBSTITUTES' to display your auto targeting ads along with substitutable products. Use 'COMPLEMENTS' to display your auto targeting ads along with affiliated products. Use 'KEYWORD_BROAD_MATCH' to broadly match your keyword targeting ads with search queries. Use 'KEYWORD_EXACT_MATCH' to exactly match your keyword targeting ads with search queries. Use 'KEYWORD_PHRASE_MATCH' to match your keyword targeting ads with search phrases (CLOSE_MATCH, LOOSE_MATCH, SUBSTITUTES, COMPLEMENTS, KEYWORD_BROAD_MATCH, KEYWORD_EXACT_MATCH, KEYWORD_PHRASE_MATCH) |
targetingExpression_value | string | A list of bid recommendation themes and associated bid recommendations. The bid recommendations for targeting expressions listed in the request. The targeting expression value |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_ThemeBasedBidRecommendation AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_ThemeBasedBidRecommendation (
campaignId => '279475520664366',
adGroupId => '108904307944971'
)
) AS x
v3_Products_ThemeBasedBidRecommendationByAsins
This API is currently available in US, UK, DE, CA, JP, IN, ES, and FR. The API supports keyword and auto targets only. The API will return a 422 response when an unsupported marketplace or target is provided
Parameter
<profileId> (optional): Return results for one or more profiles mentioned in CSV list of profile Ids
<accountId> (optional): Return results for one or more profiles for the mentioned in CSV list of account Ids
<targetingExpressions> (required): The list of targeting expressions in form of CSV formatted as type1,value1|type2,value2|type3,value3|...
<recommendationType> (required): The bid recommendation type
<asins> (required): CSV list of ad ASINs in the ad group
<adjustments_placement_top_percentage> (optional): Placement adjustment configuration for the campaign. Specifies bid adjustments based on the placement location. Use 'PLACEMENT_TOP' for the top of the search page
<adjustments_placement_product_page_percentage> (optional): Placement adjustment configuration for the campaign. Specifies bid adjustments based on the placement location. Use 'PLACEMENT_PRODUCT_PAGE' for a product page
<strategy> (optional): The bidding strategy selected for the campaign. Use 'LEGACY_FOR_SALES' to lower your bid in real time when your ad may be less likely to convert to a sale (LEGACY_FOR_SALES, AUTO_FOR_SALES, MANUAL, RULE_BASED)
<preview> (optional): Preview only, don't write into table
<target_table> (optional): Table name to save the data to
<maintain_history> (optional): Do not delete earlier data
<label> (optional): Multi-tenancy label
Attribute | Type | Description |
---|---|---|
profileId | long | Profile ID |
theme | string | A list of bid recommendation themes and associated bid recommendations |
part | string | Part of the report |
part1 | string | Next level of part of the report |
lower | integer | A list of bid recommendation themes and associated bid recommendations. For the CONVERSION_OPPORTUNITIES theme, the impact metrics are weekly clicks and orders received for similar products. The impact metrics are given in the same order of suggested bids. Describes lower and upper bounds of the range |
upper | integer | A list of bid recommendation themes and associated bid recommendations. For the CONVERSION_OPPORTUNITIES theme, the impact metrics are weekly clicks and orders received for similar products. The impact metrics are given in the same order of suggested bids. Describes lower and upper bounds of the range |
bidValues_suggestedBid | bigdecimal | A list of bid recommendation themes and associated bid recommendations. The bid recommendations for targeting expressions listed in the request. The suggested bid |
targetingExpression_type | string | A list of bid recommendation themes and associated bid recommendations. The bid recommendations for targeting expressions listed in the request. The targeting expression. The 'type' property specifies the targeting option. Use 'CLOSE_MATCH' to match your auto targeting ads closely to the specified value. Use 'LOOSE_MATCH' to match your auto targeting ads broadly to the specified value. Use 'SUBSTITUTES' to display your auto targeting ads along with substitutable products. Use 'COMPLEMENTS' to display your auto targeting ads along with affiliated products. Use 'KEYWORD_BROAD_MATCH' to broadly match your keyword targeting ads with search queries. Use 'KEYWORD_EXACT_MATCH' to exactly match your keyword targeting ads with search queries. Use 'KEYWORD_PHRASE_MATCH' to match your keyword targeting ads with search phrases (CLOSE_MATCH, LOOSE_MATCH, SUBSTITUTES, COMPLEMENTS, KEYWORD_BROAD_MATCH, KEYWORD_EXACT_MATCH, KEYWORD_PHRASE_MATCH) |
targetingExpression_value | string | A list of bid recommendation themes and associated bid recommendations. The bid recommendations for targeting expressions listed in the request. The targeting expression value |
Example
CREATE VIEW amazon_ads_examples.example_v3_Products_ThemeBasedBidRecommendationByAsins AS
SELECT *
FROM (
CALL amazon_ads.v3_Products_ThemeBasedBidRecommendationByAsins (
strategy => 'AUTO_FOR_SALES',
recommendationType => 'BIDS_FOR_NEW_AD_GROUP',
asins => 'B09ZH7R4CN',
adjustments_placement_top_percentage => 100,
adjustments_placement_product_page_percentage => 50
)
) AS x