Conversion Prediction for TikTok Ads With Delayed Purchase Feedback
Last updated: November 29, 2026
Quick Overview
Design the model and data pipeline that predicts the probability an ad impression leads to a conversion (such as an app install or purchase) for TikTok's auction, given that many conversions arrive hours or days after the impression from advertiser postbacks.
TikTok
November 29, 20260
0
0 solved
Design the model and data pipeline that predicts the probability an ad impression leads to a conversion (such as an app install or purchase) for TikTok's auction, given that many conversions arrive hours or days after the impression from advertiser postbacks.
TikTok's ad auction ranks ads by expected value, which requires calibrated conversion rates, and advertisers increasingly optimize for purchases reported via pixels and server-side events. This question checks label delay handling, calibration, feature freshness and the privacy constraints of mobile attribution.
What the Interviewer Expects
- Define the prediction target and attribution window precisely
- Address delayed labels without biasing the model toward negatives
- Emphasize calibration because predictions feed auction bids
- Describe features and real-time freshness
- Cover training cadence and online serving latency
- Discuss sparse labels for small advertisers
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How would you handle iOS conversions that arrive aggregated and delayed through privacy frameworks?
- How do you detect calibration drift by advertiser?
- What do you do when an advertiser's pixel breaks and conversions drop to zero?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
- Predict for each candidate ad in under 10 ms per request batch.
- Target: conversion within a 7-day click or 1-day view window, matching the advertiser'...
High-Level Design
- Event joins: impressions and clicks from the ad server; conversions from the TikTok pixel, Events API and mobile measurement partners, joined by click ID.
- Training data builder: produces...