Each line is checked for format, then looked up in the ad system’s own sellers.json, so a typo and an account that does not exist show up as separate problems.
An ads.txt checker reads a site’s ads.txt and app-ads.txt, the public list of ad systems and account IDs allowed to sell its ad space, and flags every line a buyer would skip.
How to read the results
| you see | meaning | next step |
|---|---|---|
| file table: found, lines, DIRECT, RESELLER | what the file holds | no ads.txt on a site that runs ads: publish one |
| problems table, Error | the line is broken or the account is not listed | fix or delete the line |
| problems table, Warning | legal, but buyers may distrust it | compare with your ad system’s dashboard |
| ad system table | per ad system: lines, and how many IDs match its sellers.json | one with many “not listed” is the first to clean |
For comparison, on 26 Nov 2026 our run read 32 lines in nytimes.com’s ads.txt, all DIRECT, across 15 ad systems: 2 errors, 13 warnings. cnn.com’s ads.txt had 946 lines (230 DIRECT, 716 RESELLER) across 136 ad systems; with its app-ads.txt, 71 errors and 386 warnings.
App-ads.txt checker: same run, same checks
Apps publish app-ads.txt on the developer website listed in their app store page. Enter that domain. The run reads /app-ads.txt next to /ads.txt and puts both through the same line checks.
- A site with no apps needs no app-ads.txt, so a missing one is not an error.
- The file table shows each file on its own row: found, lines, DIRECT, RESELLER.
sellers.json validator: what we match
sellers.json is the ad system’s own list of the accounts it pays: account ID, seller type, name and domain. Every line in ads.txt points at one of those accounts. We look each one up and test 3 things.
| test | passes when | fails as |
|---|---|---|
| listed | the account ID is in the ad system’s sellers.json | error: not listed |
| seller type | DIRECT = PUBLISHER or BOTH; RESELLER = INTERMEDIARY or BOTH | warning: wrong type |
| domain (DIRECT only) | the account’s domain is this site, its OWNERDOMAIN or its MANAGERDOMAIN |
warning: another site’s account |
A confidential entry hides its name and domain, so only the type is tested. A DIRECT line on another site’s account is the classic ads.txt fraud signal: the ad money goes to someone who does not own the page.
sellers.json example: the file behind each ads.txt line
One entry looks like this (placeholder values):
{
"seller_id": "pub-0000000000000000",
"name": "Example News Ltd",
"domain": "example.com",
"seller_type": "PUBLISHER"
}
A confidential seller has "is_confidential": 1 and no name or domain. The line google.com, pub-0000000000000000, DIRECT is true only if that ID is listed as PUBLISHER or BOTH, and the domain is the site’s own.
The 15 sellers.json files behind our run, read in full on 26 Nov 2026:
| ad system | accounts listed | PUBLISHER | INTERMEDIARY | BOTH | file size |
|---|---|---|---|---|---|
| google.com | 902,004 | 901,413 | 0 | 591 | 100.4 MB |
| pubmatic.com | 6,547 (17 without a type) | 3,592 | 2,656 | 282 | 943 KB |
| rubiconproject.com | 3,327 | 1,634 | 1,567 | 126 | 375 KB |
| appnexus.com | 1,415 | 890 | 305 | 220 | 201 KB |
| openx.com | 8,168 | 2,117 | 5,872 | 179 | 1.5 MB |
| indexexchange.com | 4,047 | 1,779 | 2,059 | 209 | 548 KB |
| smartadserver.com | 2,735 | 1,389 | 1,132 | 214 | 455 KB |
| video.unrulymedia.com | 1,617 | 829 | 758 | 30 | 294 KB |
| themediagrid.com | 1,705 | 1,168 | 393 | 144 | 173 KB |
| triplelift.com | 8,015 | 3,841 | 4,097 | 77 | 1.3 MB |
| contextweb.com | 35 | 10 | 25 | 0 | 4.8 KB |
| sharethrough.com | 5,238 | 2,782 | 2,170 | 286 | 824 KB |
| improvedigital.com | 20,516 | 19,610 | 625 | 281 | 2.7 MB |
| onetag.com | 2,366 | 316 | 1,977 | 73 | 413 KB |
| media.net | 2,856 | 1,485 | 1,314 | 57 | 396 KB |
Google’s file holds 902,004 accounts in 100 MB, and 901,413 of them are PUBLISHER. contextweb.com lists 35. openx.com, triplelift.com, onetag.com and indexexchange.com file more accounts as INTERMEDIARY than as PUBLISHER, and a DIRECT line only matches a PUBLISHER or BOTH account.
What we check
| step | what we do |
|---|---|
| 1 | fetch /ads.txt and /app-ads.txt from the domain, www cut, up to 2 MB each |
| 2 | check the file: HTML instead of text, empty, not text/plain, plain http, a second redirect after the file leaves your domain |
| 3 | parse each line per the IAB ads.txt 1.1 spec: fields, DIRECT or RESELLER, OWNERDOMAIN, MANAGERDOMAIN, CONTACT, SUBDOMAIN, INVENTORYPARTNERDOMAIN |
| 4 | find duplicates, and one account listed as both DIRECT and RESELLER |
| 5 | fetch sellers.json for the 8 ad systems with most lines, and look up every account ID on them |
Common errors
| message | why it happens | fix |
|---|---|---|
| needs 3 or 4 comma separated fields | a missing comma, or a line pasted with spaces | domain, account ID, DIRECT or RESELLER |
| relationship must be DIRECT or RESELLER | typo, or a note in the line | use DIRECT or RESELLER |
| ad system must be a bare domain | a URL pasted instead of openx.com |
remove https:// and the path |
| answers with an HTML page, not text | no ads.txt, and the site’s 404 page answers with 200 | publish the file, or serve a real 404 |
| content-type is text/html | the server labels the file wrong | send text/plain |
| redirects twice, the second time from another domain | the file hops from your site to a partner, then on again | point the first redirect at the final file |
| seller_id is not in sellers.json | typo, closed account, old line | ask the ad system for the right ID, or delete it |
| DIRECT but the system lists it as INTERMEDIARY | the account is a reseller, or the line has the wrong word | change the word or the account |
| DIRECT, but the seller’s domain is another site | an agency account, or a copied line | check it is your account |
| duplicate of line N | pasted twice | delete one |
ads.txt on 740 news sites: 83% of DIRECT lines don’t match sellers.json
On 26 Nov 2026 we read /ads.txt and /app-ads.txt on all 929 news and media sites in the Tranco top 10,000. 740 publish an ads.txt with lines. Every DIRECT line at the 15 most common ad systems was matched against that system’s full sellers.json.
| result | DIRECT lines | share |
|---|---|---|
| match: PUBLISHER or BOTH, the site’s own domain | 7,048 | 13.7% |
| seller ID not in sellers.json | 13,997 | 27.3% |
| listed as INTERMEDIARY (a reseller) | 19,404 | 37.8% |
| listed under another site’s domain | 9,175 | 17.9% |
| confidential, domain hidden | 1,679 | 3.3% |
| checked (one per account per site) | 51,303 | 100% |
42,576 of 51,303 DIRECT lines (83.0%) fail the match. 698 of the 732 sites with a checked line have at least one; 34 have none. The median site fails on 77.1% of its DIRECT lines.
6,826 of the INTERMEDIARY hits are accounts the ad system files under google.com, with “(via EB)” in the name: Google’s Open Bidding. Count those as fine and 35,750 lines (69.7%) still fail.
Smaller sites fail more:
| Tranco rank | news sites | with ads.txt | DIRECT lines checked | fail |
|---|---|---|---|---|
| 1-1,000 | 74 | 56 | 3,011 | 70.3% |
| 1,001-5,000 | 344 | 268 | 15,610 | 78.7% |
| 5,001-10,000 | 511 | 416 | 32,682 | 86.2% |
Per ad system (news sites = sites that list it; fail = not listed + INTERMEDIARY + another domain):
| ad system | news sites | DIRECT checked | match | not listed | INTERMEDIARY | other domain | fail |
|---|---|---|---|---|---|---|---|
| google.com | 732 | 9,520 | 847 | 4,110 | 0 | 2,888 | 73.5% |
| pubmatic.com | 706 | 5,003 | 763 | 291 | 3,169 | 780 | 84.7% |
| rubiconproject.com | 703 | 5,078 | 519 | 1,111 | 2,973 | 474 | 89.8% |
| appnexus.com | 701 | 2,980 | 282 | 935 | 707 | 1,055 | 90.5% |
| openx.com | 686 | 3,448 | 596 | 637 | 1,841 | 374 | 82.7% |
| indexexchange.com | 689 | 3,528 | 860 | 1,516 | 680 | 472 | 75.6% |
| smartadserver.com | 672 | 2,688 | 370 | 673 | 952 | 692 | 86.2% |
| video.unrulymedia.com | 643 | 1,824 | 198 | 1,013 | 444 | 169 | 89.1% |
| themediagrid.com | 645 | 2,957 | 376 | 824 | 1,175 | 582 | 87.3% |
| triplelift.com | 642 | 4,081 | 996 | 689 | 1,802 | 594 | 75.6% |
| contextweb.com | 629 | 418 | 0 | 355 | 63 | 0 | 100% |
| sharethrough.com | 630 | 2,142 | 433 | 81 | 1,299 | 328 | 79.7% |
| improvedigital.com | 622 | 965 | 97 | 323 | 197 | 348 | 89.9% |
| onetag.com | 622 | 4,254 | 159 | 920 | 2,951 | 224 | 96.3% |
| media.net | 620 | 2,417 | 552 | 519 | 1,151 | 195 | 77.2% |
contextweb.com’s sellers.json lists 35 accounts, so most of its lines cannot match.
What the files hold:
| what | count |
|---|---|
| ads.txt lines, all 740 sites | 741,202 (22.2% DIRECT) |
| median file | 394 lines, 89 ad systems |
| sites over 500 lines | 313 |
| biggest file | cnnindonesia.com, 17,564 lines |
| malformed lines | 1,657 on 243 sites |
| lines with no certification ID (field 4) | 289,460 (39.1%) |
sites with OWNERDOMAIN / MANAGERDOMAIN |
564 / 292 |
| ads.txt address answers with an HTML page | 19 sites |
| app-ads.txt with lines | 439 sites |
Top malformed lines: wrong field count 699, relationship not DIRECT or RESELLER 332, ad system not a valid domain 326, spaces instead of commas 180, empty account ID 43, OWNERDOMAIN twice 38.
Most failures are old lines and partner accounts pasted as DIRECT, not theft. They still cost money: buyers that check sellers.json skip those lines. Every site and the 15 ad systems: download the CSV or JSON (CC BY 4.0).
Why ads.txt matters for made-for-advertising sites
Buyers use ads.txt and sellers.json to see who may sell a site’s ads. A made-for-advertising site often lists dozens of RESELLER lines to many accounts. A long RESELLER list is not proof of anything, but it is where to look first: made-for-advertising sites.
Limits
- We read a file from our own server, as a buyer’s crawler would. sellers.json is read for the 8 ad systems with most lines, and the first 4 MB of each. Google’s is about 100 MB, so its lines show “file too big to read in full”.
- A daily limit per visitor. Public addresses only.