How to fix “Earnings at risk – One or more of your sites does not have an ads.txt file. Fix this now to avoid a severe impact on your revenue.”
What is the Ads.txt file?
According to the specification, the Ads.txt file should be define all the advertisement programs used by the websites. Each advertising program the website is participating should be defined in the Ads.txt file in a single line in the following format. Ads.txt file show you can allow any website to use your website are to sell any products or show there ads on your website.
How to fix the error Ads.txt?
When this error is reported on the AdSense dashboard, you can see ACTION button on the message. Click on the button to see more details. Google will show you the website on which an Ads.txt file is defined without your pub-id.
Step to fix Ads.txt error
- Create a new file in your website on root folder with the ads.txt file name.
- Copy this line :
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0and put in ads.txt file.
- Replace pub id with your Adsense pub id.
- Then save the file
- Now you can check the file on yourwebsite.com/ads.txt and ensure this is working.
- After some days google deduct Automatically the ads.txt file
Read This : Google Doodle Celebrates Cricket World Cup 2019