ads.txt Validator & Auto-Fixer
Diagnose “ads.txt not found”, resolve Google AdSense earnings warnings, sanitize syntax errors, and export clean IAB records.
IAB Tech Lab Authorized Digital Sellers (ads.txt) Specifications
Specification Architecture: The IAB Tech Lab ads.txt standard mandates a comma-separated syntax consisting of 3 required fields and 1 optional field: <Exchange Domain>, <Publisher's Account ID>, <Relationship: DIRECT or RESELLER>, <Certification Authority ID>. Spaces between fields are ignored, but hidden non-breaking spaces (ASCII 160 / \u00A0), curved quotes, or trailing commas cause crawler crashes.
Google AdSense Requirements: For AdSense, the exact canonical line is: google.com, pub-XXXXXXXXXXXXXXXX, DIRECT, f08c47fec0942fa0. The publisher ID must begin with pub- followed by 16 numerical digits. The TAG certification authority ID (f08c47fec0942fa0) identifies Googleβs exchange authority.
Solving “ads.txt not found” Crawl Delays: Google’s AdSense crawler crawls your root domain (e.g. example.com/ads.txt) once every 24β48 hours. Ensure that: (1) The file responds with HTTP status 200 (not a 301/302 redirect to a subdomain), (2) Content-Type header is text/plain, and (3) your robots.txt file does not disallow the User-agent Mediapartners-Google.