Amazon Marketing Stream is the push-based feed of the Amazon Ads API: you subscribe once per dataset and advertiser account, and Amazon delivers hourly performance data into your own AWS account. Instead of calling the reporting API and waiting for a daily file, you receive updated hourly totals, which is what makes dayparting, intraday budget alerts and near real-time dashboards on Amazon Ads possible.
It is also in the middle of a version change. Amazon now describes Marketing Stream version 2 as its primary programmatic reporting surface, and states that version 1 will be shut off on June 30, 2027. This guide covers both, with the emphasis on what to build now, ahead of peak season.
What Amazon Marketing Stream sends: the datasets
Version 2: consolidated reporting datasets
Stream v2 replaces the per-product datasets with consolidated ones that follow the naming of Amazon's new reporting API:
ads-performance-v1(hourly grain): traffic, engagement, cost and attributed conversions across Sponsored Products, Sponsored Brands, Sponsored Display, Sponsored TV and Amazon DSP in one schema. Dimensions include advertiser account, ad product, campaign, ad group, ad, advertised product, placement classification, target ID, search term, date, hour and time zone. Metrics includemetric.impressions,metric.clicks,metric.totalCost,metric.sales,metric.purchasesandmetric.unitsSold.ads-converted-product-v1(daily grain): conversions by the product that was actually purchased.
Ratios such as ROAS, ACoS or CTR are not delivered. You compute them after aggregating, which is the right way to do it anyway.
Version 1: hourly deltas and messages
Stream v1 datasets are split by ad product and type: sp-traffic and sp-conversion, the Sponsored Display and Sponsored Brands equivalents, DSP traffic and conversion datasets, plus messaging datasets such as budget-usage (a notification whenever budget consumption changes by 5% or more), campaign management changes and recommendations. If you rely on the messaging datasets, check Amazon's current migration guide for what replaces each one, because the v2 dataset list is still growing.
How delivery works: subscriptions and AWS destinations
Stream v2
You create a destination (an S3 bucket plus an SQS queue in the same AWS Region), grant Amazon's service access through the bucket and queue policies, then create one subscription per dataset per advertiser account with POST /adsApi/v1/create/streamSubscriptions. Amazon then writes Apache Parquet files to the bucket and sends SQS notifications that list exactly which files belong to each delivery.
Details worth knowing before you start:
- Regions are fixed per geo. North America delivers to
us-east-1; Europe toeu-west-1,eu-west-2oreu-south-2; Far East tous-west-2orap-southeast-1. Call the API endpoint that matches your destination's geo. - One account per subscription. Manager accounts are not accepted; subscribe each advertiser account individually.
- Up to five destinations per application. One shared destination for all datasets is the recommended pattern.
- Silent failure mode. Amazon only checks that the destination is reachable when you subscribe. A missing
s3:PutObjectpermission leaves the subscriptionACTIVEwith no data and no error, so test delivery end to end. SUSPENDEDis terminal. If the bucket or queue policy breaks, fix it, delete the subscription and create a new one.
When a subscription is created, Stream v2 backfills the dataset's restatement period (70 days for ads-performance-v1) within about a day, then delivers updates as often as every 15 minutes.
Stream v1
Version 1 delivers JSON messages to an SQS queue or an Amazon Data Firehose stream, with a subscription that must be confirmed in SQS before data flows. Firehose can forward to S3, Redshift or Snowflake. FIFO queues are not supported.
Amazon Marketing Stream API vs v3 reports: when each is right
Amazon's own guidance is now clear: use Stream for automated, recurring and large-scale data acquisition, and the reporting API for ad hoc or scheduled stakeholder reports. The new reporting API allows as little as one concurrent report (Amazon's limits page applies it per client ID), roughly 100 reports a day, which does not stretch far at agency scale.
Our practical split:
- Use Stream for hourly performance, intraday automation, Amazon Ads dashboards that update through the day, and any account count where report throttling hurts.
- Use reports for search term analysis, purchased product detail and anything Stream does not cover yet, and for one-off backfills beyond Stream's history.
- Use both during migration. Run Stream next to your existing Amazon Ads API reporting pipeline and reconcile before switching any dashboard over.
Deduplication, late updates and reconciliation to daily reports
This is where most Stream integrations go wrong, and the rules differ by version.
Version 2: total values and versions
Each v2 record carries the total value for its key and time window, not a change. Records are keyed by all of their dimension fields, and each carries streamBatch.version, an increasing number. Delivery is at least once and not ordered, so:
- Upsert every record on its full dimension key and keep the highest version. Never deduplicate by file name or delivery ID.
- Read
streamBatch.versionas a 64-bit integer or string; it can exceed floating-point precision. - A record with every metric null is a delete. A null metric is not a zero.
- Low-volume values of thresholded dimensions, including search terms, are grouped into an
(Other)row, so sum to totals from the full dataset rather than from named rows.
An example of resolving the current state in Athena or any SQL engine:
-- Example only: latest version of each hourly record in a staging layer.
-- Column names depend on how the Parquet files were registered in your catalog.
SELECT *
FROM (
SELECT r.*,
ROW_NUMBER() OVER (
PARTITION BY advertiser_account_id, ad_product, campaign_id, ad_group_id,
ad_id, advertised_product_id, placement_classification,
target_id, report_date, report_hour
ORDER BY stream_batch_version DESC
) AS rn
FROM stream_ads_performance_raw r
)
WHERE rn = 1
AND NOT (impressions IS NULL AND clicks IS NULL AND total_cost IS NULL);
Use the full key from the dataset schema in production; the list above is shortened for readability.
Version 1: deltas and idempotency IDs
Version 1 messages carry deltas per hour, and the same message can arrive more than once. Deduplicate on the message's idempotency ID, then sum deltas per key and hour. Missing one message means a permanently wrong total, which is the main reason v2 moved to total values.
Reconciling to daily
Hourly data is dated in the advertiser's reporting time zone (the timeZone.value field), and conversions keep updating for weeks as attribution matures. Reconcile by summing hours to days per campaign in that time zone and comparing with daily report totals. Expect conversions to differ for recent days and to converge once the restatement window has passed. Alert on traffic and spend differences, not on young conversion data.
Using hourly data for dayparting and budget alerts
Hourly data supports two jobs well.
Dayparting
Build an hour-of-week profile per campaign or target from several weeks of history: clicks, spend, orders and sales by hour, in the campaign's time zone. Because conversions lag, base the conversion side on matured weeks, not on today. Then apply bid multipliers or pauses by hour inside approved limits, and measure against a holdout. Dayparting at scale is demanding: for Tinuiti, the requirement was to process data across five marketplaces in near real time and automate optimizations inside two-minute dayparting windows, which is why the pipeline and the rules engine were designed together.
Budget alerts
Compare cumulative hourly spend with each campaign's daily budget (from the campaign management API or an export) and with the hour-of-day curve you expect. Alert when a campaign is on track to cap out before its best hours, or when spend stalls. If you still run Stream v1, the budget-usage dataset gives you consumption notifications directly. For the reporting side of pacing, see our guide to an ad budget pacing dashboard.
Automation should act only within rules a person approved: bid ranges, budget caps, which campaigns are in scope. Our AI bid management work and the overview in Amazon PPC automation cover that control layer; at Tinuiti it runs as more than 120 automations and 80 custom rules and optimization workflows.
Storage and cost design
Stream data is high volume: hourly grain, many dimensions, and repeated versions of the same records as attribution matures. A layout that keeps cost predictable:
- Raw: keep delivered Parquet in S3 as is, partitioned by dataset and date. Add a lifecycle rule that moves older raw files to cheaper storage once they are past the restatement window and loaded.
- Staging: maintain one current row per record key, updated by merge. This is the layer Amazon recommends aggregating from.
- Model: daily and hourly facts at the grains your dashboards and rules actually use, plus a dimension table for campaign names and budgets pulled from the management API.
- Query cost: filter on partition columns in Athena, and load staging into your warehouse (Snowflake, BigQuery, Redshift or Databricks) rather than querying raw files repeatedly.
Running all of this on AWS keeps the consumer close to the delivery Region, which also limits data transfer charges.
Setup checklist
- Decide the version. New integrations should start on Stream v2. Existing v1 users should plan migration well before June 30, 2027 and run both in parallel to validate.
- Create the destination. S3 bucket and SQS queue in an allowed Region for each geo, with the documented policies.
- Subscribe per account. One subscription per dataset and advertiser account, created against the matching regional endpoint.
- Verify delivery. Confirm files and notifications arrive, and that the backfill lands.
- Build the consumer. Read files listed in notifications, upsert by full key and highest version, handle deletes and
(Other)rows, select columns by name. - Reconcile. Daily comparison of summed hours with reports, with thresholds on spend and clicks.
- Monitor. Alert on gaps in delivery per account, on subscription status changes, and on queue age.
If you want this built in your own AWS account and warehouse, our Amazon Ads API development team builds Stream consumers, and a free 30-minute ad data review is the easiest place to start. For the wider picture of Amazon Ads data we pipeline, see the platform page.
Frequently asked questions
Is Amazon Marketing Stream free?
Amazon does not charge a fee to use Marketing Stream. You pay AWS for the resources that receive and store the data: S3 storage for the Parquet files you keep, SQS for delivery notifications, Firehose if you still use version 1, and any Athena, Glue or warehouse compute used to query it.
Can I get data more granular than hourly from Marketing Stream?
No. Each dataset has a fixed grain of hourly or daily, and there is no minute-level grain. Stream v2 can deliver updates as often as every 15 minutes, but that is the delivery cadence: you see updated hourly totals sooner, not finer time slices.
Do I need an AWS account to use Marketing Stream?
Yes. Version 2 delivers to an S3 bucket and SQS queue you own, and version 1 delivers to SQS or Firehose. Once the Parquet files are in S3, you can read them with any engine, including warehouses outside AWS, but the landing zone has to be in AWS.
How much history does Marketing Stream deliver when I subscribe?
Stream v2 backfills the dataset's restatement period automatically, within about a day of creating the subscription. For the hourly ads-performance-v1 dataset that window is 70 days. Anything older has to come from the reporting API, within its own retention limits.
Can Amazon Marketing Stream data go to Snowflake or BigQuery?
Yes, by way of S3. Stream v2 lands Parquet files in your AWS account; from there you load them into Snowflake, BigQuery, Redshift or Databricks, merging on the full record key and keeping the highest streamBatch.version. Version 1 can also forward through Amazon Data Firehose to Redshift or Snowflake.