Loading...
Loading...
Check any site's ads.txt against the IAB specification
An ads.txt file tells advertisers which companies are allowed to sell your ad space. A typo in a single line can mean buyers ignore that seller, and a missing or broken file can cost you revenue from networks such as Google AdSense.
Enter a domain below. The validator downloads /ads.txt from the site and checks each line against the IAB Tech Lab ads.txt specification. It reports syntax errors, unknown variables, duplicate records and publisher IDs that don't fit Google's format.
Once your file is valid, check whether each ad system actually lists your account with the sellers.json checker, or run a full ad-readiness scan.
Every record needs at least three comma-separated fields. The ad system field must be a domain and the account ID can't be empty.
The third field must be DIRECT (you control the account) or RESELLER (someone else sells on your behalf). Anything else is an error.
Recognises the spec's CONTACT, SUBDOMAIN, INVENTORYPARTNERDOMAIN, OWNERDOMAIN and MANAGERDOMAIN variables, and flags any it doesn't know.
Flags repeated records and google.com entries whose publisher ID isn't pub- followed by 16 digits, a common copy-paste mistake.
ads.txt (Authorized Digital Sellers) is a plain-text file published by the IAB Tech Lab. A publisher places it at the root of their domain to list every company allowed to sell their ad inventory. Buyers check it to avoid paying for spoofed inventory.
Each record has comma-separated fields: the ad system's domain, your publisher account ID in that system, the relationship (DIRECT or RESELLER), and an optional certification authority ID. For example: google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0. Lines starting with # are comments.
Some servers answer a request for a missing file with an HTML page and a 200 status instead of a 404. Ad systems expect plain text, so they treat that response as having no ads.txt. Create a real text file at /ads.txt to fix it.
In ads.txt, Google AdSense publisher IDs are written as pub- followed by 16 digits. The validator warns when a google.com record's ID does not follow that pattern; check the exact ID in your AdSense account under Account information.
No. ads.txt only declares who may sell your inventory. Approval depends on content quality, policy compliance and other factors, which is what the full AdGateScore readiness scan looks at.