Skip to content

Hourly spend, live: nova_share.advertising_hourly ​

One row per hour of your Sponsored Products, Display, Brands and Full-Funnel campaigns, as Amazon's advertising stream pushes it.

At a glance ​

One rowseller × marketplace × ad_product × campaign × ad group × ad × child ASIN × SKU × day × hour
Holdsthe hour's impressions, clicks and spend, and the conversions attributed to it. Every day since the stream started, and the current hour as far as Amazon pushed it. Accounts whose advertising stream is subscribed; the other accounts read an empty table
Not herethe days before the stream, and the long history: advertising_campaigns. Keywords, placements and search terms: advertising
History2026-10-21 on Sponsored Products and Sponsored Display, 2026-10-28 on Sponsored Brands, 2026-11-11 on Full-Funnel. Amazon keeps no older hourly data. The history grows by a day every day
Refreshevery 15 minutes, in one table. An hour Amazon restates replaces its row in place
Movesthe last ~7 days. Amazon attributes conversions for 7 days (SP) and 14 days (SD) after the click or view, and re-emits the hour. orders, units and sales grow for days; spend settles within hours. refreshed_at says when a row last changed
Same money asadvertising_campaigns, per campaign-day, within Amazon's own noise between its stream and its reports. Never add this table to the daily ones
Signspend, sales and counts positive, in currency
Sync keyseller_partner_id, marketplace_id, ad_product, campaign_id, ad_group_id, ad_id, child_asin, sku, metric_date, hour

Columns ​

The account and the hour ​

ColumnMeaning
seller_partner_id, seller_name, org_keyYour account.
marketplace_id, marketplace_name, stock_regionThe marketplace of the ads profile.
metric_date, hour, time_zoneThe reporting day and its hour, 0 to 23, in the profile's time zone. The same day advertising uses: a US account's day runs until 09:00 UTC the next morning. The current hour is partial. On a full_funnel row, time_zone is the zone Amazon stamped on the row's figures.
refreshed_atWhen the row last changed (UTC). The column to pull on.
channelSELLER on every row.

The ad and the product ​

ColumnMeaning
ad_productsponsored_products, sponsored_display, sponsored_brands or full_funnel.
campaign_id, ad_group_id, ad_idThe ad structure (BIGINT). Join the other advertising tables on campaign_id with ad_product: SP, SB and SD ids live in different id spaces. A Full-Funnel campaign has no ad group and no ad: ad_group_id and ad_id are NULL on its rows.
child_asin, skuThe advertised product, exact: the one Amazon reported the hour on. NULL when the stream carries none. On full_funnel, NULL marks the spend Amazon puts on no product: streaming video, and some placements on Amazon.

The money ​

ColumnMeaning
currency, marketplace_currency, exchange_rateYour primary currency, the unit of spend, sales and sales_from_clicks. The currency Amazon reported in. The day's rate between the two.
impressions, clicks, spendThe hour's impressions, clicks and spend.
orders, units, salesThe conversions attributed to the hour of the click or view: 7-day on SP, 14-day views and clicks on SD. On Full-Funnel, both views and clicks. They move for days.
orders_from_clicks, units_from_clicks, sales_from_clicksThe click-attributed part of the three. Equal to the total on SP; views excluded on SD and Full-Funnel.

Read it ​

sql
-- Today's spend and sales by hour, every ad product
SELECT hour, ROUND(SUM(spend), 2) AS spend, SUM(clicks) AS clicks, ROUND(SUM(sales), 2) AS sales
FROM nova_share.advertising_hourly
WHERE seller_partner_id = 'A1XXXXXXXXXXXX' AND metric_date = CURDATE()
GROUP BY hour ORDER BY hour;
sql
-- The last 30 days by campaign and day
SELECT metric_date, campaign_id, ROUND(SUM(spend), 2) AS spend, ROUND(SUM(sales), 2) AS sales
FROM nova_share.advertising_hourly
WHERE seller_partner_id = 'A1XXXXXXXXXXXX' AND metric_date >= CURDATE() - INTERVAL 30 DAY
GROUP BY metric_date, campaign_id ORDER BY metric_date, spend DESC;
sql
-- Only the rows that changed since your last read, with an hour of overlap
SELECT *
FROM nova_share.advertising_hourly
WHERE seller_partner_id = 'A1XXXXXXXXXXXX' AND refreshed_at > '2026-11-05 09:00:00' - INTERVAL 1 HOUR;

Sync ​

  • Pull on refreshed_at, not on the day: WHERE refreshed_at > <your last read> - INTERVAL 1 HOUR. A restated hour of an earlier day comes with it; a pull on metric_date alone misses it.
  • Upsert on the ten columns of the sync key, a NULL matching a NULL. A row you already hold comes back with a newer refreshed_at.
  • dataset_freshness: the advertising_hourly row, every_15_minutes. updated_through is the start of the latest fold the copy holds; updated_at the minute the table last changed.