Testing a New Ad Ranker in a Budget-Limited Marketplace
Statistics & ExperimentsModel answerLast updated
Design an experiment for a new ad-ranking model in a two-sided marketplace, covering randomization, mixed CTR/CVR results, shared advertiser budgets, and guardrail metrics.
Context
A team has built a new model that decides which ads to show and in what order. Before it ships to everyone, you must design an experiment to decide whether it should launch worldwide. The platform serves millions of users at the same time and has hundreds of thousands of advertisers, each with a daily spending limit.
What to answer
- Randomization. Choose the unit you would randomize on. Compare User ID, Cookie ID and Request ID, including how each handles interference between arms and advertiser budgets being shared across arms.
- Mixed metric results. Early data shows conversion rate up 2% and click-through rate down 3%. Explain how you would read this pattern, and which additional metrics (for example ROAS, total spend, CPA) you would check to judge the value delivered to advertisers.
- Budget effects. A model that favors ads likely to convert but less likely to be clicked could make advertisers hit their daily caps sooner or later. Describe how you would keep the experiment valid when advertisers have finite budgets.
- Guardrails. Name three guardrail metrics that would flag harm to the user experience or the long-term health of the ad ecosystem.
Requirements
- Justify why your chosen unit limits bias when advertisers are budget-constrained.
- Your design should be realistic at the scale described above.
Hints
Hint 1
Think about what happens when treatment and control users draw on the same advertiser budget. Whose impressions get crowded out, and what happens to the measured lift once everyone is on the new model?
Hint 2
Conversion rate is measured per click, so it is affected by the treatment through its denominator. Multiply the two relative changes to see what happened per impression, and prefer metrics normalized by randomized units.
Hint 3
Separate three viewpoints when choosing secondary and guardrail metrics: advertiser value, platform revenue, and user experience. Also consider how budget-limited versus unlimited advertisers would show gains differently.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Framing
This is a two-sided marketplace experiment. Users, advertisers and the auction are coupled, so a plain user-level split can give a biased answer. A strong response handles budget interference, does the funnel arithmetic correctly, and keeps platform revenue, advertiser value and user experience separate.
1. Randomization unit
| Unit | Strengths | Weaknesses |
|---|---|---|
| Request ID | Most units, so the most statistical power | The same person sees both rankings, giving an inconsistent experience. Conversions land hours or days after a click and cannot be tied to one arm cleanly. Fatigue and retention are unmeasurable. |
| Cookie ID | Covers logged-out traffic | Cookies reset and do not follow people across devices, so one person can end up in both arms. This dilutes the effect and makes off-platform attribution noisy. |
| User ID | Stable experience across devices, clean conversion attribution, supports retention and fatigue measures | Both arms still draw on the same advertiser budgets and auctions, so interference remains. |
Recommendation: randomize by User ID and pair it with a budget-split design.
Why user-level randomization alone is biased. An advertiser has one shared daily budget. If treatment sends their ads to higher-intent users and spends faster, the budget runs out and control users stop seeing those ads. Treatment then looks better partly because it consumed budget that control would have used. After a full launch there is no control group to take from, so the measured lift is inflated. If treatment spends slower, the bias goes the other way.
Budget split.
- Divide each advertiser's budget by the traffic split. At 50/50, a $100/day campaign becomes two $50/day sub-campaigns.
- Each sub-campaign serves only users in its own arm, and pacing runs independently per arm.
- The result is two self-contained mini-marketplaces, each a scaled copy of the post-launch world. With so many advertisers, nearly every one appears in both arms, which gives a paired comparison and reduces variance from advertiser differences.
Residual interference. Both arms may still compete against the same outside bidders in auctions. If infrastructure allows, use separate auction pools. Otherwise cross-check with a geo-level or switchback test. Before the real test, run an A/A budget-split test to confirm spend, pacing and delivery are balanced.
2. Reading +2% CVR and -3% CTR
Funnel arithmetic. Conversions per impression equal CTR x CVR:
0.97 x 1.02 = 0.9894, about a 1.1% decline.
So "CVR is up" can conceal fewer conversions per impression. Total conversions only rise if impression volume, ad load or delivered spend offsets that.
Selection effect. CVR's denominator (clicks) is itself changed by the model. If the ranker removes low-intent clicks, CVR rises mechanically without any individual becoming more likely to convert. Use metrics normalized by randomized units instead: conversions per user, conversions per impression, revenue per user.
Plausible story. The model stops showing clickbait-style ads to low-intent users, so accidental clicks fall and the funnel gets cleaner. Whether that is a win depends on the metrics below.
| Perspective | Metrics |
|---|---|
| Advertiser value | Total conversions and conversion value; CPA (spend / conversions, lower is better); ROAS (conversion value / spend, higher is better) |
| Platform revenue | Total spend, RPM. Under CPC billing, fewer clicks directly reduce revenue; under conversion-optimized bidding, revenue follows delivered impressions and bids |
| Delivery | Budget utilization, under-delivery rate. Unspent budget is lost revenue even if CPA improves |
Segment by campaign objective (traffic campaigns lose from lower CTR, conversion campaigns gain from higher CVR), advertiser size, placement and vertical. If gains concentrate in conversion-focused campaigns while traffic campaigns suffer, objective-aware ranking may beat a global rollout.
Decision rule. Launch if ROAS/CPA improve, total conversions do not fall, and revenue is neutral or positive at full budget utilization. Better ROAS should raise advertiser bids and budgets over time, but that long-run effect will not show in a two-week test.
3. Handling finite budgets
- Budget-split design is the main defense, as above.
- Run at least two full weeks to cover weekly seasonality and many budget resets.
- Measure pacing per arm: time to cap, fraction of budget spent, share of campaigns hitting the cap, and intraday delivery curves. Capping sooner is not inherently good; burning budget by mid-morning on lower-value impressions can lower ROAS.
- Analyze advertiser metrics at the advertiser level, using the paired difference between each advertiser's two sub-campaigns, with cluster-robust standard errors so a few large spenders do not dominate.
- Split results by constrained versus unconstrained advertisers. For constrained advertisers spend is fixed, so the benefit appears as more conversions per dollar. For unconstrained ones it may appear as higher spend.
4. Guardrails
- Negative ad feedback rate: hides, "see fewer like this", reports and opt-outs per 1,000 impressions. It catches annoying or irrelevant ads that revenue metrics would reward.
- User engagement and retention: sessions per user, time on organic content, 7- and 28-day retention. These reveal ad fatigue that erodes the user base.
- Advertiser ecosystem health: CPA distribution by advertiser size, small-advertiser under-delivery, advertiser churn and budget cuts. This ensures gains do not accrue only to large advertisers.
Also watch landing-page bounce rate as an ad-quality proxy and ad-serving latency.
Common mistakes
- Celebrating higher CVR without computing the combined effect on conversions per impression.
- Randomizing by user and ignoring shared budgets, which overstates the lift.
- Randomizing by request, which breaks attribution and consistency.
- Evaluating only platform revenue and ignoring advertiser value and user experience.
- Ending the test before budgets have cycled enough to show pacing behavior.
- Letting a few very large advertisers dominate pooled results.