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 – Solved

What is ads.txt?

If you have got earnings at risk error on your Google AdSense account that means ads.txt file is important for you to run ads. An ads.txt or authorized digital sellers is initiative of IAB (IAB Technology Laboratory) that helps to ensure that the ad placement you are using on your site is sold through the authorized sellers (like- AdSense). In simple words, by placing an ads.txt file to your website CPanel you are giving permission to the sellers to place ads in your website or blog. The IAB has taken this initiative to prevent the Ad fraud activities.

If you are using Google AdSense as your publisher (Advertising source) and getting error message “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”, you must need to create ads.txt file and place it your CPanel to avoid Ad placements.

earning at risk - One or more of your sites does not have an ads.txt file

Earnings at risk – One or more of your sites does not have an ads.txt file [Solved]

Create ads.txt file for Google AdSense and Place into your Hosting CPanel

The IAB Tech Lab launches Ads.txt aggregator as part of an ongoing effort to combat Ad fraud

If you are using Ads on your website or blog as a source of your income, its mandate to have an ads.txt file placed to your CPanel. This article helps you to know how would you create ads.txt file, place it to WordPress CPanel, and keep using AdSense services without any interruption.

Step 1. Go to your hosting panel (cpanel Admin) and locate “File Manager

Step 2. Locate “root directory” such as Public_html (in my case) and click + to expand.

  • Then, click “File” from the toolbar.
  • This action will bring a screen for you. Type file name “ads.txt
  • Click Create New File.

Step 3. We have successfully created ads.txt file in your CPanel. Find and right-click on it then, select “Edit” to make settings.

Step 4. Above action will open up a page for you where you can add or edit text. Now we need to add the following line:

google.com, pub- 9036158272XXXXXX, DIRECT, f08c47fec0942fa0

Finally, click on Save Changes or Save Settings.

Note: Do not forget to change the publisher ID from 9036158272XXXXXX to your’s.

earning at risk error on adsense account

To check your AdSense publisher ID:

  1. Login to your Google AdSense account
  2. From the left panel, navigate and click on “Account” section.
  3. Then, click on “Account information
  4. Now, you will see your Publisher ID: pub-9036158272XXXXXX

This is all what need to do in order to fix “Earning at risk” error from Google AdSense. After a few hours, when your site is crawled by search engines and found ads.txt file is present.

You can test, either ads.txt file is placed correctly by visiting “yourdomainname/ads.txt” and it will show you the placed ads.txt file.

Important

I have recently got “earnings at risk” error on my Google AdSense account and by doing above steps it has resolved successfully. Though, it took around 18-20 hours after implementing above settings.

If you are using another Ad network or publisher (such as Media.net, Infolinks, AdBlade, etc.) to display ads to your website or blog, you should contact to your Ad publisher in order to get the right code. Above tutorial is helpful to you if you are using Google AdSense as your publisher.

Check more details on Google Support Page Fixed - Earnings at risk error on Google AdSense Click To Tweet

Share This Post To Help Others!!

2 thoughts on “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 – Solved

  1. Without ads.txt my revenue drops down to half afterwards I started using ads.txt but my actual earning money doesn’t revert back. 🙁

Leave a Reply