Solved How to fix an ads.txt alert in Google AdSense account

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.

Recently google has introduced ads.text file to be placed in the root directory of your approved website at adsense. This ads.text file allows adsense to sell your ads inventory to the advertisers.

This the screen shot of the warning message displayed at the adsense account when you login

 

You can resolve this issue by following steps

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.

Leave a Reply

Your email address will not be published. Required fields are marked *