Last Updated on 16th August 2020 by Ajmer Singh
How to fix ads.txt error
How to fix ads.txt error in files.
There are many things to know about the errors in ads.txt file and how to fix them. In this article, we will know about some of them today. Let’s know them all one by one in brief.
What is ads.txt?
There are many ways to protect the publishing of ads. One of them is ads.text. This feature was recently added to Google AdSense and that is the reason many people think it is created by Google. However, it is not true. This feature is added by IAB to Google Adsense.
There are many benefits which the company and the user get from the ads.txt. However, these benefits get affected due to some errors in the ads.txt files. Let’s know how to fix those issues.
ads.txt file missing error
The first and very important error may be that the whole ads.txt file is missing from your website directory. In this case, the very simple solution is to make a new file of ads.txt file and upload it in the root directory. Let us know it in more detail.
Though the overall method to make it and use it on your websites might be not so easy for many people, the basic method to apply this is very simple. Here in this case of applying the ads.txt on your website, the very simple thing you have to do is to make one file of ads.text.
Along with these, you will have to add your Google AdSense publisher id and some other simple info. Now your ads.txt file is ready to be used. Now you just need to upload it in the root directory of your website for taking its benefits.
The ads.txt file will look like: google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
where pub-“your publisher Id”.
The error of missing publisher id
The second very important and most frequent error is the missing of publisher id from your ads.txt file. In this case, you may follow the following steps to fix this error.
Go in the root directory where you have created or uploaded your ads.txt file.
Now you need to copy your publisher code from your AdSense account.
Now you need to replace the default id given in the ads.txt file by selecting default code and pasting the copied code or id.
Now you just need to verify all these by saving the file.
Not found tbs saved file
The third error is that you have created your ads.txt file but still, it’s saying that you need to create one new ads.txt file. Here you just need to keep patience as it may take 12 to 14 days to verify your ads.txt file. On the other hand, if your sites have a very less number of ad requests, it may take a month also.
The correction or fixation like that can be done mainly in two ways. In a first way, you need to do all the correction manually and in a second way, you do all these things by the plugin, means by using any suitable app instead of doing manual changes.
Solving the error in two ways
You can find an initiative taken by certified digital retailers, also known as ads.txt, that will help see your ad inventory in the digital space is sold through authorized sellers. If you happen to create your ads files, you will be able to have better control over who can be bought ads on your site and not allow for any kind of fake inventory that would then be presented to the advertisers.
There are two ways in which you can fix the error that may lurk into the ads.txt files, and to fix it, you may have to follow certain steps and get it right and not encounter it again. It can be either done manually or with the help of plugins. If you are new to this, it pretty much easy to follow the instructions and get down to it quickly, and you will get on with the flow as others.
Fixing it manually
If you own an AdSense account, you might want to sign in, to begin with, and you will find an alert on the homepage which says fix now. When you go down and click on the create an ads.txt file with a message. And when this automatically downloaded, you could next upload it to the root point domain of your site.
If you want to add the publisher ID too then once again, you would have to sign in with your AdSense and get attentive on your URL and click on the fix now.
And when you use the arrow with the option of adding your publisher to this txt files message that appears and going ahead by clicking on it. You would have to choose the copy option and paste the same line to each of the ads txt.files. which could be done as
- Under the root directory create a file
- The code has to be copied and pasted to the.txt file from the AdSense account
- Here you have to replace the publisher ID with your own
- Verify the file after saving it
When you are at it, you will understand there is a definite need to improve the digital advertising standards. If there is online ad fraud, it would a big blow in terms of financial losses that are way over the mark to the advertisers as well the publishers themselves annually.
Now you realize the importance of having to be in control of what gets published on your location. There are a lot of people out there with evil intent to use fraudulent means to meet their ends by resorting to trick ad platforms that give way to domain spoofing. They ensure they get fake clicks, and they open out themselves leading to fake impressions that are put out there.
The need to improve the transparency you would have to approach the publishers to find out who are the ones that can put out their ad inventory. If you dig into the ads.txt file, you will find out if they are genuinely out there to display your ad, and they are authorized to do so or not. Anyone can seek this information and hence,
The above will be the main people who have to deal with this, and they will be the ones with major losses if they fail to cover this step. A lot of other platforms use the same proforma when they support the transparency of placing digital ads.
Fixing it with plugins
When you are using plugins, you would have to activate and install the ads.txt manager plugin and the activation then allows you to configure the plug-in settings that are in front of you.
Here the user is allowed to add in every individual platform or the reseller that you want the ads to be put out on your site. It has to be done with your publisher ID. The representation will come as thus with four fields,
- The domain of the company which has been permitted to sell or resell the ad inventory
- Publisher ID of the user corresponds to the account ID
- Relationship type whether direct or reseller
- The ID of the advertising platform
If you happen to miss a declaration, then an error will occur in your ads.txt files. You will have to go to the settings of the plugin and make the corrections accordingly. These errors can occur if you haven’t added the ads.txt files to your website. These changes may take time to take effect, and the above-mentioned methods help fix ads.txt error effectively.
Ads.txt error is common, so don’t worry and solve it without panicking. Google AdSense will not ban your account or remove your earnings immediately.
Hope you guys now understand how to fix ads.txt error. Good luck and comment to me if you still face the problem.
People Also Search For:
Ajmer Singh is the Founder & Author of Findmytricks. He is a passionate blogger and with the help of his articles, you can learn WordPress & Blogging in a simple way.
CONTACT: [email protected]
1. “Be yourself. Everyone else is already taken.”
2. “First, learn the rules, then break them”