Design a Video-Ad Format Experiment and Diagnose a Null Result
Statistics & ExperimentsModel answerLast updated
Design a rigorous A/B test for a new video-ad format end-to-end, then walk through a structured diagnostic playbook if the primary metric shows no lift.
Setting the Scene
Your team has built a new video-ad format — think a richer, more interactive unit than what runs today. Before rolling it out, leadership wants rigorous evidence that it works. You own the experiment from design through decision.
What You Need to Cover
Part 1 — Experiment Design
Eligibility and exposure Define exactly which users enter the experiment and when. Be precise about what counts as a valid ad exposure (pixel coverage, minimum view duration). Should muted autoplay impressions be included or excluded? Justify your choice.
Unit of randomization Choose between user-level, session-level, and geo-level randomization. Address marketplace interference: both arms compete for the same advertiser budgets and the same auction inventory — how do you handle that?
Primary metric and guardrails Pick one primary metric to decide whether to ship. Define it precisely, including any attribution window or view-through rules. List at least three guardrail metrics with explicit non-inferiority thresholds.
Sample size and duration State a baseline conversion rate, a minimum detectable effect, and the resulting per-arm sample size. Show your reasoning. How does a variance-reduction technique like CUPED change the requirement? How long should the experiment run, and why at least two full weekly cycles?
Ramp plan Describe the traffic ramp from 1% to full allocation. What do you check at each stage before expanding?
Analysis plan Specify the primary estimand (intent-to-treat vs. exposure-adjusted), the statistical test, the variance estimator, and how you control for multiple comparisons across secondary metrics and guardrails. What validity checks do you run before trusting any result?
Operational risks Address at least: novelty/learning effects, day-of-week seasonality, creative heterogeneity across advertisers, frequency caps, cooldown periods, and lagged conversion effects.
Decision and monitoring State your ship/no-ship rule precisely. How do you monitor the experiment without inflating false-positive rates from repeated peeking?
Part 2 — The Null Result Playbook
The experiment concludes and your primary metric shows no statistically significant improvement. Walk through the steps you take in order, explaining the reasoning at each stage:
- Verify that exposure and logging worked correctly.
- Reassess whether the experiment was adequately powered.
- Check whether the metric captures what actually moved — look upstream in the funnel.
- Run any pre-registered subgroup analyses with appropriate multiple-testing correction.
- Assess whether lagged effects could explain the null.
- Design a follow-on experiment to test dosage, frequency, or creative variants.
- Determine whether a precisely estimated small effect is still ROI-positive.
- Make a final recommendation: iterate, pivot, or deprecate — grounded in the pre-specified decision rule.
What a Strong Answer Looks Like
Concrete numbers (baseline rates, sample sizes, durations, thresholds). Clear causal reasoning — especially around what you must not condition on post-randomization. Explicit trade-offs between design choices. A null-result playbook that is diagnostic and disciplined, not a subgroup fishing expedition.
Hints
Hint 1
Viewability is a post-treatment variable — if the new format changes how often the ad is actually seen, filtering on viewability will bias the comparison. Use it only to define compliance for a secondary exposure-adjusted analysis, not as your enrollment trigger.
Hint 2
Marketplace interference is the hidden trap in ads experiments. Treatment and control users bid against each other from the same advertiser budgets. If you don't split those budgets explicitly, the treatment arm can crowd out the control arm and inflate measured lift.
Hint 3
When a null result comes back, work through the funnel from the bottom up before concluding the format doesn't work: logging integrity first, then power, then metric alignment, then subgroups — in that order. Jumping straight to subgroups is the most common mistake.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Framing the Problem
An ads experiment has two challenges most product experiments don't: marketplace interference (both arms share auction inventory and advertiser budgets) and the temptation to condition on post-treatment variables like viewability. Getting those two things right separates a credible experiment from one that looks rigorous but isn't.
Part 1 — Experiment Design
Eligibility and Exposure
A user enters the experiment the first time they reach an ad slot where the new format could be served — a qualifying feed or video surface that an eligible advertiser's campaign wins at auction. This is the trigger, and it happens identically in both arms.
In the control arm, log a counterfactual ghost impression: the impression that would have been served as the new format. This ensures both arms are triggered by the same underlying event.
Exposure follows the MRC video standard: ≥50% of pixels in view for ≥2 continuous seconds. This defines compliance for a secondary exposure-adjusted analysis only.
Do not use viewability as the enrollment filter. The new format may inherently be more viewable than the old one, so filtering on it post-randomization would make the arms non-comparable — a classic post-treatment conditioning bias.
Muted autoplay: include it. That's how the majority of users will encounter the format in practice. Flag sound-on playback as a pre-registered segment, but don't exclude muted impressions from the primary analysis.
Unit of Randomization
Use user-level randomization, with an explicit budget split on the advertiser side.
Session-level randomization fails because the same user appears in multiple sessions — they'd see both formats, creating carryover and attribution confusion.
The deeper problem is marketplace interference. Both arms compete in the same auction using the same advertiser budgets. If the new format wins more auctions, it drains budget from campaigns that also serve into control, artificially inflating the measured lift. Fix this by splitting each participating campaign's budget 50/50 into arm-specific sub-budgets with independent pacing.
Geo randomization is an option when you need offline conversion data or cross-device measurement — but it comes at a steep cost. With a typical intra-cluster correlation of ~0.01 and ~100k users per geo, the effective sample size collapses to roughly the number of geos, pushing your MDE to 5–10% unless you use synthetic control methods.
Primary Metric and Guardrails
Primary metric: 7-day conversions per triggered user — binary, did the user convert at least once within 7 days of their first trigger.
Because randomization is at the user level, you don't need view-through attribution rules. You count all conversions from users in each arm; the difference is the causal lift. This sidesteps view-through crediting debates entirely. Log 7-day-click and 1-day-view attributed conversions as a secondary to reconcile with advertiser reporting.
Guardrails (one-sided non-inferiority, each at α = 0.05):
| Metric | Threshold |
|---|---|
| p95 ad render latency | ≤ +30 ms |
| Ad hide / report rate | ≤ +3% relative |
| Feed session time per user | ≥ −0.5% |
| Revenue per triggered user | ≥ −1% |
| Advertiser CPA | ≤ +2% |
Secondaries: view-through rate, CTR, watch time / dwell, brand recall via an in-feed survey poll on a random subsample.
Sample Size and Duration
Working assumptions:
- Baseline 7-day conversion rate: p = 2%
- Target relative lift: 3% → absolute δ = 0.0006
- Two-sided α = 0.05, power = 80%
n = 2 · (z₀.₉₇₅ + z₀.₈)² · p(1−p) / δ²
= 2 · 7.84 · 0.0196 / 0.00000036
≈ 854,000 users per arm
Applying CUPED with pre-period conversion behavior as a covariate typically reduces variance by 20–40%, bringing the requirement down to roughly 550–650k per arm.
Duration: at minimum 14 days of enrollment (two full weekly cycles to average out day-of-week effects), plus a 7-day observation window for the last cohort enrolled. Total: ~21 days.
Ramp Plan
| Stage | Traffic | Duration | Gate |
|---|---|---|---|
| Canary | 1% | 2 days | No crashes, latency normal, logging parity, no SRM |
| Guardrail check | 5% | 3 days | All guardrails within bounds |
| Full allocation | 20% of eligible, 50/50 split | 14 days | Primary analysis |
Only data from the full-allocation stage enters the primary analysis. Canary and guardrail data are excluded.
Analysis Plan
Primary estimand: intent-to-treat (ITT) on all triggered users, regardless of whether they actually viewed the ad. This is unbiased by design.
Exposure-adjusted effect (CACE/IV): secondary only. Use randomization as the instrument:
CACE = ITT effect / (exposure rate in treatment − ghost-exposure rate in control)
Never compare exposed treatment users against all control users — that comparison is no longer randomized.
Test: difference in proportions with CUPED regression adjustment, HC1 heteroskedasticity-robust standard errors. Use the delta method for ratio metrics like CTR.
Multiplicity:
- One primary metric at α = 0.05
- Secondaries: Benjamini–Hochberg FDR at 10%
- Guardrails: each one-sided at α = 0.05, treated as joint ship conditions
Validity checks before any analysis: sample ratio mismatch χ² test (flag if p < 0.001); pre-period A/A balance between arms.
Operational Risks
- Novelty/learning effects: plot daily treatment effect. Require stability over the final 7 days of enrollment.
- Seasonality: enroll only whole weeks; avoid major holidays and sales events.
- Creative heterogeneity: require ≥200 advertisers across verticals; cap any single advertiser at 5% of impressions; report a random-effects estimate across advertisers.
- Frequency caps: apply identical caps in both arms (e.g., ≤3 impressions per user per day per campaign). Mismatched caps mean you're testing frequency, not format.
- Cooldown: users remain in their assigned arm for the full test duration.
- Lagged effects: keep a 5% long-term holdback for 4–8 weeks post-experiment to measure delayed conversions and persistence.
Decision Rule and Monitoring
Ship only if all three conditions hold:
- Primary ITT lift > 0, p < 0.05
- Every guardrail passes non-inferiority
- Lower 95% CI bound clears the pre-specified ROI breakeven threshold
Monitoring: use a group-sequential design with a Lan–DeMets O'Brien–Fleming alpha-spending function. Schedule looks at 25%, 50%, 75%, and 100% of planned information. Early stopping boundaries are strict (~z > 4.3 at 25% of information) so nearly all alpha is preserved for the final look. This eliminates peeking bias without throwing away early signals of severe harm.
Part 2 — Null Result Playbook
A null result is not the end — it's the beginning of a structured diagnostic.
Step 1 — Verify exposure and logging. Check that the sample ratio between arms matches the intended split (SRM test). Confirm that the new format actually rendered in treatment and not in control. Audit conversion pixel firing rates by arm. A logging bug is the most common cause of a spurious null.
Step 2 — Reassess power. Did actual enrollment match the projection? If traffic was lower than expected, or baseline variance higher, the experiment may have been underpowered for the target MDE. Compute the achieved power retrospectively. A 3% relative lift on a 2% baseline is a small effect — confirm the business case still justifies targeting it.
Step 3 — Check metric alignment and upstream funnel. The primary metric (conversions) is the end of a long funnel. Look upstream: did VTR, CTR, or dwell time move? If upper-funnel metrics improved but conversions didn't, the bottleneck may be post-click landing page quality — a problem the ad format can't fix.
Step 4 — Pre-registered subgroup analyses. Run only the heterogeneity checks specified before the experiment started. Apply Benjamini–Hochberg correction across all subgroups tested. Treat any signal here as hypothesis-generating for a follow-on experiment, not as a win.
Step 5 — Assess lagged effects. Pull the long-term holdback data. Some ad formats — especially brand-oriented ones — take weeks to show conversion lift. If the holdback shows a delayed signal, extend the observation window rather than calling the experiment dead.
Step 6 — Design a follow-on experiment. If steps 1–5 suggest the format has potential but the execution needs work, pre-register a new experiment testing specific creative variants, different frequency caps, or a different audience segment. Do not iterate within the same experiment window.
Step 7 — Evaluate ROI on a small but precise effect. If the estimate is near zero but the confidence interval is tight, compute the implied ROI at the lower bound. A +0.5% relative lift that is precisely estimated may still be ROI-positive at scale if the cost of serving the new format is low.
Step 8 — Final recommendation. If steps 1–7 offer no path forward, apply the pre-specified decision rule and deprecate. Documenting a clean null is valuable — it prevents the same experiment from being run again and anchors future power calculations. Avoid the common mistake of pivoting to a new design without closing the loop on the original hypothesis.
Common Mistakes to Avoid
- Conditioning enrollment or analysis on viewability (post-treatment variable)
- Ignoring marketplace interference and budget competition between arms
- Peeking at results before pre-specified looks and adjusting informally
- Jumping to subgroup analysis as the first response to a null result
- Mixing ITT and CACE estimands in the same primary analysis