Latest Updates:

How To Add Ads.txt File To Blogger Blog?

Hey bloggers, today I come with a most discussed topic on setting up ads.txt file. If you are an AdSense publisher and running your ads code in your blogger blog or any self-hosted website or blog you may see the following action taken notice on your Adsense dashboard.

Earnings at risk - One or more of your ads.txt files doesn’t contain your AdSense publisher ID.

Do you know why this notice appears and want to know how to add Ads.txt file to blogger blog? Let me clear to you all.


How To Add Ads.txt File To Blogger Blog

What is Ads.txt file?

ADS.txt stands for Authorized Digital Sellers and the main aim of this system is to increase transparency of online advertising system. It is a secure, smart and easy method for publishers and distributors to sell their digital advertisements.
Interactive Advertising Bureau (IAB) published this standard for the online advertising program. According to this standards, every websites and blogs that use online advertising program must use Ads.txt file in the root of the domain. This file should contain all necessary information about the advertising program that uses the blog and website.



Hope you understand what is Ads.txt file. Now come to the main point how to add Ads.txt file to blogger blog that uses Adsense ads.

How to solve “Earnings at risk - One or more of your ads.txt files doesn’t contain your AdSense publisher ID” warning from AdSense Account?

Google Adsense is now supporting ADS.txt standard. Google says Ads.txt file is not compulsory fact for Adsense publishers but if you want to use this file for better user experience then you must put your Adsense publisher ID with the correct format in ADS.txt file. Otherwise, Adsense will stop serving ads on your site.


You will see an error message on the Adsense dashboard like this if you need to add Ads.txt file.


How to add ads.txt file to blogger blog that uses Adsense.


  1. Go to your AdSense dashboard.
  2. See the highlighted error message and click Action button.
  3. You will see a one-line code on the next page.
  4. Copy this code and paste it in a notepad.
  5. Now log in to Blogger blog.
  6. Go to Settings from the left side menu.
  7. Click Search Preferences.
  8. Go to Monetization section and click Edit
  9. Now paste the code into the box that you copy from Adsense.
  10. Finally, click Save and you are all done.

Ads.txt code from adsense

blogger ads.txt file setup

If you don't see the action notification in your Adsense account you can also add the ads.txt file to blogger blog by adding the below line in blogger blog. Just copy the line and paste it "Monetization Custom ads.txt" box. Follow the above steps from 5 to 10.

google.com, pub-XXXXXXXX, DIRECT, f08c47fec0942fa0

Replace XXXXXXXX with your own Adsense publisher ID.

How to check Ads.txt file added successfully?


To check Ads.txt file perfection simply visit…

www.YOUR-DOMAIN.com/ads.txt

If you see your copied codes then everything is OK.

Remember, Google needs 24-72 hours to update this Ads.txt file. So, be relaxed.


That’s all friends. If you need any help about how to add Ads.txt file in blogger blog don’t be late to inform me. I will help you with my level best. Stay well and Allah Hafez.
Written By:
Topic Under: 2/02/2018
  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Hi, Your are most welcome and feel free to share your comment(s). We will try to response your comment(s) as soon as possible.

Please DON'T spam here. Spam comments will be deleted just after our review.

Thank You For Being With Us.