Ad Creative Fatigue Measured as CTR by Days Since Launch

Last updated: November 29, 2026

Quick Overview

Using daily impressions and clicks per ad creative, compute impression-weighted CTR by days since each creative first delivered (day 0 to day 30), and for each creative the ratio of its days 8 to 14 CTR to its days 0 to 6 CTR.

Meta
Data Manipulation (SQL/Python)
Data Scientist
Meta
November 29, 2026
Data Scientist
Onsite
Data Manipulation (SQL/Python)
Medium

0

0

0 solved


Using daily impressions and clicks per ad creative, compute impression-weighted CTR by days since each creative first delivered (day 0 to day 30), and for each creative the ratio of its days 8 to 14 CTR to its days 0 to 6 CTR.

Advertisers on Meta are told to refresh creatives as performance decays, and ads analytics interviews use this to test relative-time alignment. The interviewer checks MIN(ds) OVER a partition to anchor each creative, weighted averaging, and a per-creative fatigue ratio.

What the Interviewer Expects
  • Anchors each creative's launch day with MIN(ds) OVER (PARTITION BY creative)
  • Computes day index as date minus launch date
  • Aggregates clicks and impressions before dividing so CTR is impression-weighted
  • Builds a per-creative early versus later window comparison
  • Guards against creatives with too few impressions in either window
Key Topics to Cover
MIN OVER PARTITION
relative time indexing
weighted CTR
creative fatigue
conditional aggregation
How to Approach This
  1. Clarify the schema and expected output format before writing queries.
  2. Use CTEs (WITH clauses) to break complex queries into readable steps.
  3. Consider window functions (ROW_NUMBER, RANK, LAG, LEAD) for ranking and sequential analysis.
  4. Watch for NULLs, duplicates, and edge cases in JOINs and GROUP BY.
  5. For pandas, prefer vectorized operations over row-by-row iteration.
Possible Follow-up Questions
  • How would you separate true fatigue from audience saturation, where the best users are reached first?
  • How would you estimate the typical half-life of CTR decay?
  • How would you turn this into a 'refresh your creative' recommendation for advertisers?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice SQL Problems
Sample Answer
Clarify the Data

Table: creative_daily(creative_id, ad_id, ds, impressions, clicks). A creative can run in multiple ads; I anchor on the creative's first day with impressions > 0, across all its ads....

Approach
  1. Keep rows with impressions > 0 and add launch_ds = MIN(ds) OVER (PARTITION BY creative_id).
  2. day_idx = ds - launch_ds.
  3. Curve: SUM(clicks) / SUM(impressions) by day_idx for 0 to 30.
  4. ...

Submit Your Answer
Markdown supported