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
Google
June 17, 2026
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
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. 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 Problems
Sample Answer
Requirements
  • Functional Requirements:
    1. Ad Auction Mechanic: Must support real-time auctions for ad placements based on bids, targeting, and CTR (click-through rate) predictions.
    2. **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

Related Questions