← field notes

How Invalid Ad Traffic Actually Gets Detected

Somewhere right now, a company is paying for a person who was never there. A view that no eye saw, a click no finger made, an audience built out of machines pretending to be a crowd. This happens at a scale that’s hard to picture, billions of tiny transactions a day, each one resting on a single fragile assumption: that on the other end of the ad is a human being who might, just possibly, be paying attention. A lot of that attention is fake. So a whole hidden counter-industry exists to answer one question: how is invalid ad traffic detected, and how much of the money it drains can actually be clawed back.

The money problem

Start with how the money moves, because that’s where the whole problem is born. Advertisers don’t usually pay a flat fee to be seen. They pay per impression, a fraction of a cent every time an ad loads on a page, or per click, a larger amount every time someone supposedly taps through to their site. Multiply those tiny amounts across the entire internet and you get one of the largest markets on earth. Buried inside every one of those payments is an assumption: a real person on the other end loaded the page and did the clicking. The moment a machine can manufacture an impression or a click that looks real enough to bill for, it can print money out of thin air, one fraction of a cent at a time. Because the amounts are so small, nobody notices a single fake one. The fraud hides inside the sheer volume of ordinary traffic, which is what makes it lucrative and hard to see.

What counts as fake

The industry has a deliberately dry name for all of this: invalid traffic. The dryness hides how strange the catalogue really is. At the simple end are bots, programs that load pages and ad slots over and over, generating impressions for an audience of nobody. But a lot of invalid traffic is sneakier than a crude bot. An ad can be served and technically loaded while sitting hidden behind other content, billed as seen when no human ever could see it. An ad can be shrunk down to a single pixel, one dot in a corner, real by the letter of the rules and invisible in practice. Dozens of ads can be stacked in one spot, each counting as a separate impression while only the top one, if any, is ever visible. Then there are clicks with no human behind them, and low-quality farmed traffic bought in bulk just to pad the numbers. It’s a whole taxonomy of ways to charge for attention that was never actually paid.

The phantom audience

Picture what’s actually being sold. An impression isn’t a person, it’s a record, a line in a log that says an ad was delivered to a slot at a moment in time. That record is what gets counted, and what gets counted is what gets paid. So the entire game, for anyone building fake traffic, is to produce convincing records that look exactly like the ones a real audience leaves behind. A farm of machines can generate a phantom audience of millions, each one loading pages and leaving a neat trail of impressions that flows into the same billing systems as everyone else. The money doesn’t care whether the audience was real. It follows the records. The people hunting fraud aren’t really looking for bad actors. They’re looking for records that lie.

The leak

That money has to come from somewhere, so follow the leak. An advertiser sets a budget to reach humans. A chain of middlemen, exchanges, networks, resellers, passes that budget along toward whoever can supply the traffic. At every hop, a fake impression looks identical to a real one, so fraudulent supply competes directly with honest supply, and often wins, because it can be manufactured in unlimited quantity at almost no cost. A meaningful slice of every advertising dollar drains away into traffic no person ever witnessed, money meant to reach an audience that instead reaches a server farm. Nobody sends an invoice that says fraud. It simply disappears into the plumbing, a steady, structural loss baked into a system that pays for records and trusts them to be true.

The tells

So how do detectors find fakes hiding inside legitimate-looking traffic? They look for tells, the small ways a machine fails to imitate a human. A real person browsing leaves a messy, organic trail. They move the mouse in imperfect curves, they pause, they scroll partway and stop, they hesitate before clicking. A bot, especially a cheap one, is either too clean or too strange. It clicks with inhuman speed and precision, or it never moves the pointer at all. It loads a page and never scrolls, never lingers, never does the aimless things people do. Its engagement can be statistically impossible: a click-through rate no real audience has ever produced, a thousand visitors behaving in eerie lockstep. It arrives from IP addresses that belong to data centers rather than homes and phones, a crowd all bused in from the same warehouse. And it often carries known signatures, patterns detectors have catalogued from catching the same tools before. No single tell is proof. Together, they build a picture.

Viewability

One of the sharpest questions detectors ask is simple: could a human eye ever actually have had the chance to see this ad? That’s viewability, and it exists because so much fraud lives in ads that were technically served but never truly visible. Detectors measure whether an ad rendered inside the part of the screen a person was looking at, whether enough of it was on screen, and for long enough, that a real viewer could have registered it. An ad loaded behind another page fails. An ad shrunk to a single pixel fails. An ad stacked beneath five others fails. An ad that flickered on a page nobody scrolled to fails. Viewability doesn’t prove a human was present, but it rules out the impressions no human could possibly have seen, and that alone strips away a huge amount of manufactured inventory. It turns the vague idea of a view into something measurable, the difference between an ad that was merely delivered and one that stood a real chance of being seen.

The honeypot ad

