Query of the Week · Amazon Marketing Cloud
Query of the Week — AMC SQL explained in context
Every week one Amazon Marketing Cloud query from our library, explained in context: from the business question through the SQL to the interpretation. With archive.
Weekly freshness signal: one library query explained in context (Business question -> Query -> Interpretation), also reusable as newsletter content for returning visitors.
Latest Query of the Week: Query of the Week #1: Audience Overlap
Week 28 · 2026-07-09
We launch the format with the user-overlap query. Learn how to measure where two ad sets double-deliver and waste budget.
1 · Business question
How much do two ad audiences overlap (e.g. DSP audience vs. Sponsored Brands audience)? Where are we burning budget on double delivery?
2 · Query (SQL)
SELECT
COUNT(DISTINCT a.user_id) AS in_a,
COUNT(DISTINCT b.user_id) AS in_b,
COUNT(DISTINCT CASE WHEN a.user_id = b.user_id THEN a.user_id END) AS overlap_users,
ROUND(100.0 * COUNT(DISTINCT CASE WHEN a.user_id = b.user_id THEN a.user_id END)
/ NULLIF(COUNT(DISTINCT a.user_id), 0), 2) AS overlap_pct
FROM (SELECT user_id FROM amazon_audiences WHERE audience_id = 'A') a
FULL OUTER JOIN (SELECT user_id FROM amazon_audiences WHERE audience_id = 'B') b
ON a.user_id = b.user_id;
Query and interpretation in the library →
3 · Interpretation
Overlap above 30% signals cannibalization: re-budget the sets against each other or dedupe via a suppression audience. Low overlap justifies running both channels in parallel.
The library
- Audience Overlap (User Overlap)
How much do two ad audiences overlap (e.g. DSP audience vs. Sponsored Brands audience)? Where are we burning budget on double delivery?
- Path to Conversion
Which touchpoint sequences occur before a purchase conversion? Where does Sponsored Display act as an assist?
- Campaign Lift
Does a test campaign actually lift conversion rate vs. a control group (incrementality)?
- Reach & Frequency
How many unique users does the campaign reach and how often (check frequency capping)?
Archive
Sources and freshness
Snapshot (Retail Data Insights (Frontend lane, swarm t_b70a1333)).