Ads.txt troubleshooter

About ads.txt

Ads.txt helps ensure your ad space is only sold through sellers (e.g., AdSense) who you've identified as authorized. Advertisers who use some of our ads products to buy ad space on publisher sites now have the option to only bid on inventory from sellers that are classified as authorized through ads.txt.

To ensure that prospective advertisers can continue to bid on your ad space, it’s important to create and publish an ads.txt file on all your sites.

Before you start

Here's a YouTube video on ads.txt that you might find useful:

Identify the issue

If you're having issues with your ads.txt file, follow the steps below and select the answers that best describe your situation.

What issue are you experiencing?
What blog service or digital provider are you using?
Can you access the file by adding "/ads.txt" at the end of the URL?
For example: mydomain.com/ads.txt
Compare your ads.txt code to the code in your AdSense account. Your ads.txt file should look like this:
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
The publisher ID should be identical to what is shown in your AdSense account. Check for any mistakes, such as typos, unnecessary spacing or extra commas.
Did you upload your ads.txt file in the past few days?
What result do you get when you open your site with "robots.txt" at the end, e.g., example1.com/robots.txt
The robots.txt is not the issue. Check your URL. Do you need to include "www" to access your site? (e.g., www.sample.com)
Does your site URL begin with HTTP, HTTPS or both?
If the top level domain is owned by another person or a service provider, you can ask them to host the ads.txt file on your behalf.
You could also ask the service provider to set up a subdomain referral for you.

Was this helpful?

How can we improve it?
false