Skip to content
Skip to content
Glossary · Advertising Technology

ads.txt

Authorized Digital Sellers. A text file a website publishes to list the companies allowed to sell its advertising inventory.

What is ads.txt?

ads.txt is an IAB Tech Lab standard that gives website owners a public, crawlable way to declare which advertising systems may sell their inventory and under which account IDs. Each entry also states whether the relationship is direct, meaning the publisher controls the account, or reseller, meaning a third party is authorized to sell on its behalf. Buyers and verification vendors crawl these files and compare them with the seller information in each bid request. Together with sellers.json and the SupplyChain object, it forms the core of supply-chain transparency in programmatic advertising.

How ads.txt works

The publisher places the file at the root of its domain. Each line names a selling system and the publisher’s account in it. Buyers check the file before bidding.

  1. The publisher collects the seller account IDs from each platform authorized to sell its inventory.
  2. It writes one line per relationship: the ad system domain, the account ID, DIRECT or RESELLER, and an optional certification authority ID.
  3. The file is hosted as plain text at the root of the domain so crawlers can fetch it.
  4. Buyers crawl the file regularly and match each bid request’s seller ID against the authorized entries.
  5. Requests from unlisted sellers are flagged or declined by buyers that enforce the standard.

Why it matters

It makes it harder for unauthorized parties to sell inventory that claims to come from a site. Buyers increasingly avoid supply that is not listed.

For publishers

Keeping the file accurate protects revenue, because buyers that enforce ads.txt will not spend on paths that are missing from it.

For advertisers

It reduces exposure to domain spoofing, where low-quality inventory is passed off as coming from a premium site.

Practical example

Hypothetical example

A news site lists its supply-side platforms in ads.txt; a buyer declines a bid request for that site from a seller that is not in the file.

Key considerations

  • Outdated entries are a common cause of lost demand, so the file should be reviewed whenever a partner is added or removed.
  • Listing too many resellers can dilute trust and invite unnecessary intermediaries.
  • The file confirms authorization only; it does not prove traffic quality or viewability.
  • Optional fields such as OWNERDOMAIN and MANAGERDOMAIN help clarify who owns and manages the inventory.

More Advertising Technology terms

Frequently asked questions

Where must ads.txt be placed?

At the root of the domain, for example example.com/ads.txt, served as plain text and reachable without redirects to other domains.

What is the difference between DIRECT and RESELLER?

DIRECT means the publisher controls the selling account. RESELLER means another company has been authorized to sell the inventory through its own account.

Does ads.txt cover apps?

No. Apps use the companion standard app-ads.txt, hosted on the developer website listed in the app store.