Connect with us

Solved: How To Resolve Earnings At Risk – Your Sites Does Not Have An Ads.txt

How To Resolve Earnings At Risk

Blogger

Solved: How To Resolve Earnings At Risk – Your Sites Does Not Have An Ads.txt

Are you trying to remove the Google AdSense error, “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.” for days and months and could not able to remove? You are in the right place.

In this tutorial we will guide you step-by-step to how to get rid of “Earnings at risk – One or more of your sites does not have an ads.txt file”.

People have posted hundred of thousands of queries on Google forums to get the solution of this Google Adsense error, but they are getting the same answer from Google like “Add customs ads.txt”. When people get this response they say, I have added the custom ads.txt, but I am still getting the error, Earning at risk“.

Do you know that Google is CORRECT. Though you add “ads.txt”, but you are missing one thing! Have you setup a “naked redirect” to redirect your naked domain to “www” domain? Domain without “www” is called naked domain like “example.com”, “https://example.com”, “http://example.com”.

Once you redirect your naked domain to “www” you will get rid of “Earnings at Risk” warning from Google AdSense within few hours.

In order to redirect your naked domain to “www” Google asks you to add 4 A Records in your domain’s DNS Settings. In this post we have shown in detail (1) What are those 4 A Records (2) How to add 4 A Records in your domain’s DNS Settings.

If you have already added the Custom ads.txt, then jump to Step 3.

In this tutorial you will learn:

  1. What Is Ads.Txt?
  2. How To Add Custom Ads.txt On Blogger
  3. How To Redirect Your Naked Domain To WWW
  4. Test Your Ads.Txt

 

01. What Is Ads.txt?

Authorized Digital Sellers, or ads.txt is an IAB initiative that helps ensure that your digital ad inventory is only sold through sellers (such as AdSense) who you’ve identified as authorized.

Creating your own ads.txt file gives you more control over who’s allowed to sell ads on your site and helps prevent counterfeit inventory from being presented to advertisers.

 

02. How To Add Custom Ads.txt On Blogger

  • Custom Ads.txt requires following information:

google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

You need only your AdSense Publisher ID. To get your Publisher ID from AdSense follow these steps:

  • Login to your Blogger Admin section & click “Earnings”.
  • Click “VIEW EARNINGS”.
  • You can directly open AdSense from https://www.google.com/adsense/ as well.
How To Resolve Earnings At Risk - One Or More Of Your Sites Does Not Have An Ads.txt File 21
  • Click “Account”.
  • Click “Account Information”.
  • Copy the “Publisher ID”.
How To Resolve Earnings At Risk - One Or More Of Your Sites Does Not Have An Ads.txt File 22
  • Now go back to Blogger Dashboard.
  • Click Settings.
  • Scroll down to “Monetization” section.
  • Turn the slider towards your right to enable the “Enable custom ads.txt”.
  • Click the “Custom ads.txt”.
How To Resolve Earnings At Risk - One Or More Of Your Sites Does Not Have An Ads.txt File 23
  • Paste the following code into the text box.

google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0 

  • Only Replace the pub-0000000000000000 with your Publisher ID that you have copied from Google Adsense account. Other information will remain same. 
  • Click "Save".
How To Resolve Earnings At Risk - One Or More Of Your Sites Does Not Have An Ads.txt File 25

 

03. How To Redirect Your Naked Domain To WWW

Type your domain without “www” in your browser like “example.com”. If your website is redirected to “www” it will open, if not then browser will show you the error. If your website is not accessible without “www”, your “ads.txt” will also be not accessible without “www”.

Most of the people test “ads.txt” with “www” like “www.example.com/ads.txt” or “https://www.example.com/ads.txt” or “http://www.example.com/ads.txt”, but they never test without “www”.

Below are the “4 A Records” that you have to add in your domain’s DNS Settings in order to redirect your naked domain to “www”.
  • @ 3600 In A 216.239.32.21
  • @ 3600 In A 216.239.34.21
  • @ 3600 In A 216.239.36.21
  • @ 3600 In A 216.239.38.21

 

For Your Understanding:

  • The “@” means root site. It is the value of “Host” column. It points to your website.
  • The “3600” is the TTL for each record. TTL stands for Time-To-Live. 3600 means 60 minutes.
  • There are 4 Google IP addresses which are called Value.
  • We have shown below step-by-step to how to add these 4 A Records.

 

If you are a Blogger user enable “Redirect domain” option from Settings.
  • Go to Blogger Settings.
  • Under the Publishing section, turn on the “Redirect domain” option.
How To Resolve Earnings At Risk - One Or More Of Your Sites Does Not Have An Ads.txt 9

 

Add 4 A Records

Follow these four steps to add above 4 A Records in your domain’s DNS Settings:
  • Login to your domain hosting account(cPanel) where your domain is hosted.
  • Find DNS Settings or DNS Zone File icon.
  • Click “MANAGE” button to add the 4 A Records.
  • Click “+ ADD RECORD” to add A Record one by one.

 

Here we are showing you how to add 4 A Records in DNS Settings of a domain hosted in Namecheap. You can get lot of help from this.

  • Sign-In to your Namecheap account.
  • Go to your “Domain List” section.
  • Click the “Manage” button OR home icon under the Products label.
How To Resolve Earnings At Risk - One Or More Of Your Sites Does Not Have An Ads 11
  • Click “Advanced DNS” tab.