Then there are the traps, the cleverest part of the whole hunt. A detector can plant something on a page that a human would never touch, but an automated program, blindly interacting with everything it finds, will trigger. An ad slot placed where no person would ever see it, so any interaction with it must be a machine. An invisible element, a bait link hidden from human eyes but perfectly plain to a script reading the code. A real visitor sails right past, never knowing it was there. A bot, unable to tell what’s shown from what’s hidden, blunders straight into it and gives itself away. These honeypots don’t just filter one impression, they identify the source, letting detectors recognize that same automated visitor everywhere else it goes. The trap catches the machine by exploiting the one thing it can’t do: actually look at the page the way a person does.

The referees

None of this would hold together without someone keeping score honestly, because the people measuring fraud often have a stake in the answer. So a layer of independent measurement and accreditation sits on top, bodies whose job is to audit the auditors. They set the technical definitions: how much of an ad must be on screen and for how long, what qualifies as invalid, how detection itself gets tested. They accredit the companies doing the measuring, checking that a firm claiming to catch fraud actually catches it by an agreed standard rather than its own convenient one. The point is to give buyers and sellers a shared language, so a view means roughly the same thing whether you’re the advertiser paying or the publisher being paid. It’s the closest thing this world has to a referee, an attempt to anchor a market that would otherwise drown in everyone grading their own homework.

The arms race

A referee doesn’t end the contest, it only sets the field, and the contest never stops. Every time detectors learn a tell, the makers of fake traffic study it and smooth it away. Detectors notice bots that never move the mouse, so the next generation learns to wiggle the pointer in lifelike curves. Detectors flag data center addresses, so the traffic reroutes through ordinary-looking homes and phones to disguise where it really comes from. And detectors adapt right back, reaching for subtler signals the imitators haven’t thought to fake yet. Detection can never declare victory, because the moment a method becomes reliable, it becomes a specification for the fraud to defeat. The best anyone honestly claims is to stay a step ahead, and to make faking expensive enough that it stops being worth the trouble.

The defenses

So what does the industry actually do with all this hunting, beyond naming the problem? The defenses come in layers. Some happen before the money moves, filtering traffic in the split second before an ad is bought, so supply flagged as invalid is simply never paid for. Some happen afterward, where impressions get re-examined and fraudulent ones are clawed back, charges reversed, money returned. There are shared blocklists of known bad sources, so a fraudster caught in one place gets shut out of many. There are quality scores that quietly starve suspicious supply of budget over time. And underneath it all is the simple discipline of not counting what can’t be verified, of treating an unproven impression as worthless until it earns some trust. None of these defenses is complete on its own, and each filters a different slice of the problem. Stacked together, though, they turn fraud from a free lunch into a running battle, one where a real share of the fakes get caught, discounted, or refunded before they can quietly walk off with the budget.

The double edge

Here’s where honesty demands the harder half of the story, because detection isn’t a clean win. It’s imperfect, and it’s adversarial, and its mistakes cost real people. Every filter that blocks fake traffic can also block real traffic by accident, and when it does, it starves a legitimate publisher of money they genuinely earned, punishing a real audience for looking, to a nervous filter, a little too good to be true. Over-block too hard and you strangle honest sites that live on ad revenue. Under-block and you wave the fraud through. Worse, almost everyone here has a reason to define “real” in their own favor. A network selling traffic wants the loosest definition of valid. A fraud detection firm needs just enough fraud to prove its worth. An advertiser wants numbers that flatter the campaign. So the measurement of what’s fake becomes a fog of claim and counter-claim, competing vendors reporting wildly different fraud rates for the exact same traffic, each with a business reason for its number. The hunt for fake attention is real and necessary, but it happens inside a hall of mirrors where no one can be fully trusted to hold the ruler.

What it’s really about

Underneath the entire advertising economy is a quiet, almost philosophical problem: how do you prove that attention happened at all? A view, a click, a glance, these are human things, and the internet only ever sees their shadows, the records left behind. Fraud is the art of forging those shadows, and detection is the art of telling a true shadow from a forged one, forever, at a scale of billions a day, with money riding on every guess, and never truly settled, because the moment you define what a real view looks like, you’ve handed the forgers the blueprint. The fake views draining the ad world’s money aren’t a glitch waiting to be patched. They’re the permanent price of building an economy on something you can’t directly see, and can only ever infer. The people doing the detecting aren’t chasing a bug, they’re guarding the boundary between what’s real and what merely looks real, and that boundary is where an enormous amount of the modern internet quietly lives.

If you want more of the machinery under the everyday internet explained this way, come poke around Hidden Internet.

Get new guides and videos first — join the Telegram channel.

watch
The Hidden Internet on YouTube

Every field note starts as a short documentary. Watch the systems in this piece explained on screen.

subscribe →
read on
More field notes

The rest of the series on how the modern internet detects, tracks, and sorts the traffic that reaches it.

browse the archive →