Appearance
Campaign settings: nova_share.advertising_campaign_settings
One row per campaign of your account with its settings today, paused and archived campaigns included.
At a glance
| One row | seller × marketplace × ad_product × campaign, current state |
| Holds | every campaign Amazon's snapshot or reports ever listed. The status, the targeting type, the bidding strategy, the four placement adjustments, the budget and its type, the dates. The portfolio, with its name, state and cap |
| Not here | the spend: advertising_campaigns. A target's bids: advertising_target_settings. The budget consumed: advertising_budget_usage |
| Per ad product | Sponsored Products: every setting, settings_source = 'snapshot'. Sponsored Brands: the name, the status and the budget; the rest NULL. Full-Funnel: the name, the status and the budget, from Amazon's weekly Full-Funnel report; the rest NULL. A new Full-Funnel campaign has no row until that report names it, every Monday. Sponsored Display: the name only; campaign_status reads ''. An SP campaign the snapshot no longer lists: every setting NULL, settings_source = 'report' |
| History | none: the current state. A renamed campaign reads under its new name; a campaign moved to another portfolio under the new one. settings_as_of is the day of the latest read that carried the row |
| Refresh | hourly. The Sponsored Products settings change once a day, with Amazon's snapshot |
| Sign | budgets in the marketplace's currency (marketplace_currency, portfolio_budget_currency), never converted |
| Sync key | ad_product, campaign_id |
Columns
The campaign
| 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, campaign_id | The key: sponsored_products, sponsored_brands, sponsored_brands_video, sponsored_display or full_funnel, and the campaign id (BIGINT) of every advertising table. |
campaign_name, campaign_status | The name, and ENABLED, PAUSED or ARCHIVED today. '' when no source carries the status (SD). |
campaign_serving_status | Amazon's serving status: CAMPAIGN_STATUS_ENABLED, CAMPAIGN_OUT_OF_BUDGET, PORTFOLIO_OUT_OF_BUDGET... SP only. |
settings_as_of, settings_source | The day of the latest read that carried the row. snapshot (SP, every setting) or report (SB, SD, Full-Funnel, or an SP campaign the snapshot no longer lists). |
channel | SELLER or VENDOR: the Vendor Central campaigns are rows too, on their own account. |
The settings
| Column | Meaning |
|---|---|
campaign_targeting_type, campaign_bidding_strategy | AUTO or MANUAL, and the bidding strategy. SP only. |
campaign_placement_top_pct, campaign_placement_product_page_pct, campaign_placement_rest_of_search_pct, campaign_placement_amazon_business_pct | The four placement bid adjustments, in percent. SP only. |
campaign_premium_bid_adjustment | 1 when the legacy "bid+" adjustment is on. SP only. |
campaign_budget_amount, campaign_budget_type, marketplace_currency | The budget and its type: DAILY on SP, daily or lifetime on SB, DAILY_BUDGET on Full-Funnel. In the marketplace's currency. NULL on SD. |
campaign_start_date, campaign_end_date | The campaign's dates. campaign_end_date is NULL when open-ended. SP only. |
The portfolio
| Column | Meaning |
|---|---|
portfolio_id, portfolio_name, portfolio_state | The portfolio today, its name and its state. SP, from the snapshot. |
portfolio_budget_policy, portfolio_budget_amount, portfolio_budget_currency, portfolio_in_budget | The portfolio's cap, read together. A NULL amount next to a policy means no cap. portfolio_in_budget = 0 means the cap is exhausted. Marketplace currency. |
Read it
sql
-- The paused Sponsored Products campaigns, with their budget and strategy
SELECT campaign_id, campaign_name, campaign_budget_amount, marketplace_currency,
campaign_bidding_strategy, campaign_placement_top_pct, portfolio_name, settings_as_of
FROM nova_share.advertising_campaign_settings
WHERE seller_partner_id = 'A1XXXXXXXXXXXX' AND ad_product = 'sponsored_products'
AND campaign_status = 'PAUSED'
ORDER BY campaign_budget_amount DESC;sql
-- Settings next to the last 7 days of spend
SELECT s.campaign_id, s.campaign_name, s.campaign_status, s.campaign_bidding_strategy,
ROUND(SUM(c.spend), 2) AS spend_7d
FROM nova_share.advertising_campaign_settings s
LEFT JOIN nova_share.advertising_campaigns c
ON c.seller_partner_id = s.seller_partner_id AND c.ad_product = s.ad_product
AND c.campaign_id = s.campaign_id AND c.metric_date >= CURDATE() - INTERVAL 7 DAY
WHERE s.seller_partner_id = 'A1XXXXXXXXXXXX' AND s.ad_product = 'sponsored_products'
GROUP BY s.campaign_id, s.campaign_name, s.campaign_status, s.campaign_bidding_strategy
ORDER BY spend_7d DESC;Sync
- Pull the whole table and replace it: one row per campaign, current state.
dataset_freshness: theadvertising_campaign_settingsrow,daily.
Related
advertising_campaigns: what each campaign cost and returned, day by day.advertising_budget_usage: how much of the budget each campaign consumed, hour by hour.advertising_target_settings: every target's state and bids today.advertising: the settings that ride on the spend rows.