When I logged into my Google AdSense account yesterday, I saw a red warning saying that one or more of my websites does not have an ads.txt file. In this tutorial, you’ll learn how to solve this problem.
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.
In my case, the above message appeared spontaneously on June 6th. 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. It can help buyers identify counterfeit inventory and help us receive more advertiser spend that might have otherwise gone toward that counterfeit inventory.
“Authorized Digital Sellers”, or “ads.txt”, is an IAB initiative to improve transparency in programmatic advertising. Publishers can create their own ads.txt files to identify who is authorized to sell their inventory. The files are publicly available and crawlable by buyers, third-party vendors, and exchanges. You can learn more about an
ads.txt file at the following links:
Now we know what caused this red warning.
Table of Contents
How to Fixed Ads.txt File error in Solve in One minutes
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
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.
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,
That’s it, you’re done.
Changes require some time and do not take effect immediately. Patiently wait for Google AdSense to check if the
ads.txt file is added correctly. It can take up to 24 hours.
If you are having trouble fixing this problem with the instructions above, but are being able to solve this problem with any another method please describe it in the comment section instagram Thanks!
If this article helped you solve the problem then please leave a comment
Thanks for reading!
How to edit and add Google Publisher ID in ads.txt in WordPress Using Plugin.
To add Ads.txt file your WordPress site please login to the WordPress site and go to Plugins.
Here you have to install new plugin which supports the ads.txt editor.
STEP 1:- Search ads.txt
STEP 2:-You will get simple ads.txt plugins. Click install now button and Make Active plugin to use.
STEP 3:- Now open the ads.txt plugin.Go to settings-Ads.txt Editor.Now you will see a box to paste text.
STEP4:-Paste your Google AdSense Publisher ID in this box and save changes.
Please, this change will affect at least 24 hours after adding this file. Wait until AdSense account updated with your latest changes.