Blog · 11 November 2026

ads.txt and sellers.json explained

Two small files decide whether good buyers bid on your ad space. Here is what they do and how to keep them right.

If you sell ad space, two small text files matter more than most design decisions: your ads.txt and the sellers.json of the companies that sell for you. Buyers read both before they bid. When they do not match, your ad space is treated as unverified and the good budgets go elsewhere.

What ads.txt is

ads.txt is a plain text file in the root of your domain, for example yoursite.com/ads.txt. Each line names one company that is allowed to sell your ad space, its account number with that company and whether it sells directly or as a reseller. The format was published by the IAB Tech Lab so that nobody can pretend to sell space on a site they have nothing to do with.

A line looks like this:

example-exchange.com, 12345, DIRECT, f08c47fec0942fa0

The first part is the selling system, the second your account there, the third the relationship and the optional last part a certificate ID of that system.

What sellers.json adds

sellers.json is the other half. Every company that sells ad space publishes a list of the accounts it sells for. A buyer who sees account 12345 in your ads.txt can look it up in the seller's file and see who is behind it. Together the two files let a buyer follow the path from your page to the company that gets paid.

The mistakes we see most often

  • Old lines. You stopped working with a network two years ago, but its lines are still there. Remove them. Every line is a permission.
  • Missing lines. A new partner was added in the ad setup, but not in the file. Its bids are then filtered out by many buyers.
  • Wrong place. The file must be reachable at the root of the domain that shows the ads, without a login and without a redirect to another site that buyers cannot follow.
  • Typing errors. One wrong character in an account number is enough to make a line worthless.

Two lines that are often forgotten

OWNERDOMAIN names the domain of the business that owns the site. MANAGERDOMAIN names the company that manages your ad sales, if you use one. Both help buyers understand who they are dealing with, and both are part of the current version of the standard.

How to keep it right

Check the file whenever your ad setup changes, and once a month even if nothing changed. Open it in a browser, compare it line by line with what your partners gave you and delete what you no longer use.

If you work with us, you do not have to do this by hand. You get your lines ready to copy, as a file and as a hosted address, and a daily check tells you in your dashboard when a line is missing. Our own sellers.json is public.

The full specifications are free to read at the IAB Tech Lab.

← All articles

See what your site could earn

Add your website and get an offer with your expected range, or ask us first.