Earnings at risk – One or more of your sites does not have an ads.txt file (Problem Solved)

When I logged into my Google AdSense account yesterday, I saw a red warning saying that one or more of my websites does not have an ads.txt file. In this tutorial, you’ll learn how to solve this problem.

Earnings at risk – One or more of your sites does not have an ads.txt file. Fix this now to avoid severe impact to your revenue.

In my case, the above message appeared spontaneously on June 6th. This message is self explanatory. It means that we have not added an ads.txt file to one or more of our websites. Google strongly recommend that we use an ads.txt file. It can help buyers identify counterfeit inventory and help us receive more advertiser spend that might have otherwise gone toward that counterfeit inventory.

“Authorized Digital Sellers”, or “ads.txt”, is an IAB initiative to improve transparency in programmatic advertising. Publishers can create their own ads.txt files to identify who is authorized to sell their inventory. The files are publicly available and crawlable by buyers, third-party vendors, and exchanges. You can learn more about an ads.txt file at the following links:

Now we know what caused this red warning.

How to Fixed Ads.txt File error in Solve in One minutes

To solve this problem, we need to add an ads.txt file to the root level of our domain (for example, https://example.com/ads.txt). Now, step by step guide.

Create a text (.txt) file named ads.txt on your computer (we will move this file later) by using any text editor.

Note! If you have the Mac computer then just use the TextEdit app that ships with every macOS in order to create this file. Save the file in the .txt format.

Include the following line in the ads.txt file you just created:

google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

Important! Make sure you replace pub-0000000000000000 with your own publisher ID.

Place your ads.txt file to the root directory of your website. Make sure you save the file.

You can do this by using cPanel or accessing your server via FTP or SFTP. If you aren’t sure how usually your web hosting provider will have instructions somewhere on their website.

Finally, you can visit you website and verify that you have the ads.txt file now. For example, https://example.com/ads.txt.

How to fixed ads.txt Problem and implement in your website (WordPress $ CMS) in Hindi 2019


That’s it, you’re done.

Changes require some time and do not take effect immediately. Patiently wait for Google AdSense to check if the ads.txt file is added correctly. It can take up to 24 hours.

If you are having trouble fixing this problem with the instructions above, but are being able to solve this problem with any another method please describe it in the comment section instagram Thanks!

If this article helped you solve the problem then please leave a comment :smiley:
Thanks for reading!

How to edit and add Google Publisher ID in ads.txt in WordPress Using Plugin.

To add Ads.txt file your WordPress site please login to the WordPress site and go to Plugins.
Here you have to install new plugin which supports the ads.txt editor.

STEP 1:- Search ads.txt

STEP 2:-You will get simple ads.txt plugins. Click install now button and Make Active  plugin to use.

STEP 3:- Now open the ads.txt plugin.Go to settings-Ads.txt Editor.Now you will see a box to paste text.

STEP4:-Paste your Google AdSense Publisher ID in this box and save changes.

Please, this change will affect at least 24 hours after adding this file. Wait until AdSense account updated with your latest changes.

Share on:

Hi, I am Saurabh Vishwakarama, an 22-year-old Web Developer, Designer, Digital Marketer and Tech Enthusiast from Uttarakhand in Haldwani, India. I am a Computer Science Student I cover the topic on How to guides, software updates, Custom ROM updates and also, Software Problem ,Android Problem , product review

Leave a Comment