Advertiser Retention After a Rejected First Ad in Ads Manager
Last updated: November 29, 2026
Quick Overview
Split new Meta advertisers by whether any ad in their first campaign was rejected in ad review, then compare the share who spent again 31 to 60 days after their first campaign started, overall and by advertiser vertical.
Meta
November 29, 20260
0
0 solved
Split new Meta advertisers by whether any ad in their first campaign was rejected in ad review, then compare the share who spent again 31 to 60 days after their first campaign started, overall and by advertiser vertical.
Meta's ads integrity and SMB teams worry that a rejected first ad, even a correct rejection, pushes small businesses away for good. The onsite question checks identifying a first campaign, joining review outcomes at the campaign level without fan-out, and a later spend window as the retention outcome.
What the Interviewer Expects
- Identify each advertiser's first campaign with a deterministic tiebreak
- Aggregate review outcomes to the campaign level before joining
- Define retention as positive spend in days 31 to 60
- Include advertisers with no later spend
- Discuss why rejected advertisers may differ beyond the rejection
Key Topics to Cover
How to Approach This
- Clarify the schema and expected output format before writing queries.
- Use CTEs (WITH clauses) to break complex queries into readable steps.
- Consider window functions (ROW_NUMBER, RANK, LAG, LEAD) for ranking and sequential analysis.
- Watch for NULLs, duplicates, and edge cases in JOINs and GROUP BY.
- For pandas, prefer vectorized operations over row-by-row iteration.
Possible Follow-up Questions
- How would you separate correct rejections from false positives?
- What would you propose if the gap is large?
- How could you estimate the causal effect of a rejection?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice SQL ProblemsSample Answer
Clarify the Data
campaigns(campaign_id, advertiser_id, created_ts, vertical), ad_reviews(ad_id, campaign_id, decision, reviewed_ts) with one row per review (an ad can be reviewed again after edits), and `ad_spend(...
Approach
Find the first campaign per advertiser. Collapse reviews into one flag per campaign with MAX. Compute a spend flag with EXISTS over days 31 to 60. Group by the rejection flag and vertical....