ads.txt Generator for AdSense and Blogger

Build an ads.txt line for your Google AdSense publisher ID, add other ad networks, and check the file for mistakes before you publish it.

FreeNo sign-upPrivate — runs in your browser

Other ad networks (optional)

ads.txt

How to use the ads.txt Generator

  1. Enter your AdSense IDType your publisher ID from AdSense (Account → Account information). It looks like pub- followed by 16 digits.
  2. Add other networksIf you use other ad networks, add their domain, your account ID and DIRECT or RESELLER, or paste the lines they gave you.
  3. Publish the fileIn Blogger, open Settings → Monetization, turn on “Enable custom ads.txt”, paste the text and save. On other sites, upload it as ads.txt to the root so it opens at yourdomain.com/ads.txt.

Example

For publisher ID pub-1234567890123456 the line is: google.com, pub-1234567890123456, DIRECT, f08c47fec0942fa0

Typing a 15-digit ID such as pub-123456789012345 shows an error, so you do not publish a broken ads.txt.

Frequently asked questions

What is ads.txt?

Authorized Digital Sellers: a public text file listing who may sell ads on your site. It stops others from selling fake ads for your domain, and AdSense warns you if it is missing.

What is f08c47fec0942fa0?

It is Google’s certification authority ID (its TAG-ID). It is the same for every AdSense publisher and is always the fourth field on the Google line.

AdSense says “ads.txt not found” — what now?

Check that yourdomain.com/ads.txt opens and shows the line, then wait. Google can take a few days to crawl it again. On Blogger, make sure custom ads.txt is enabled on the same blog.

Popular posts from this blog

Character Counter

Speech to Text Online

Keyboard Tester