Designing an Experiment to Measure Creative Quality Impact on Ads
Statistics & ExperimentsModel answerLast updated
Design a rigorous experiment to determine whether higher-quality ad creatives causally improve performance, accounting for advertiser selection bias and marketplace effects.
Context
An advertising platform is considering implementing quality standards for ad creatives. The hypothesis is that promoting higher-quality visual assets (sharp images, clear video) will improve user engagement and overall marketplace health.
Your Task
Design a measurement strategy to evaluate whether creative quality causally affects ad performance:
-
Metric Selection: Define your primary success metric, secondary metrics, and guardrail metrics. Justify each choice.
-
Experimental Design: Propose an experiment to isolate the causal effect of creative quality. Address the core challenge: advertisers with more resources naturally produce better creatives and have stronger brands, better targeting, and superior products. How do you separate creative quality from advertiser quality?
-
Risk Detection: How would you identify negative impacts on the advertising ecosystem, such as reduced ad supply or harm to smaller advertisers?
-
Analysis Framework: Outline a data analysis approach (SQL or pseudocode) that compares performance across quality tiers while controlling for advertiser characteristics.
Available Data
Assume access to event logs containing:
ad_id,advertiser_idquality_score(1-10 scale measuring visual asset quality)impressions,clicks,conversions- Advertiser metadata: historical spend, industry vertical, account age
Key Considerations
- How do you distinguish between "better creatives help" versus "better advertisers use better creatives"?
- Ads compete in shared auctions. Penalizing one ad affects which other ads win.
- Strict quality requirements might reduce total ad inventory and harm smaller advertisers.
Hints
Hint 1
The observational correlation between quality and performance is likely confounded by advertiser sophistication. What experimental techniques can break this confound?
Hint 2
Consider two distinct causal questions: does improving a specific ad's creative help that ad, versus does enforcing quality standards help the entire marketplace?
Hint 3
For marketplace-level effects, standard user randomization may not be sufficient due to interference between advertisers competing for the same impressions.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Model Answer
This problem requires separating two entangled causal questions and addressing selection bias inherent in quality comparisons.
1. Metric Strategy
Primary Metric: Conversions per 1,000 impressions
This measures actual business value rather than vanity metrics. CTR alone is insufficient because clickbait can generate clicks without conversions. Conversion rate (conversions/clicks) is problematic because it conditions on a post-treatment variable—clicks are affected by the creative, making CVR vulnerable to selection artifacts.
Secondary Metrics:
- CTR and post-click conversion rate: To decompose where effects occur
- Negative signals: Ad hides, reports, "show less" actions
- User satisfaction: Session duration, return visits within 7 days
- Brand lift or survey sentiment: For brand advertisers
Guardrail Metrics:
- Supply health: Total impressions delivered, auction fill rate, ads filtered by quality threshold
- Advertiser health: Total spend, budget delivery percentage, advertiser retention rate, new advertiser activation
- Market dynamics: CPM trends, cost-per-conversion inflation
- Equity: All metrics segmented by advertiser size (small business vs. enterprise) and vertical
- Platform revenue: Total ad revenue
These guardrails detect whether quality enforcement reduces inventory availability or disproportionately harms certain advertiser segments.
2. Experimental Design
The Core Challenge
A naive comparison of high-quality versus low-quality ads is severely confounded. Well-resourced advertisers produce better creatives but also have stronger brands, better targeting data, more competitive offers, and optimized landing pages. Any observed performance difference mixes creative effects with advertiser effects.
Approach A: Creative-Level Randomization (Asset Effect)
To isolate creative quality itself, randomly vary the asset while holding the advertiser constant:
- Auto-enhancement experiment: For ads with quality scores below threshold, randomly serve either the original asset or an automatically enhanced version (upscaled resolution, sharpening, brightness correction). Randomize at the impression level.
- Before/after with the same advertiser: When advertisers upload improved versions of their creatives, measure performance changes while controlling for time trends using advertisers who didn't update.
This design eliminates advertiser confounding by construction—the same advertiser, campaign, audience, and budget appear in both conditions.
Approach B: Encouragement Design
When you cannot directly modify creatives:
- Randomly assign advertisers to receive actionable feedback: "Your image quality is below recommended standards. Upload higher-resolution assets to improve performance."
- Measure the intent-to-treat effect (being offered feedback) and use feedback assignment as an instrumental variable for quality adoption.
- The ratio of ITT effect to adoption rate estimates the effect for compliers.
- Cluster standard errors at advertiser level since randomization occurs there.
Approach C: Policy-Level Randomization (Marketplace Effect)
To measure ecosystem-wide impacts of quality enforcement:
- User-side randomization: Apply quality penalties in ad auctions for a random subset of users. This cleanly measures user experience but creates cross-contamination in advertiser metrics since budgets are shared.
- Geo-cluster randomization: Randomize quality enforcement by geographic region, splitting advertiser budgets proportionally. This measures advertiser adaptation but requires larger sample sizes.
- Long-term holdout: Maintain a 2-5% control group for 3-6 months to capture long-term effects like advertiser creative optimization and user habituation.
Validating Causal Claims
To confirm lift isn't merely "better advertisers use better creatives":
- Within-advertiser fixed effects: Compare high vs. low quality ads from the same advertiser and campaign
- Propensity score stratification: Match on historical spend, vertical, objective, placement, and pre-period performance
- Negative control outcome: Compare advertiser performance from before current creatives existed (prior quarter baseline). Differences indicate residual confounding.
- Dose-response: Verify monotonic relationship between quality scores and outcomes within advertiser
- Sensitivity analysis: Calculate how strong an unmeasured confounder would need to be to eliminate the observed effect
3. Detecting Unintended Consequences
Pre-registered Guardrail Thresholds
Define non-inferiority margins before launch:
- Impressions drop no more than 1.5%
- Total advertiser spend drops no more than 0.8%
- Small advertiser spend drops no more than 2%
Heterogeneity Analysis
Estimate effects separately for:
- Advertiser size deciles
- Industry verticals
- Geographic regions
- New vs. established advertisers
Aggregate wins can mask catastrophic losses for specific segments.
Supply Diagnostics
Monitor:
- Percentage of auctions where quality penalty changed the winner
- Auctions with zero eligible ads above reserve price
- CPM inflation rate
- Distribution of quality scores over time (are advertisers adapting?)
Advertiser Behavioral Signals
Track:
- Budget delivery rate trends
- Campaign pause rate
- Churn and reactivation within 60 days
- Support ticket volume and appeal requests
- Time to first creative update after feedback
Staged Rollout
Deploy at 1% → 5% → 20% → 50% with automatic rollback if any guardrail breaches threshold.
4. Analysis Framework
Stratified Comparison Controlling for Advertiser Spend
-- Aggregate ad-level performance
WITH ad_performance AS (
SELECT
ad_id,
advertiser_id,
MAX(quality_score) AS quality,
SUM(impressions) AS imps,
SUM(clicks) AS clicks,
SUM(conversions) AS convs
FROM ad_events
WHERE date BETWEEN '2024-06-01' AND '2024-06-30'
GROUP BY ad_id, advertiser_id
),
-- Classify advertisers by pre-treatment characteristics
advertiser_strata AS (
SELECT
advertiser_id,
vertical,
NTILE(10) OVER (ORDER BY baseline_spend) AS spend_decile
FROM advertiser_metadata
),
-- Segment by quality and strata
stratified_metrics AS (
SELECT
s.spend_decile,
s.vertical,
CASE WHEN p.quality >= 7 THEN 'high_quality'
ELSE 'low_quality' END AS quality_tier,
SUM(p.imps) AS total_imps,
SUM(p.clicks) AS total_clicks,
SUM(p.convs) AS total_convs,
COUNT(DISTINCT p.advertiser_id) AS advertiser_count
FROM ad_performance p
JOIN advertiser_strata s USING (advertiser_id)
GROUP BY s.spend_decile, s.vertical, quality_tier
),
-- Calculate stratum-specific conversion rates
stratum_results AS (
SELECT
spend_decile,
vertical,
MAX(CASE WHEN quality_tier = 'high_quality'
THEN 1000.0 * total_convs / NULLIF(total_imps, 0) END)
AS conv_per_mille_high,
MAX(CASE WHEN quality_tier = 'low_quality'
THEN 1000.0 * total_convs / NULLIF(total_imps, 0) END)
AS conv_per_mille_low,
SUM(total_imps) AS stratum_weight
FROM stratified_metrics
WHERE advertiser_count >= 15 -- Common support requirement
GROUP BY spend_decile, vertical
)
-- Weighted average treatment effect
SELECT
SUM((conv_per_mille_high - conv_per_mille_low) * stratum_weight)
/ SUM(stratum_weight) AS weighted_lift,
SUM(stratum_weight) AS total_impressions
FROM stratum_results
WHERE conv_per_mille_high IS NOT NULL
AND conv_per_mille_low IS NOT NULL;
This framework:
- Stratifies by advertiser characteristics to reduce confounding
- Requires common support (both quality tiers present in each stratum)
- Weights by impression volume for practical significance
- Can be extended with regression adjustment for residual covariate imbalance
Reporting
Present:
- Overall weighted effect with confidence intervals
- Stratum-specific effects to show heterogeneity
- Guardrail metric dashboard
- Robustness checks (fixed effects, matched estimates, sensitivity bounds)
Common Mistakes
- Ignoring selection bias: Comparing raw averages without controlling for advertiser quality
- Wrong denominator: Using conversion rate (convs/clicks) conditions on clicks, a post-treatment variable
- Missing interference: User-side randomization without accounting for shared advertiser budgets
- Ignoring heterogeneity: Reporting only aggregate effects while masking harm to small advertisers
- Short time horizon: Missing long-term advertiser adaptation and creative optimization