Ads.txt Explained: Why Advertisers Ask for It
Ads.txt is a small fraud-fighting file. Learn what a declaration line means and why buyers check for it.
What is the Ads.txt Generator?
An ads.txt file declares which ad networks are authorised to sell your inventory, cutting off domain spoofing. This generator builds the standard declaration lines.
How to use it
- Enter the network domain and your publisher ID.
- Choose DIRECT or RESELLER.
- Click Generate and save as ads.txt at your root.
Worked example
One network, one direct line — ready to upload to your site root.
Do I need ads.txt if I have no ads?
Only if you sell display ads. Content sites without ads do not need one.
Frequently asked questions
What do DIRECT and RESELLER mean?
DIRECT means you deal with the network directly; RESELLER means through an intermediary.
Where does ads.txt live?
At your site root, e.g. example.com/ads.txt.