CTV Inventory Spoofing: Proving Where Ads Played
ads.txt says who may sell an app, not where an ad played. How leaked tags and IPTV restreams spoof CTV inventory, and the checks that prove origin.

CTV inventory spoofing is when a real device or a real server plays your ad tag somewhere it does not belong: inside a different app, on an IPTV panel restreaming your channel, or in a data-centre loop. The buyer pays for your channel and gets something else. ads.txt, app-ads.txt and sellers.json cannot catch it, because they say who may sell an app, not where a request came from. To prove where an ad played, you have to compare every request with what the channel declared: the browser’s Origin for web, the app bundle for apps, the device family against the channel’s platforms, whether a server relayed the request, and whether the impression beacon came from the same kind of device as the request. Then you judge traffic in slices, by how many distinct addresses and networks it comes from, not one request at a time.
Most writing on CTV fraud is about bots and fake devices: the large schemes that verification vendors uncover and name. This post is about the quieter version a publisher can have without anyone intending fraud: a tag that leaked. I run product at LtvAdx, a CTV and linear TV ad exchange, and in November 2026 we built checks for exactly this and ran them on our own traffic. What we found on one channel is below. It is the most useful thing in this post, because it shows what a leaked tag actually looks like in the data.
Spoofing is not the same as bot traffic
Invalid traffic (IVT) asks whether a human was there. Spoofing asks whether the impression came from where it says. They overlap, but they need different checks. A real person watching a pirated restream of your channel on a cheap Android box is a human. The impression is still not your channel’s inventory, and an advertiser who bought your channel did not buy that.
Here is how spoofing works on each delivery path, and what a spoofer can and cannot fake:
Path How the spoof works Easy to forge Hard to forge
──────────────────── ─────────────────────────────── ──────────────────── ──────────────────────
Client VAST, web Copy the tag from page source, Any header sent by Origin set by a real
call it from another site, a a server or app browser; how many
panel or a headless browser addresses it comes from
Client VAST, apps Use channel A's tag in app B, platform=, bundle, Device family matching
or replay it from a device farm user agent, ifa between request and
beacon; spread over days
SSAI or relay A server claims to be a Relayed viewer IP Being inside a vetted
stitcher and invents viewers and user agent network range
Outbound RTB A spoofed request is forwarded Nothing new: buyers What the exchange puts
to DSPs under your seller ID judge the exchange in schain, domain, bundleThe SSAI row is not hypothetical. HUMAN’s Satori team described ICEBUCKET, an operation that sent ad requests from data centres pretending to be SSAI servers for real devices, at nearly 1.9 billion requests a day near its peak in January 2020, in its write-up of the operation. The CTV ad fraud post covers those large schemes. This one stays with the publisher’s side.
Why ads.txt and sellers.json do not stop it
app-ads.txt lets an app’s developer list who may sell its inventory. sellers.json lets an exchange list who it pays. The supply chain object records every company a request passed through. All three answer the question “is this seller allowed to sell this app?” None of them answers “did this request come from that app?”
A leaked tag passes every one of those checks. The request names the right channel, the exchange’s seller ID is right, the publisher really does own the app, and the app-ads.txt line is there. Everything about the paperwork is correct. Only the place the ad played is wrong. That is why the publisher’s authorization check on LtvAdx and the genuineness checks are separate: the first is about who may sell, the second about where traffic came from. The help article on app-ads.txt covers the first, and the supply path optimization guide covers how buyers use it.
What a leaked tag looked like in our own traffic
Before building anything, we read seven days of requests to our ad server, grouped by channel, user agent and referrer, with no IP address or device ID printed or stored. One web channel stood out. Its requests fell into three groups:
- Browsers with Google’s IMA SDK as the referrer, spread across more than a thousand different addresses. This is what real viewers on a website look like: a video player on the publisher’s page, many households, a daily curve that follows viewing.
- Browsers with no referrer at all, coming from a few dozen addresses. Real browsers do not usually send that much traffic from that few places.
- No browser at all: user agents from IPTV panel software, ffmpeg, VLC and HTTP libraries in Go and Java, also from a few dozen addresses.
About 85% of that channel’s requests came from roughly 80 addresses running IPTV panels, media tools and HTTP libraries. When we later added network lookups, Amazon’s cloud network carried 83% of the channel’s requests we looked up that day. That is a restream: IPTV operators taking the channel’s stream, ad tag included, and redistributing it from servers. Nobody at the publisher had done anything wrong. The tag was public in their page source, and their stream was public.
It cost nothing at the time, because no campaign was filling that channel. The first one that did would have billed impressions that were not that channel’s viewers. A buyer’s verification vendor would have flagged it, and the conversation that follows that kind of finding is never about one channel. It is about whether the exchange can be trusted.
We found a second problem at the same time, and it is more common. No tag on our exchange sent an app bundle or a page address. One app sent an app ID of dev, a placeholder never replaced. With nothing to compare, no request could be proven genuine. The best any of them could be was “nothing contradicts this”. That is a weak position from which to promise a buyer anything.
Web channels: trust the browser’s Origin, not the Referer
A browser adds an Origin header to cross-origin requests, and a web page cannot change it; MDN’s reference describes when it is sent. A real browser on another website sends that website’s origin. That makes Origin the strongest cheap signal for a web channel. A server or an app can forge any header, but a forged Origin from a server is just one more signal that disagrees with the rest.
Referer is weaker than it looks. On our web traffic, most requests carried no referrer at all, because of referrer policies, and most of the rest carried imasdk.googleapis.com, because Google’s IMA SDK makes the ad request from its own frame. That host tells you an IMA player is involved. It tells you nothing about which page it is on.
So a web check needs three signals, in order: Origin, then the Referer host, then a page-address macro the tag carries, such as the VAST [PAGEURL] macro, which most web players fill. Each request then falls into one of these classes:
- MATCH: the origin or page is one of the channel’s domains or their subdomains.
- FOREIGN: a real origin outside that list. Strong evidence on a web-only channel.
- SDK: only an ad SDK host is visible, so the page-address macro decides.
- NONE: no origin and no referrer. Apps and servers look like this. Never punished on its own.
The obvious false positive is a publisher’s second domain, or a player hosted on a vendor’s domain. The fix is a list of domains per channel, each one proven. On LtvAdx, a publisher adds a domain and proves it by publishing our ads.txt line on it, or staff confirm it. Syndication to a partner’s site is real but foreign: the partner should get its own channel.
App channels: the bundle macro and the device family
An app has no Origin. The equivalent signal is the app’s bundle or store ID, passed in the tag. The VAST standard defines an [APPBUNDLE] macro for this, and platforms have their own: Roku apps can read the channel ID at run time.
One detail matters more than any other here. The bundle must be filled by the player at run time, never typed into the tag. If you hard-code your bundle into the tag, every copy of the tag carries it, and the check proves nothing. Our tag generator now adds bundle=[APPBUNDLE] for app channels and url=[PAGEURL] for web, and says exactly that next to the field.
A bundle can be forged, so a match is weak proof. A mismatch is strong evidence. Nobody types the wrong bundle by accident twice. Placeholders are their own class: dev, test, or an unfilled macro such as a literal [APPBUNDLE] means the integration is unfinished, not that anyone is cheating.
The second app signal is the device family from the user agent, compared with the platforms the channel declared. Roku, Fire TV and Apple TV players have distinctive user agents. We sort the rest into families: browsers; app HTTP stacks such as Android’s Dalvik and okhttp, which are normal for apps and odd for a web-only channel; media tools such as ffmpeg, VLC, Kodi and IPTV panel software, which are restreaming signatures; and server libraries such as Go’s HTTP client, Python, curl and Node. A Roku user agent on a web-only channel is off-channel. An ffmpeg user agent on any channel is worth a look.
Servers, stitchers and relayed viewers
Server-side ad insertion makes the problem harder, because a legitimate stitcher also calls from a data centre, with its own user agent, on behalf of viewers it describes in headers. That is exactly the shape ICEBUCKET copied. The defence is to believe relayed viewer details only from networks you have vetted. On LtvAdx, a server’s X-Device-IP and X-Device-User-Agent headers are believed only from partner ranges on an explicit list. Anyone else sending them is classed as an unvetted relay, which is suspicious in itself. Publishers register their own stitcher’s ranges so its traffic is not mistaken for data-centre fraud. The SSAI set-up article covers that, and the SSAI explainer covers why stitchers call from servers at all.
This also changes how much IP-based targeting you can trust on SSAI traffic, which the post on IP geotargeting accuracy covers, and how households are built from IPs, covered in the CGNAT post.
Does the beacon come from the same device as the request?
A spoofer can make the ad request look right. Making the impression beacon look consistent with it is harder, because a real player fires the beacon from wherever it really is. So at the moment an ad is chosen, we store a small record against the request: the device family, a keyed hash of its /24 network (a /48 for IPv6), whether it came from a vetted stitcher, and the request’s verdict. No raw address is kept. When the impression beacon arrives, we compare:
SAME same device family, same network
FAMILY_DIFF e.g. a Roku request, a browser beacon strong evidence
NET_DIFF same family, different network weak on its own (mobile hand-offs)
SSAI_VETTED beacon from a vetted stitcher range expected for server-side beacons
SSAI_UNVETTED request from a stitcher, beacon from an strong evidence
unvetted server
NO_CONTEXT no record (expired or never stored)The tracking URLs themselves are already signed, so an edited beacon is recorded but never billed. The post on server-side and client-side beacons explains why the two kinds of beacon behave so differently, and the fill rate versus rendered impressions post covers why a filled request is not yet an impression.
Judge slices of traffic, not single requests
No single request proves a restream. The pattern does. The useful unit is a slice: one channel, one device family, one source, one referrer class. For each slice and day, we keep the number of requests, an estimate of how many distinct addresses and /24 networks they came from (HyperLogLog counts over keyed hashes, so the addresses themselves are never stored), and the top networks by share.
A slice where a media-tool or server user agent carries most of a channel’s volume from a small number of addresses is concentrated. That was our web channel: the IMA browser slice was healthy and kept selling in our model; the restream slices were marked WATCH. Judging the slice rather than the channel matters, because otherwise you punish a publisher’s real viewers for a pirate’s copy.
Over time, each channel gets a baseline: the trailing 28 days, using the median and the median absolute deviation, which resist the odd spike. A day far outside it on device mix, country mix or requests per address is drift. A network that usually carries under 1% of a channel’s traffic and suddenly carries 10% or more is a strong signal on its own; it needs seven earlier days of data before it can fire. Network data comes from MaxMind’s GeoLite2 databases, which we refresh monthly.
Two cautions apply. Some publishers really do serve from clouds: their own stitchers, their own test rigs. Register them. And concentration means little on very small channels. A channel with a dozen viewers looks concentrated by definition, which is why rules need a minimum volume before they mean anything.
Verdicts, and what each one should do
Each request gets one verdict. GENUINE means positive proof: a matching origin, page or bundle, and nothing contradicting it. CONSISTENT means nothing contradicts and nothing proves. SUSPECT means something contradicts the channel.
The response should rise in steps: count it; flag it to staff and the publisher; exclude the slice from programmatic demand while the publisher’s own direct campaigns still serve; stop billing the impression, the same way invalid traffic is not billed; and finally open a review of the channel. On LtvAdx, these checks run in report mode today. They record evidence and change nothing about serving, billing or payment. The plan is to read at least 14 days of evidence before any rule moves to enforcement, and the strong reasons that would stop billing are specific: a foreign origin on a web channel, a bundle mismatch, a media-tool or server source that is not a vetted stitcher, an unvetted relay, or a beacon from a different device family. A request with no origin is never punished for that alone, because apps and stitchers never send one.
When enforcement comes, it follows the same policy as invalid traffic: what is not billed to the advertiser is not paid to the publisher, and a publisher can appeal. The invalid traffic policy, the monetisation policy and the help article on policy cases and appeals set out the process, and the article on what invalid traffic means for you explains how it shows in reports.
What a publisher should do this week
- Add the run-time macros to every tag.
[PAGEURL]on web players, the bundle macro on apps, filled by the player. Re-copy your tag from the generator; the help article on your VAST tag lists each parameter. - List every domain and app you use. A second site, a vendor-hosted player, a partner embed. Anything you do not list will look foreign.
- Register your stitcher’s ranges if you run SSAI, so its server traffic is not confused with a relay.
- Look at your own logs by user agent. If you see ffmpeg, VLC, Lavf or IPTV panel names calling your ad tag, your stream and tag are being redistributed.
- Keep tags out of public places you do not need them. A tag in a public GitHub repo or a forum post will be found. If you call us from your own ad server, a wrapper keeps our tag out of your page source, though anyone watching network traffic can still see it.
- Check your app-ads.txt anyway. It does not prove where traffic came from, but buyers check it first. A missing line costs demand before genuineness is even asked about.
The VAST inspector shows what a tag returns, which is a quick way to check the macros are in it. If you are measuring how much of your inventory is real at all, the post on measuring avails is the right companion to this one.
What a buyer should ask an exchange
- Which signals do you check per request? Origin, bundle, device family, relay source, beacon consistency. If the answer is “we check ads.txt”, that is authorization, not origin.
- What share of a channel’s requests carry a bundle or page address? If it is zero, nothing on that channel can be proven genuine.
- Do you judge slices or whole channels? Whole-channel decisions either punish real viewers or excuse restreams.
- Who may relay viewer details? A named list of stitcher ranges, or anyone who sends the header.
- What happens to a suspect impression? Counted, excluded, unbilled, and on what evidence.
- What do you pass on? Domain and bundle fields in an outbound bid request should only be sent when the exchange has checked them. The OpenRTB 2.6
site.domainandapp.bundlefields are only as good as the check behind them.
The longer-term fix for that last point is signed requests. IAB Tech Lab’s ads.cert lets an exchange sign what it sends, so a buyer can verify it came from that exchange unaltered. It moves trust from “this field says so” to “this signature says so”. It still depends on the exchange having checked the field before signing it. The post on where the CTV ad dollar goes covers the rest of the chain, and the brand safety guide covers the controls buyers usually ask about first.
If you publish a CTV or FAST channel and want these checks on your inventory, the publisher page explains how LtvAdx works with channels, the ad server page covers serving, and you can create an account to add a channel.
Frequently asked questions
What is CTV inventory spoofing?
It is when an ad request claims to come from one CTV app or channel but actually comes from somewhere else: a different app, an IPTV restream, a device farm or a server. The buyer pays for the named channel and gets other traffic. It differs from bot traffic because a real person may be watching, just not on the inventory that was sold.
Does app-ads.txt prevent CTV spoofing?
No. app-ads.txt says which sellers may sell an app’s inventory. A request using a leaked tag still names the right app and the right seller, so it passes. Proving where a request came from needs checks on the request itself, such as the bundle, device family and beacon consistency.
How do I know if my CTV ad tag has leaked?
Look at the user agents calling your tag. IPTV panel software, ffmpeg, VLC or HTTP libraries such as Go or Python, especially from a small number of addresses or from cloud networks, mean your stream and tag are being redistributed. A web channel getting requests with foreign origins means the tag is running on other sites.
Should the app bundle be hard-coded in the VAST tag?
No. Use a macro such as [APPBUNDLE] that the player fills at run time. If you type the bundle into the tag, every copy of the tag carries it, and the check proves nothing. A run-time value lets the exchange compare what the app reports with what the channel declared.
Why is the Referer header not enough to verify a web channel?
Many requests carry no Referer because of referrer policies, and players built on Google’s IMA SDK send the SDK’s own host instead of the page. The browser’s Origin header is stronger because a page cannot change it, and a page-address macro such as [PAGEURL] fills the gap when only an SDK host is visible.
Are spoofed impressions billed on LtvAdx?
Today the genuineness checks run in report mode: they record evidence without changing serving or billing. Invalid traffic is already not billed. The plan is to stop billing impressions with strong spoofing evidence, such as a bundle mismatch or a foreign origin on a web channel, after reviewing at least 14 days of evidence, with the same appeal route as invalid traffic.
Stay ahead of CTV and addressable TV
Get articles on streaming monetization, identity, and programmatic TV.
Subscribe + request demo →Head of CTV Product, LtvAdx
Related articles

