Updated
Ads & SEO
ads.txt Generator
Build a clean ads.txt file for your domain. Add authorized seller entries, validate formatting, and copy or download your final file.
ads.txt Builder
Add your sellers and generate a valid ads.txt output you can publish at your domain root.
Add Entry
Add entries to build your ads.txt. If you use multiple partners, add one line per seller relationship.
Validate Output
Paste an ads.txt file here to validate formatting and catch common issues (missing fields, invalid relationship type, stray commas).
Validation results will appear here.
Your ads.txt Output
Copy the content below and publish it at the root of your domain as ads.txt.
Generate output in the Build tab.
| Scenario | Line | What It Means |
|---|---|---|
| Google DIRECT | google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0 |
You own the publisher account and sell inventory directly via Google. |
| Google RESELLER | google.com, pub-1111111111111111, RESELLER, f08c47fec0942fa0 |
A third party resells your inventory through Google using their account. |
| No CA ID | exampleadnetwork.com, 12345, DIRECT |
CA ID is optional; some systems may omit it. |
| Comment | # Header bidding partner |
Comments start with # and help organize your file. |
Tip: Keep one seller relationship per line. Use exactly the values provided by each ad partner (domain, account ID, DIRECT/RESELLER, and CA ID if supplied).