OpenAdLibraryOpenAdLibrary
Definition

ads.txt

ads.txt is a public file publishers host to declare exactly which companies are authorized to sell their ad inventory.

ads.txt — ad-tech glossary illustration

ads.txt (Authorized Digital Sellers) is a public text file that a publisher hosts at the root of its domain (for example, example.com/ads.txt) to declare which companies are authorized to sell its ad inventory. Introduced by the IAB Tech Lab, it is a simple, machine-readable allowlist designed to stop fraud in programmatic advertising.

How it works#

Each line names an authorized seller: the ad system's domain, the publisher's seller account ID, the relationship type (DIRECT or RESELLER), and an optional certification ID. Before bidding on inventory, buyers and Demand-Side Platforms crawl the publisher's ads.txt and check that the seller offering the impression is on the list. If it isn't, the inventory is treated as unauthorized and can be rejected.

Why it matters#

ads.txt directly attacks domain spoofing, where fraudsters sell fake impressions claiming to be a premium site, and unauthorized reselling. By publishing an authoritative list, publishers make it far harder for counterfeit inventory to pass as theirs. It is the publisher-side counterpart to sellers.json, which exposes the same relationships from the seller's side, and together with the SupplyChain Object (schain) it gives buyers a verifiable view of the ad supply chain. For app inventory, the equivalent file is app-ads.txt.

Related terms: sellers.json, SupplyChain Object (schain), and Ad Supply Chain.

The OpenAdLibrary Team
Written byThe OpenAdLibrary Team
Ad intelligence & native advertising research

We build OpenAdLibrary, the open ad-transparency platform. Every day our systems capture live native ads across Taboola, Outbrain, MGID, Revcontent, Teads, Yahoo and MSN, identify the real advertiser behind each one, and follow the click to its landing page. These guides distill what we see in that data so you can research the market faster.