All problems
Advanced·📣 Ad-Tech·Google Ads · Meta Ads · Amazon Advertising

Design
Ad Click Tracking & Billing System

Design a system that tracks ad impressions/clicks at massive scale and computes accurate billing for advertisers.

This is a Low-Level Design (LLD) problem. New to LLD vs HLD? Start here.

#Distributed Systems#Stream Processing#Fraud Detection
6F + 3NF requirements inside

01 -  Why interviewers ask this

Ad-tech billing tests exactly-once event processing under fraud pressure — interviewers check if you separate a fast real-time layer from a rigorous, fraud-filtered billing layer.

02 -  Where this system exists in the real world

You interact with this design every day.

Google Ads / Meta Ads click-tracking infrastructure

Affiliate marketing attribution systems

Programmatic ad exchange billing pipelines

03 -  What you'll master

Solve this once. Know it forever.

01

Design a durable, high-throughput event ingestion path

02

Separate real-time metrics from authoritative billing

03

Apply fraud-detection heuristics before billing

04 -  What you'll design

6 functional · 3 non-functional requirements.

Record ad impressions and clicks with low latency

5 more requirements inside

Sign in to unlock the full brief and start designing

05 -  Companies that ask this

You may face this exact question in your next interview.

G
Google Ads
M
Meta Ads
A
Amazon Advertising

Ready?

Open the canvas.
Design it yourself.

See all requirements, use staged hints, run your code, and compare with community discussions - all on the same canvas.