How To Resolve Earnings At Risk - One Or More Of Your Sites Does Not Have An Ads 13
  • Click “+ ADD NEW RECORD” link.
How To Resolve Earnings At Risk - One Or More Of Your Sites Does Not Have An Ads 14
  • Choose “A Record”.
How To Resolve Earnings At Risk - One Or More Of Your Sites Does Not Have An Ads 15

 

Now add these 4 A Records one by one. Click the Tick icon to save the A Record.
  • @ 3600 In A 216.239.32.21
  • @ 3600 In A 216.239.34.21
  • @ 3600 In A 216.239.36.21
  • @ 3600 In A 216.239.38.21

 

The “@” means root site. It is the value of “Host”column. It points to your website.
The “3600” is the TTL for each record. TTL stands for Time-To-Live. 3600 means 60 minutes.
There are 4 Google IP addresses which are called “Value”.
How To Resolve Earnings At Risk - One Or More Of Your Sites Does Not Have An Ads 18
  • Here you can see that we have added 4 A Records successfully.
how to add 4 A Records

 

04. Test The Ads.txt File

Once you add “Custom ads.txt” and redirect your naked domain to “www”, it is time to test whether your ads.txt is accessible or not.

  • Open your website and add “/ads.txt” at the end of its URL.
  • Try to access “ads.txt” without “www” & with “www”.

 

Here are some of the examples. Replace “example.com” with your website domain.
  • example.com/ads.txt
  • http://example.com/ads.txt
  • https://example.com/ads.txt
  • www.example.com/ads.txt
  • http://www. example.com/ads.txt
  • https://www. example.com/ads.txt
How To Resolve Earnings At Risk - One Or More Of Your Sites Does Not Have An Ads.txt File On Blogger/Blogspot
  • If your naked domain is redirected successfully to “www” your “ads.txt” will be accessible on your browser.
  • Check your Google AdSense after sometime or few hours, you will not see the “Earning at risk” warning anymore.

 

So it was all about resolving the warning Earnings at Risk from your Google AdSense account. If you like this post then don’t forget to share with other people. Share your feedback in the comments section below.

 

17 Comments

17 Comments

  1. Cristine

    June 6, 2020 at 3:20 pm

    Thankyou! Thankyou! Meer's World. For last 5 months I was searching to remove this Google AdSense Warning (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."), but I was not getting help from anywhere. Now finally I have got the solution. My ads.txt was not accessible without www. I have used Namecheap's FreeDNS hosting to redirect my naked domain to www. After setting up a redirect to www, when I opened the Google AdSense the Warning was removed. This tutorial also helped me: https://www.meersworld.net/2020/05/how-to-redirect-naked-domain-to-www.html

  2. Meer's World

    June 6, 2020 at 3:22 pm

    You're welcome Cristine.

  3. The Worldwide Information

    February 18, 2021 at 7:50 am

    Hey there, My site is redirected to www. and even I can find my ads.txt in https://www.theworldwideinfo.com/ads.txt but still it's been more than a month and the error earning at risk didn't remove yet. Please guide me what to do in this case?

  4. Meer's World

    February 18, 2021 at 12:35 pm

    Your "ads.txt" is only accessible with "WWW", but not without "WWW" it is not accessible. Your "ads.txt" is not accessible with these URLs: "https://theworldwideinfo.com/ads.txt", "http://theworldwideinfo.com/ads.txt"

  5. Meer's World

    February 18, 2021 at 12:39 pm

  6. Lauren (Romance Novel Giveaways)

    February 22, 2021 at 1:06 pm

    THANK YOU!!!! That warning has been the bane of my existence for…I don't even know how long, and I tried everything EXCEPT the naked reroute (which worked!!! Warning is gone!!!). I'm not 100% tech savvy, but you made these instructions easy to understand and execute, and I am looking forward to exploring what else you have on your website! Thank you!!!!!!!

  7. Meer's World

    February 22, 2021 at 1:12 pm

    You're most welcome Lauren.

  8. Shwetangi Vrishali

    April 22, 2021 at 6:28 am

    Thank you so so much for sharing it, it helped me out..

  9. Meer's World

    April 22, 2021 at 3:17 pm

    You're most welcome Shwetangi.

  10. Muhammad Arshad

    February 9, 2022 at 4:00 pm

    I have done the same thing but the issue still exists.

    • Meer's World

      February 9, 2022 at 4:14 pm

      Please share your website link? Sometimes it takes time for updates to happen.

  11. Muhammad Arshad

    February 9, 2022 at 6:26 pm

    Thanks for your response. I have added those 4 records on the GoDaddy account on 8 February. I’ll wait some days if the issue doesn’t resolve I’ll share my site link.

    • Meer's World

      February 9, 2022 at 6:39 pm

      It doesn’t take this much time, hardly takes an hour or two. Please don’t shy to share your website link, you must be missing something.

  12. Muhammad Arshad

    February 10, 2022 at 6:53 pm

    Here is my site link the issue is still exist
    https://www.grammarquiz.org/

  13. Muhammad Arshad

    February 10, 2022 at 7:25 pm

    Sir
    I exactly followed the steps you explained in this article but I don’t know why this happens?

Leave a Reply

Your email address will not be published.

More in Blogger

Advertisement
Advertisement
Free Guide to start a blog and make passive income
Download Cheap Website Themes
Get Namecheap Shared Hosting With Free Domain
To Top