Size an Experiment to Detect a Small Lift in Search Ads Revenue
Last updated: November 29, 2026
Quick Overview
A change to ad formatting is expected to raise revenue per user by 0.2%. Revenue per user is highly skewed. How would you compute the sample size and duration, and what would you do if it is too large?
0
0
0 solved
A change to ad formatting is expected to raise revenue per user by 0.2%. Revenue per user is highly skewed. How would you compute the sample size and duration, and what would you do if it is too large?
Google Ads experiments chase small relative lifts on heavy-tailed metrics, so power analysis is not academic. Interviewers want the formula applied correctly, awareness of heavy tails, and practical variance reduction options.
What the Interviewer Expects
- Write the two-sample sample size formula with inputs
- Use relative MDE and coefficient of variation correctly
- Explain why heavy tails inflate variance and how to handle them
- Translate users into days of traffic, including weekly cycles
- Propose variance reduction or metric alternatives
Key Topics to Cover
How to Approach This
- Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
- Run experiments long enough to account for novelty effects and weekly seasonality.
- Use funnel analysis to identify where users drop off for maximum optimization impact.
- Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
- Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
- What if the randomization unit is query rather than user?
- How does winsorizing change what you estimate?
- How do you handle multiple metrics you also care about?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
Randomization by user (cookie or account). Metric: revenue per user over the test. Need baseline mean and standard deviation from historical data, two-sided, power 80%....
Approach
Use per arm with . It is easiest via the coefficient of variation ....