← Haider Zaman

Ad fraud and invalid traffic detection

Catching bots and junk traffic before you pay for it or sell it.

Invalid traffic costs you twice. Advertisers pay for impressions no human saw, and publishers get clawbacks or get dropped by demand partners. Off-the-shelf tools help, but they treat your traffic like everyone else's. A detection layer built into your own stack can use signals only you have, and it can act in real time instead of in a report three days later.

What I've built

Design decisions that matter

What goes into a fingerprint. Put unstable fields in the hash and the same real user turns into ten "devices". Leave too much out and different devices collide. We keep one hash over stable fields only, and compare network data like IP range separately instead of baking it into the fingerprint.

Where the check runs. Some checks have to happen before the bid, inside the latency budget. Others are better done in a stream job after the fact. Mixing them up either slows the bidder down or lets fraud through.

Fail open or fail closed. If the fraud service is slow, do you bid anyway or skip? The answer is different for a premium publisher and for unknown traffic, and it should be a decision, not an accident.

How I can help

Seeing traffic you don't trust?

Email haiderzamanusafxay@gmail.com with what you're seeing and where it's coming from.