Your ads.txt file
Start by adding your publisher IDs or pick a template on the left.
0 records

Too many networks to track manually?

WeForAds auto-generates and maintains your ads.txt for you. Every time we add a demand partner, your file updates automatically. No more missed records, no more manual edits.

Sign Up Free →

How to use the ads.txt file you just generated

  1. Download the file from the generator above (it saves as ads.txt).
  2. Upload it to the root of your web server, so it's accessible at https://yoursite.com/ads.txt.
  3. Verify by visiting that URL in a browser — you should see your text file load.
  4. Validate it with our free ads.txt validator to catch any syntax issues.
  5. Update whenever you add or remove a demand partner — even one wrong line can cause networks to stop bidding.

What the record format means

Each line of your ads.txt follows this structure:

DOMAIN, PUBLISHER_ACCOUNT_ID, DIRECT or RESELLER, CERTIFICATION_AUTHORITY_ID

Common mistakes this tool prevents

Frequently Asked Questions

What should my ads.txt file contain?

Your ads.txt should list every ad network authorized to sell your inventory, one record per line. Include every demand partner you work with — partners that can't find themselves in your file will stop bidding on your inventory without warning.

Where do I upload the ads.txt file?

Upload it to the root of your domain so it's accessible at https://yoursite.com/ads.txt. Must be served with Content-Type: text/plain and return HTTP 200. Not /ads.txt.html, not in a subfolder.

Do I need a separate ads.txt for subdomains?

Two options: host a separate ads.txt at each subdomain root (e.g. blog.yoursite.com/ads.txt), or use a SUBDOMAIN= directive in your main file to delegate. Option 2 is simpler but still requires each subdomain's DNS to resolve to serve the file.

How often should I update ads.txt?

Every time you add or remove a demand partner. For header bidding publishers with many partners, this can be weekly. WeForAds auto-updates your ads.txt whenever the partner list changes.

Does this tool store my publisher IDs?

No. Everything runs in your browser — nothing is sent to our servers. Close the tab and it's gone.

Is the output IAB-compliant?

Yes. This tool generates files strictly following the IAB Tech Lab ads.txt 1.1 specification. Validate with our ads.txt validator to confirm.

Copied to clipboard