Ads.txt Generator
Build an ads.txt file from your ad network details. Enter one seller per line with its domain, publisher ID, and DIRECT or RESELLER relationship, and get the formatted file to upload to your site root.
1 Paste your text and pick the options
2 Your answer
Your answer shows here as you type.
How to use the Ads.txt Generator
- Enter one ad seller per line: domain, publisher ID, DIRECT or RESELLER, and optionally the certification authority ID.
- Add your owner domain and contact email if you have them.
- Copy the text and save it as ads.txt in the root of your site, so it loads at yourdomain.com/ads.txt.
Frequently asked questions
What is an ads.txt file?
Ads.txt (Authorized Digital Sellers) is a plain text file on your website that lists the companies allowed to sell your ad inventory. Buyers and ad platforms check it to reduce fraud and spoofed inventory.
What does each line in ads.txt mean?
Each seller line has the seller's domain, your publisher account ID on that platform, DIRECT or RESELLER, and an optional certification authority ID such as the TAG ID. DIRECT means the seller is the publisher's own account; RESELLER means the seller passes the inventory on to another party.
Where do I put the ads.txt file?
Upload it to the root directory of your domain so it is reachable at https://yourdomain.com/ads.txt. Subdomains need their own file if they sell ads.
Where do I find my publisher ID?
Your publisher ID is shown in the account settings of each ad platform, such as the publisher or seller ID in your Google AdSense, Ad Manager, or PubMatic dashboard.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.