ads.txt builder
The ads.txt builder writes the file that lists which companies may sell ad space on your site.
What ads.txt builder does
The ads.txt builder writes the file that lists which companies may sell ad space on your site. Ad networks look for it, and a missing or broken one can reduce the ads shown and the money a blog or news site earns.
Write one seller per line: the ad system's domain, your publisher ID, DIRECT or RESELLER, and the certification ID if you have one. The relationship word is made uppercase. Lines missing a required part are turned into comments marked 'Check this line', so a typo doesn't break the file. Add an optional contact email, then copy the result or download it as ads.txt.
How to use ads.txt builder
- Paste your seller lines
Copy them from each ad network's account page, one per line.
- Add a contact email
Optional. It goes at the top of the file.
- Fix flagged lines
Any line marked 'Check this line' needs a domain, an ID and DIRECT or RESELLER.
- Upload the file
Put ads.txt at the root of your domain so it opens at example.in/ads.txt.
Questions about ads.txt builder
What should be in an ads.txt file?
One line per ad seller: the seller's domain, your publisher ID, DIRECT or RESELLER, and optionally a certification ID.
What is the difference between DIRECT and RESELLER?
DIRECT means you control the account with that seller. RESELLER means someone else sells your space through that account.
Can I add comments?
Yes. Lines starting with # are kept as they are.