Measuring the Impact of In-Game Advertising
Statistics & ExperimentsModel answerLast updated
Design an evaluation framework to assess whether introducing ad inventory improves monetization without harming player retention or lifetime value.
You work as a data scientist at a mobile gaming company. Your game currently monetizes through in-app purchases only. Leadership is considering launching an advertising monetization layer—specifically video formats like opt-in rewarded placements and forced interstitial breaks.
Your task is to design a comprehensive evaluation framework to inform the decision.
Address the following:
-
Metrics strategy: Define your primary decision metric and supporting guardrails. Explain the trade-offs between immediate ad revenue, changes in purchase behavior, player retention, and long-term value.
-
Experiment architecture: Specify randomization unit, treatment variants, eligibility rules, frequency controls, and any stratification or phased rollout strategy.
-
Causal estimation: Describe how you'll measure the net effect on total monetization and player experience, accounting for cannibalization of purchases, changes in engagement patterns, and attrition.
-
Validity concerns: Identify the main threats—such as short-term bias, self-selection in opt-in formats, cross-player interactions, fraudulent traffic, and spillover effects—and your mitigation plan for each.
-
Launch criteria: Explain how you'll determine statistical power requirements, handle multiple comparisons, and incorporate long-horizon effects into the ship/no-ship decision.
Hints
Hint 1
Think about total revenue per assigned user, not per active user—churned players still matter to the calculation
Hint 2
Opt-in rewarded ads create selection bias; compare treatment groups by random assignment, not by who actually watched
Hint 3
Plan for at least 4 weeks to see retention effects stabilize and novelty wear off
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Model Answer: Measuring the Impact of In-Game Advertising
A strong response treats this as a portfolio optimization problem, not just a revenue-increase test. Ads create a new income stream but risk cannibalizing purchases, degrading experience, and accelerating churn. The evaluation must quantify the net effect on long-term value while protecting core player health.
1. Metrics Strategy
Primary metric: Total revenue per assigned user at day 28
Calculate this as:
- Total Revenue = Ad Revenue (net of fraud/invalid traffic) + IAP Revenue
Measure per assigned user from randomization onward, regardless of subsequent activity. If you condition on active users only, players who quit due to ads disappear from the denominator, artificially inflating the treatment metric.
Project D28 revenue forward to lifetime value using retention and monetization curves.
Component metrics to diagnose movement:
Ad monetization
- Impressions per daily active user
- Fill rate (successful ad loads / requests)
- Effective CPM
- Opt-in rate and completion rate for rewarded placements
IAP behavior
- Conversion rate (% making any purchase)
- Average revenue per paying user
- Frequency of purchases for virtual currency or items that rewarded ads also distribute
Guardrail metrics with pre-specified non-inferiority bounds:
- Retention: Day 1, Day 7, Day 30 retention rates; uninstall rate
- Engagement: Sessions per user, session duration, progression velocity (e.g., levels completed per week)
- High-value players: Conversion and spend among top decile spenders—losing a few high-LTV players can offset thousands of low-value ad impressions
- Technical health: Crash rate, ad-load latency, app store rating trends
- Game economy: Virtual currency inflation and time-to-progression-gate, since rewarded ads inject free resources
Key trade-offs to articulate:
Interstitial ads maximize immediate ad yield but carry the highest churn and frustration risk. Rewarded placements are player-initiated and often boost engagement, but they directly substitute for purchases of the same currency or boosters. The correct objective is maximizing lifetime value, not optimizing week-one ad revenue.
2. Experiment Architecture
Randomization unit: User account (stable identifier)
Assign at account creation or first eligibility check, persisting across sessions and devices. Device-level randomization breaks when players reinstall or switch hardware.
If your game has strong social mechanics (guilds, co-op missions, item trading), consider cluster randomization by guild to contain spillover effects.
Treatment arms:
- Control: No ads
- Rewarded only: Cap at 5–8 views per day to prevent infinite grinding
- Interstitial only: Conservative pacing (e.g., max 1 per 3 minutes of play, max 4 per day, never in first session or mid-level)
- Hybrid: Rewarded + interstitial combined
If traffic permits, add a dose-response arm (e.g., 2/day vs. 6/day interstitial cap) to map the frequency-impact curve.
Eligibility:
Include both new installs and existing players, but analyze cohorts separately:
- New users reflect steady-state behavior
- Existing players reveal disruption effects
Consider by design excluding recent payers (last 7 days) from interstitial exposure to protect high-value relationships. Make this an upfront design choice, not a post-hoc filter.
Stratification:
Balance or stratify on:
- Platform (iOS vs. Android)
- Geographic tier (eCPM varies 10x+ across regions)
- Prior payer status
- Tenure cohort
- Pre-experiment engagement level
Phased rollout:
Start at 1% → 5% → 20% → full experiment allocation. At each gate, verify:
- Sample ratio match (no assignment bugs)
- Crash and latency metrics
- Ad SDK errors and fill rate
Reserve a long-term holdout (~5% with no ads) for 3–6 months post-launch to measure sustained effects.
3. Causal Estimation
Intent-to-treat (ITT) analysis: Compare all users assigned to each arm, regardless of whether they saw or interacted with ads.
Net revenue lift = Δ Ad Revenue + Δ IAP Revenue
Δ IAP is typically negative (cannibalization). Report both components transparently so stakeholders understand the offset.
Variance reduction techniques:
- Apply CUPED (regression adjustment using pre-period revenue and engagement as covariates)
- Winsorize revenue at the 99th or 99.9th percentile, or decompose into conversion × ARPPU to handle heavy-tailed whale spend
- Use bootstrap or delta-method confidence intervals for ratio metrics like revenue per DAU
Retention modeling:
Fit survival curves (Kaplan-Meier or Cox proportional hazards) to compare retention trajectories across arms. A small but sustained retention penalty compounds over time and can eliminate a large short-term revenue gain.
LTV projection:
LTV ≈ Σₜ Retention(t) × ARPDAU(t)
Fit both retention and daily monetization curves by arm, then sum the discounted stream.
Per-viewer effects (for rewarded ads):
Since rewarded ads are opt-in, viewers self-select. Never compare viewers to non-viewers directly—that conflates selection with treatment.
Instead, use random assignment as an instrument:
- CACE (Complier Average Causal Effect) = ITT Effect / Fraction Who Watched in Treatment Arm
This estimates the effect among those induced to watch by the availability of the feature.
4. Validity Concerns and Mitigations
| Threat | Impact | Mitigation |
|---|---|---|
| Novelty/primacy effects | Early engagement spikes then fades; annoyance-driven churn emerges later | Run ≥4 weeks; plot weekly treatment effects; weight analysis toward stable new-user cohorts; maintain long-term holdout |
| Selection bias in opt-in formats | Rewarded viewers are inherently more engaged | Analyze by ITT on random assignment; use IV for per-complier estimates |
| Network effects / interference | Guild members share resources; leaderboard competition affected by free boosts; friend churn lowers control retention | Cluster-randomize by guild; monitor control-group economy metrics for drift; test for cross-arm contamination |
| Ad fraud / bot traffic | Fake impressions inflate reported ad revenue | Use net revenue post-fraud-deduction; flag anomalous impression rates; verify bot incidence is balanced across arms |
| Revenue reporting lag | Ad networks finalize payouts weeks after impressions | Base decision on finalized revenue or calibrated estimates; don't ship on preliminary data |
| Market saturation effects | eCPM may decline when scaling from 5% to 100% of users | Monitor eCPM across ramp stages; model conservatively in projections |
| Seasonality & multiple testing | Holiday spikes; many arms × metrics × segments inflate false positives | Use concurrent control; pre-register primary metric; apply Bonferroni or Holm correction to multi-arm comparisons |
5. Power Calculation and Launch Decision
Sample size formula:
n ≈ 2 × (z₁₋α/₂ + z₁₋β)² × σ² / δ²
For α = 0.05, power = 0.80: coefficient ≈ 7.85
Revenue example:
- Mean D28 revenue = $0.50, SD = $5 (heavy right tail)
- To detect 5% lift (δ = $0.025): need ~630k users per arm
- To detect 2% lift: need ~4M per arm
- CUPED + winsorization can reduce required n by 30–50%
Retention example:
- D7 retention = 30% (σ² = 0.21)
- To detect 0.5pp drop: need ~130k per arm
Revenue typically drives the binding constraint. If traffic is limited, reduce arms rather than run underpowered.
Pre-registered launch criteria:
Ship a variant if:
- The lower bound of the 95% CI on total revenue (or projected LTV) per user is positive, or exceeds integration/maintenance cost; AND
- All guardrails pass non-inferiority thresholds (e.g., D30 retention drop < 1pp, high-spender conversion drop < 5%); AND
- Effects remain stable in final weeks of the test (no growing negative trends)
Incorporate long-horizon effects:
- Extend measurement window to 60–90 days for the winning variant
- Use long-term holdout to validate projected LTV against actual realized value
- Monitor post-launch metrics weekly for 3 months to catch delayed degradation
Final decision:
Present total revenue lift decomposed into ad gain and IAP loss, retention impact translated to LTV, and risk/uncertainty bounds. If the primary metric is positive but guardrails are borderline, consider a conservative launch (e.g., rewarded-only, capped frequency) rather than full deployment.
Common Mistakes to Avoid
- Analyzing only active users (survivorship bias)
- Comparing ad viewers to non-viewers within the treatment group (selection bias)
- Stopping the test too early (novelty effects dominate)
- Ignoring cannibalization of IAP revenue
- Treating all revenue as equal (whale retention matters more than ad pennies)
- Failing to account for fraud or market-saturation effects in ad revenue estimates