ads.txt & app-ads.txt Checker

Fetch and validate ads.txt or app-ads.txt (IAB 1.1, OWNERDOMAIN, MANAGERDOMAIN): errors, duplicates, required lines and a sellers.json cross-check.

Free tool: 20 requests per minute.

Result

Press “Run” to see the result.

Buyers skip inventory that is not authorised in ads.txt (websites) or app-ads.txt (apps, on the developer website listed in the store). Give a domain (and type=app-ads for apps) and the API fetches /ads.txt over HTTPS (falling back to HTTP), follows redirects within the IAB rules (only one hop outside the root domain), and parses every line with the IAB Tech Lab ads.txt 1.1 grammar: records <ad system domain>, <publisher ID>, <DIRECT|RESELLER>[, <certification authority ID>] with optional ; extensions, comments, and the variables CONTACT, SUBDOMAIN, INVENTORYPARTNERDOMAIN, OWNERDOMAIN and MANAGERDOMAIN (with optional country code). You can also post the file content before publishing it.

Each issue has a level, a code and the line number: wrong field count, URLs instead of domains, invalid relationship (e.g. "RESLLER"), IDs with spaces, duplicates, accounts listed both as DIRECT and RESELLER, aliases such as adsense.com instead of google.com, a wrong Google TAG ID or publisher ID format, more than one OWNERDOMAIN or MANAGERDOMAIN per country, an HTML page served instead of the file, a wrong Content-Type. Pass required (the lines your ad networks ask for, e.g. the AdSense or AdMob line) to see which are missing.

sellers=1 cross-checks the publisher IDs with the sellers.json of the ad systems (the max_systems most used, default 5, max 10): whether each ID exists, the seller name and domain, and whether seller_type PUBLISHER / INTERMEDIARY matches DIRECT / RESELLER. Large files such as Google's (over 100 MB) are streamed and only the needed IDs are kept; results are cached for a day.

Use this in your code

curl -X POST "https://apibox.io.vn/v1/ads-txt" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"content":"OWNERDOMAIN=example.vn\ngoogle.com, pub-1234567890123456, DIRECT, f08c47fec0942fa0\ngoogle.com, pub-1234567890123456, DIRECT, f08c47fec0942fa0\nadsense.com, pub-1234567890123456, DIRECT\nopenx.com, 537120563, RESELLER, 6a698e2ec38604c6"}'

API documentation → Get a free API key

FAQ

Where must app-ads.txt be?

At the root of the developer website listed in Google Play or the App Store, e.g. https://studio.example.vn/app-ads.txt, not on the app's own domain.

Is a redirect allowed?

Redirects within the same root domain are fine; the spec allows only one redirect to a different domain. The file must be plain text, not an HTML page.

What does seller_not_found mean?

The ad system's sellers.json has no seller with that ID: the ID may be wrong, the account closed or the file not updated yet. Ask the ad network to confirm.