How to fix an ads.txt alert in Google AdSense account
This message is self explanatory. It means that we have not added an ads.txt
 file to one or more of our websites. Google strongly recommend that we use an ads.txt
file.
What is ads.txt?
It is an IAB-approved text file that aims to prevent unauthorized inventory sales. Ads.txt file protects publishers from ad fraud, and it can potentially increase your ad revenue. The initiative is supported by Google’s advertising platforms like Google Adsense, Doubleclick, and Ad Exchange.
How does it work?
Publishers drop a text file on their web servers that lists all of the companies that are authorized to sell the publishers’ inventory. This allows buyers to check the validity of the inventory they purchase.
- Sign in to your AdSense account.
- In the alert on your homepage, click Fix now.
- Click the Down arrow to open the “Create an ads.txt file for…” message.
- Click Download. Your ads.txt file is automatically downloaded.
- Upload the file to the root level domain of your site (for example, https://example.com/ads.txt).
Set up an ads.txt file on Blogger
- Sign in to Blogger.
- In the top left, click the Down arrow  .
- Click the blog you want to set up an ads.txt file on.
- On the left, click Settings.
- Under “Settings,” click Search preferences.
- Under “Monetization,” find “Custom ads.txt” and click Edit.
- Click Yes.
- Copy the settings from your third-party monetization provider and paste them in the text box.
- Click Save settings.
- Optional:Â To check the content of your ads.txt file, go to http://<your blog address>/ads.txt.