Query of the Week · Library

Purchasers to exclude

← Back to overview

1 · Business question

People who just bought do not need to be paid for again in acquisition campaigns.

2 · Query (SQL)

SELECT user_id
FROM amazon_attributed_events_by_conversion_time_for_audiences
WHERE purchases > 0
GROUP BY user_id

3 · Interpretation

As an exclusion audience in DSP campaigns.

/en/query-of-the-week/recent-purchasers/