CTV Ad Category Blocking: What bcat Really Blocks
OpenRTB defaults to a deprecated taxonomy with no gambling or crypto codes. How bcat, badv and cattax work, where CTV block lists leak, and how to close them.

CTV Ad Avails: How to Measure Your Real Inventory
Ad requests are not avails. How to filter, split and report a channel's real CTV inventory, count unique households and turn it into a forecast.

Selling Ads Directly on Your FAST Channel
What a direct-sold CTV campaign needs to serve: a playable creative, channels, pacing and targeting. Plus the defects we fixed and a live test.

CDN for CTV Ads: What to Cache, What to Keep Off
Put CTV ad media on a CDN, keep VAST, beacons and SSAI manifests off it. The caching rules, two near-outages and a DNS mistake from our own cutover.
SSAI Tracking: Server-Side vs Client-Side Beacons
Server-side SSAI beacons fire when segments are fetched, not watched. How server and client tracking differ, and three problems both must solve.

SCTE-35 in HLS: What Breaks When You Stitch Live
Reading the SCTE-35 cue is easy. Filling the break, keeping HLS sequence numbers monotonic and deciding once across variants is where live SSAI fails.
Start trading TV
Ready to monetise CTV inventory?
See how LtvAdx fits your streaming and addressable TV setup — start free or book a walkthrough.
<10ms
Ad decision latency
P95, measured on the ad server
7-tier
HouseholdID graph tiers
UID2 · PPID · ADID · DeviceID · ACR · IP/24 · fingerprint
Illustrative platform metrics · System status