ads.txt
A publisher’s public ledger of who may sell its inventory: a plain text file at the site root that buyers check before they bid.
Also said as: Authorized Digital Sellers · app-ads.txt (for apps)
- Published by IAB Tech Lab
- Records: domain, account ID, relationship
- DIRECT or RESELLER on every line
- app-ads.txt covers app inventory
In plain English
What it actually means.
Counterfeiting is a problem in any market, and ad tech is no exception. ads.txt fights it with something remarkably simple: a public text file, posted at the root of the publisher’s domain, that names every company allowed to sell that publisher’s inventory.
Each line records an exchange domain, an account ID and the relationship: DIRECT when the exchange sells for the publisher itself, RESELLER when it sells on someone else’s behalf. Buyers crawl these files and match every bid request against them.
If a bid arrives through a route the file does not authorise, a compliant buyer drops it. Legitimate routes stay open, and spend flows to the sellers the publisher actually appointed.
The schematic
Drawn on one sheet.
The whole mechanism on a single field schematic. Follow the numbered callouts.
- The ledgerOne public text file at the site root lists every authorised seller.
- The recordDomain, account ID and DIRECT/RESELLER identify each route.
- The checkBuyers match each bid against the file and drop unlisted routes.
How it works
Step by step.
The same motion, every impression, no exceptions.
Publish the file
The publisher (or their SSP) posts ads.txt at the site root and keeps it current as partners change.
Buyers crawl it
Exchanges and DSPs collect the file regularly and index who is authorised for each domain.
Every bid is matched
When a request arrives, the buyer checks the seller account against the ledger.
Unlisted routes dropped
Requests that fail the check are filtered, protecting budgets and the publisher’s yield.
- Line
- partner-a.example, PA-0001, DIRECT, f00dc0de
- Reads as
- partner-a may sell this inventory directly, account PA-0001
- Second line
- partner-b.example, PA-0002, RESELLER: sells on our behalf
- Buyer check
- PA-0001 appears in the file: bid allowed
- Counter-example
- Unlisted seat ID: bid dropped
Four fields per line, checked machine-to-machine, keep the selling chain honest.
Why it matters
Two sides, one term.
FOR PUBLISHERS
- Keeps demand from being blocked because ownership of the inventory looks unclear.
- Gives the publisher one auditable list of every company selling on its behalf.
- Pairs with sellers.json on the buyer side for a complete chain of custody.
FOR ADVERTISERS
- Confirms the inventory behind a bid request is really the publisher’s to sell.
- Reduces wasted spend on spoofed or hijacked inventory routes.
- Makes supply-path decisions evidence-based rather than trust-based.
The Press Anchor angle
Where you meet it here.
Every Press Anchor publisher runs a maintained ads.txt (and app-ads.txt for apps) listing our SSP accounts as DIRECT. And our buyers check it before a single bid is placed.
“ads.txt raises yields by itself.”
It is an authorisation ledger, not an optimisation tool. What it does is stop buyers from filtering your inventory because its origin cannot be verified, and stop counterfeit sellers from riding on your name.
Keep reading
Related entries.
SSP: Supply-Side Platform
Software that sells advertising on behalf of publishers. An SSP fans each impression out to DSPs, exchanges and deal lines, runs the auction, and reports every clearing price.
ENTRY 08Programmatic Guaranteed
The automated version of the traditional upfront: publisher and buyer agree a volume and a rate, a Deal ID locks it, and delivery paces itself across the flight.
ENTRY 07Private Marketplace
A restricted auction over selected premium placements. Entry is by invitation through a Deal ID, floors are negotiated, and only shortlisted buyers compete.
ENTRY 09Real-Time Bidding
The method behind programmatic: every single impression is auctioned in real time: call, bids, clearing and delivery all inside roughly 100 milliseconds.
Sell with it.
ads.txt in production: one tag, every screen, every price visible.
Become a publisherBuy with it.
Put ads.txt to work against premium inventory: booked, measured, reported.
Book a campaign