How to Fix Ads.txt File in Blogger

If you’re a Blogger user and monetize your blog through Google AdSense, you may have encountered the “ads.txt error.” This error can impact your ad revenue and is often caused by an issue with the ads.txt file, which is a crucial component of the Authorized Digital Sellers (ads.txt) project. The ads.txt project is an industry-wide initiative designed to increase transparency in the programmatic advertising ecosystem and combat ad fraud.

As a publisher, having a valid ads.txt file ensures that only authorized digital sellers can sell your ad inventory, preventing unauthorized parties from doing so. This not only protects your ad revenue but also helps maintain the integrity of the advertising ecosystem as a whole.

In this post, we’ll guide you through the steps to fix the ads.txt file error in Blogger, regardless of whether your blog is hosted on a Blogger subdomain ( or a custom domain, ensuring that your blog complies with the ads.txt project requirements and that your ad revenue remains unaffected.


What is the ads.txt file?

The ads.txt file is a publicly accessible file that lists all the companies authorized to sell your website’s ad inventory. It’s a simple text file that you must create and host on the root directory of your website (e.g., or

Why is the ads.txt file important for Blogger?

Blogger treats each individual blog as a separate entity for the purpose of the ads.txt file, regardless of whether it’s hosted on a Blogger subdomain or a custom domain. If you’re using Google AdSense on your Blogger site, you need to have a valid ads.txt file in place to comply with the ads.txt project requirements.

How to Fix Ads.txt File in Blogger

Follow these steps to fix ads.txt file error in Blogger:

  1. In your Blogger dashboard, click on the “Settings” tab, then Find “Monetization” Option.
  2. Under the “Monetisation” Option, click the “Enable custom ads.txt” button to activate the ads.txt feature for your Blogger site.
  3. In the “Custom ads.txt” field, enter the following line:, pub-1234567890123456, DIRECT, f08c47fec0942fa0
  4. Click the “Save” button to apply the changes and update your ads.txt file.

Replace pub-1234567890123456 with your actual Google AdSense publisher ID.

How to Verify and Submit ads.txt File

After completing the steps to enable and configure the ads.txt file in your Blogger settings, it’s important to verify the correct location of the file and submit your website for review to Google AdSense. This ensures that your ads.txt file is properly set up and compliant with the Authorized Digital Sellers (ads.txt) project requirements.

Verify the ads.txt file location

The correct location for your ads.txt file should be if you’re using a custom domain, or if you’re using a Blogger subdomain. Replace with your actual custom domain, or your-blog-name with the name of your Blogger blog.

Submit your website for review

How to Fix Ads.txt File in Blogger (AdSense Dashboard)

In the Google AdSense dashboard, navigate to the “Ads.txt” section and submit your website’s URL for review. Google AdSense will verify the presence and validity of your ads.txt file. This step is crucial as it ensures that your ad inventory is protected from unauthorized sellers and ad fraud, maintaining the integrity of your ad revenue.


1. Can I use the same ads.txt file for multiple Blogger sites?

No, each individual Blogger site requires its own unique ads.txt file with the corresponding Google AdSense publisher ID. Using the same ads.txt file for multiple sites is not allowed and can lead to compliance issues.

2. What if I have multiple AdSense accounts for different blogs?

If you have multiple Google AdSense accounts for different Blogger sites, you’ll need to create separate ads.txt files for each blog, using the respective AdSense publisher ID for that account. Ensure that you don’t mix publisher IDs across different blogs.

3. Can I add entries for other ad networks in the ads.txt file?

Yes, you can add entries for other authorized digital sellers or ad networks in the ads.txt file, in addition to the Google AdSense entry. However, make sure that you’ve explicitly authorized these entities to sell your ad inventory.

4. How long does it take for Google AdSense to review the ads.txt file?

The review process for ads.txt files by Google AdSense can take up to a few days. During this time, your ad inventory may be limited or unavailable for programmatic ad sales until the review is complete and the file is approved.

5. What happens if I don’t update the ads.txt file when changing ad networks?

If you start working with a new authorized digital seller or ad network but don’t update your ads.txt file accordingly, your ad inventory may be sold by unauthorized parties, leading to potential ad fraud and revenue loss. It’s crucial to keep your ads.txt file up-to-date to maintain transparency and compliance.

6. Can I remove the ads.txt file from my Blogger site if I no longer use AdSense?

If you decide to stop using Google AdSense and no longer want to monetize your Blogger site with ads, you can disable the ads.txt file by navigating to the Monetization settings and clicking the “Disable” button next to the “Custom ads.txt” option. This will remove the ads.txt file from your site.


By following these steps, you can successfully create and enable the ads.txt file for your Blogger website, resolving the ads.txt error in Google AdSense. Maintaining a valid ads.txt file is crucial for ensuring your ad inventory is protected from unauthorized sellers and ad fraud. It also promotes transparency in the programmatic advertising ecosystem and helps maintain the integrity of your ad revenue.


Leave a Reply

Your email address will not be published. Required fields are marked *