Design an Ad Serving System
Last updated: June 17, 2026
Quick Overview
Design a real-time ad serving platform. Cover ad auction mechanics, CTR prediction integration, targeting based on user signals, budget pacing, frequency capping, and serving ads within strict latency budgets.
Google
System Design
Software Engineer
Software Engineer
Onsite
System Design
Hard
201
0
313 solved
Design a real-time ad serving platform. Cover ad auction mechanics, CTR prediction integration, targeting based on user signals, budget pacing, frequency capping, and serving ads within strict latency budgets.
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
- Functional Requirements:
- Ad Auction Mechanic: Must support real-time auctions for ad placements based on bids, targeting, and CTR (click-through rate) predictions.
- **Targeting:...
Capacity Estimation
To estimate the capacity needed for the ad serving system, we can consider the following:
- User Base: Assume 1 billion active users globally.
- Ad Requests: If each user generates 10 ad r...
Submit Your Answer
Markdown supported