How to Fix ads.txt Error Message in Google AdSense

How to fix ads txt error: Is your AdSense account having the same error show like… Earning at risk – you need to fix some ads.txt file issues to avoid server impact. If yes, then you are at the right place because you need to take action otherwise your earnings are at risk.

This post will show how to fix ads.txt error messages on the Google AdSense account. Let’s start with a few things before moving on to the necessary steps.

What are ads txt?

This is an IAB-approved text file intended to prevent unauthorized inventory sales. The Ads.txt file protects publishers from ad fraud, and it can potentially increase your ad revenue. This initiative is supported by Google’s advertising platforms such as Google AdSense, DoubleClick, and Ad Exchange.

How does this work?

Publishers leave a text file on their web servers that lists all companies that are authorized to sell a list of publishers. It allows buyers to check the validity of the inventory they have purchased.

Is this so important for us?

Yes, because it improves transparency in online advertising by allowing publishers to declare who can sell their ad inventory, as long as this data is publicly available, it can be crawled, stored, and searched by advertisers, publishers and resellers. If you are displaying Google ads on your website, it is important to add an Ads.txt file.

How to Fix ads txt Error

Non – WordPress websites

1st step: Access your website via FTP and create an ads.txt file under the root directory

2nd step: copy and paste the code from your AdSense account into ads.txt

google.com, **pub-XXXX, direct, f08c47fec0942fa0

**Don’t forget to replace pub-XXXX with your publisher ID.

3rd step: Make sure you have saved the file and go to www.yourwebsite.com/ads.txt to verify that you have the file now.

WordPress websites

1st step: If you are running a WordPress website then download and activate this plugin

2nd step: To set up plugin settings, go to the Ads.txt page under Settings.

3rd step: Copy and paste your AdSense account code into ads.txt

google.com, **pub-XXXX, direct, f08c47fec0942fa0

**Don’t forget to replace pub-XXXX with your publisher ID.

4th step: Save changes and verify that it is www.yourwebsite.com/ads.txt. work on it.

***Please give AdSense up to 24 hours to reflect the changes. That’s it for now.

I hope you got how to fix the ads.txt error. If you liked this article and its help, please follow my Facebook page for more updates.

If you have any queries or advice regarding this post, feel free to write in the comment box, we respect your every comment and are committed to answering your asked questions. If you think this knowledge should be shared with someone else, share it in all your groups, thank you.

Leave a Reply

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

error: Content is protected !!