Earnings at risk – You need to fix some ads.txt file issues to avoid severe impact to your revenue
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” OR
Earnings at risk – You need to fix some ads.txt file issues to avoid severe impact to your revenue, you must need to create ads.txt file and place it your CPanel to avoid Ad placements issue.
Have you got one of the message mentioned above on your Google AdSense account? If yes, this means ads.txt file is important for you to run ads properly.
What is ads.txt?
First of all, let me tell you about ads.txt file. 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.
[Solved] Earnings at risk – One or more of your sites does not have an ads.txt file
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 yours.
To check your AdSense publisher ID:
- Login to your Google AdSense account
- From the left panel, navigate and click on Account section.
- Then, click on Account information
- 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.
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 PageFixed - Earnings at risk error on Google AdSense Click To Tweet