ads.txt is a plain-text authorization list publishers place on their domains so buyers can see which companies are allowed to sell that inventory. When the file is wrong, authorized resellers look unauthorized, and unauthorized sellers can look legitimate — both outcomes cost revenue and trust.
This guide covers the IAB Tech Lab record shape, DIRECT versus RESELLER, domain and account ID fields, comments, and the formatting mistakes that fail crawlers. Paste or review your file with the free ads.txt validator — IAB-oriented record checks, DIRECT/RESELLER validation, and domain checks with private client-side processing.
You will leave able to read a line of ads.txt, spot a bad relationship type, and know what to fix before you publish to https://example.com/ads.txt.