Appearance
Target settings: nova_share.advertising_target_settings
One row per keyword or product target of your account with its settings today, traffic or not.
At a glance
| One row | seller × marketplace × ad_product × target_kind × target, current state |
| Holds | every target, with its campaign and ad group, its state, its bid and the bid in force. A live keyword that never serves is a row |
| Not here | the traffic of a target: advertising (SP) and advertising_targets (SB, SD). What you block: advertising_negative_targets. The campaign's settings: advertising_campaign_settings |
| Per ad product | Sponsored Products and Sponsored Display: every enabled or paused target, with every setting. Sponsored Brands and SB video: every target. A keyword carries its state and bid, a product target neither |
| History | none: the current state. settings_as_of is the day of the latest read that carried the row |
| Refresh | hourly. The Sponsored Products and Sponsored Display settings change once a day, with Amazon's lists |
| Moves | a target leaves the table when Amazon stops listing it: an archived SP or SD target, an SB target absent for 30 days. A re-bid or paused target reads its new setting |
| Sign | bids in the marketplace's currency (marketplace_currency), never converted |
| Sync key | seller_partner_id, marketplace_id, ad_product, target_kind, target_id |
Sponsored Brands and SB video are one id space
A Sponsored Brands campaign can read sponsored_brands here and sponsored_brands_video on another table. Join the two together: ad_product IN ('sponsored_brands', 'sponsored_brands_video') on both sides, then target_kind and the target's id.
Columns
The target
| Column | Meaning |
|---|---|
seller_partner_id, seller_name, org_key | Your account. |
marketplace_id, marketplace_name, stock_region | The marketplace of the ads profile. |
ad_product | sponsored_products, sponsored_brands, sponsored_brands_video or sponsored_display. |
campaign_id, campaign_name | The target's campaign (BIGINT) and its name today. The name is NULL when no campaign read carries it. |
ad_group_id, ad_group_name | The target's ad group (BIGINT) and its name today. |
target_id, target_kind | The key with ad_product: the target's id (BIGINT) and keyword or product_target. target_id is advertising.keyword_id and advertising_targets.target_id. |
settings_as_of | The day of the latest read that carried the row. On SP and SD, the day of the account's latest list: an old day means stale settings. |
channel | SELLER or VENDOR: the Vendor Central targets are rows too, on their own account. |
What it targets
| Column | Meaning |
|---|---|
keyword_text, match_type | A keyword's text, and EXACT, PHRASE or BROAD. THEME on an SB theme target. NULL on a product target. |
target_expression_type | Product targets only. SP: MANUAL or AUTO. SB: TARGETING_EXPRESSION. SD: PRODUCT, PRODUCT_CATEGORY, PRODUCT_AUDIENCE, AUDIENCE or THEME, Amazon's own type. |
target_expression | Product targets only. SP and SD: Amazon's expression, in JSON. SB: the report's text, like asin="B0XXXXXXXX" or category="...". |
The state and the bids
| Column | Meaning |
|---|---|
target_state | ENABLED or PAUSED on SP and SD. ARCHIVED or DELETED too on SB keywords. NULL on an SB product target. |
target_serving_status | Amazon's reason the target serves or not. SP: TARGETING_CLAUSE_STATUS_LIVE, TARGETING_CLAUSE_PAUSED, AD_GROUP_PAUSED, CAMPAIGN_OUT_OF_BUDGET... It inherits the blocker above it: see advertising. SD: DELIVERING or NOT_DELIVERING. NULL on SB. |
target_bid | The bid set on the target. NULL on an SP or SD target that sets none and inherits its ad group's. NULL on SB product targets. |
ad_group_default_bid | The ad group's default bid. SP and SD. |
target_effective_bid | The bid in force: target_bid, or the ad group's default when the target sets none. Never NULL on SP and SD. Equal to target_bid on SB keywords. |
marketplace_currency | The currency of the three bids. |
Read it
sql
-- The enabled Sponsored Products targets with no impression in 14 days, and what they bid
SELECT s.campaign_name, s.ad_group_name, s.target_kind, s.keyword_text, s.match_type,
s.target_effective_bid, s.marketplace_currency, s.target_serving_status
FROM nova_share.advertising_target_settings s
LEFT JOIN (SELECT keyword_id, target_kind, SUM(impressions) AS impressions
FROM nova_share.advertising
WHERE seller_partner_id = 'A1XXXXXXXXXXXX' AND ad_product = 'sponsored_products'
AND metric_date >= CURDATE() - INTERVAL 14 DAY
GROUP BY keyword_id, target_kind) a
ON a.keyword_id = s.target_id AND a.target_kind = s.target_kind
WHERE s.seller_partner_id = 'A1XXXXXXXXXXXX' AND s.ad_product = 'sponsored_products'
AND s.target_state = 'ENABLED' AND s.settings_as_of >= CURDATE() - INTERVAL 2 DAY
AND COALESCE(a.impressions, 0) = 0
ORDER BY s.target_effective_bid DESC;sql
-- One campaign's keywords and product targets, with the bid each one bids today
SELECT ad_group_name, target_kind, keyword_text, match_type, target_expression,
target_state, target_bid, ad_group_default_bid, target_effective_bid
FROM nova_share.advertising_target_settings
WHERE seller_partner_id = 'A1XXXXXXXXXXXX' AND ad_product = 'sponsored_products'
AND campaign_id = 123456789012345
ORDER BY ad_group_name, target_kind, keyword_text;sql
-- The enabled Sponsored Products targets by serving status: what Amazon says blocks them
SELECT target_serving_status, COUNT(*) AS targets
FROM nova_share.advertising_target_settings
WHERE seller_partner_id = 'A1XXXXXXXXXXXX' AND ad_product = 'sponsored_products'
AND target_state = 'ENABLED' AND settings_as_of >= CURDATE() - INTERVAL 2 DAY
GROUP BY target_serving_status ORDER BY targets DESC;sql
-- The Sponsored Display targets that serve today, and what they bid
SELECT campaign_name, ad_group_name, target_expression_type, target_expression,
target_bid, ad_group_default_bid, target_effective_bid, marketplace_currency
FROM nova_share.advertising_target_settings
WHERE seller_partner_id = 'A1XXXXXXXXXXXX' AND ad_product = 'sponsored_display'
AND target_serving_status = 'DELIVERING' AND settings_as_of >= CURDATE() - INTERVAL 2 DAY
ORDER BY target_effective_bid DESC;Sync
- Pull the whole table and replace it: one row per target, current state.
dataset_freshness: theadvertising_target_settingsrow,daily.
Related
advertising: what each Sponsored Products target cost and returned, day by day.advertising_targets: the same for Sponsored Brands, SB video and Sponsored Display.advertising_campaign_settings: every campaign's settings today.advertising_negative_targets: what your account blocks.- How the tables join.