KatInterview

Investigating Ad Traffic Volumes and User Violation Complaints

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentssqlmetrics-designexploratory-data-analysis

Last updated

Formulate SQL logic to identify high-violation advertisers and design an analytical strategy to explain the positive correlation between ad visits and reports.

Background

During a quarterly safety audit at a digital publishing platform, the data team observed that ad campaigns accumulating higher total visit volumes also receive significantly higher absolute numbers of user reports for policy violations or poor content quality.

Management needs to know whether high-volume advertisers are inherently lower quality, or if this pattern is an artifact of raw exposure volume. Additionally, the team requires an automated SQL framework to systematically detect problematic accounts without penalizing large, compliant advertisers.

Tasks

  1. Define problematic advertisers: Draft a production SQL query that identifies top problematic advertisers. Outline key metrics, noise-reduction techniques, smoothing methods, and baseline comparisons that ensure small-sample outliers and massive compliant brands are handled fairly.
  2. Causal investigation: Detail a structured analytical plan to evaluate the positive association between ad visits and total report volume. State your hypotheses, describe potential confounders, and outline the statistical breakdowns required to determine causation.

Hints

Hint 1

Differentiate absolute report counts from report rates per impression or visit.

Hint 2

Consider statistical smoothing techniques (such as empirical Bayes) to handle low-volume advertisers with high variance.

Hint 3

Evaluate audience expansion: as ad budgets scale, targeting broadens to less aligned user segments.