After the June update of Google, all we have seen a notification bar in Adsense account that “Earning at Risk, one of more site does not have ads txt”. How to solve Ads.txt Adsense and what is the logic behind this.
In this guide, I will completely demonstrate about ads.txt Adsense, why it appears on Google Adsense account and how to fix it.
The advertisement is the primary key for writer and publisher to earn money from their content. There are many ad providers but several companies are doing advertise their product from all over the world using Google Adsense.
Now it’s important to authenticate the ads type that is running on your blog that will help both publisher and advertiser from fraud and any kind of viruses.
In previous years, around 250 companies all over the world had done their protest because Google is not running their ads on the exact appropriate place.
Google starts the ads.txt Adsense to improve the worth of ad appearance on relevant landing pages.
What is ads.txt Adsense and Benefits of Using ads.txt File:
Using an ads.txt Adsense file is ensure that your inventory sold through advertisers through identifying.
In other words, ads.txt file allows those kinds of ads which is relevant to your content which you publishing in your site.
Google strongly recommend that you use an ads.txt file. It can help buyers identify counterfeit inventory and help you receive more advertiser spend that might have otherwise gone toward that counterfeit inventory.
How to fix Google AdSense ads txt error:
To solve this problem, here we need to add the ads.txt AdSense file to root domain. First we need to create the file and further, we will discuss, how to add AdSense ads.txt to WordPress and how to add ads.txt to blogger.
Below is the step by step guide to fix this issue.
Create an ads.txt file in your computer using any Text editor tools e.g. Text Documents or Notepad.
Make sure you named the file ads.
Include the following code in ads.txt file that you just created.
|google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0|
Make sure, you replace the publisher ID of your own account.
You can found Publisher Id in Account Information under the setting of Google Adsense.
Add this file into your root directory of the website.
Check your ads.txt code by typing your domain/ads.txt.
For example https://yoursite.com/ads.txt.
How to add Adsense ads.txt to WordPress:
There are two ways to add ads.txt file in the root domain directory of your site.
- Using ads.txt plugin
- Adding manually into your Cpanel
- Using WordPress dashboard
How to add ads.txt to WordPress without plugin:
You can use the WordPress dashboard to add your file.
- Sign in to your Dashboard.
- Go to media>add new and upload the file.
Add your ads.txt Adsense file Using Cpanel:
Open your Cpanel Dashboard and click on File manager. Once you enter into File manager upload or drag the file into Cpanel.
Make sure you just named the file only ads neglect the .txt, it will add automatically by the server.
Using ads.txt WordPress plugin :
You can also use the plugin to add the ads txt WordPress.
Install the ads.txt Admin Plugin into your WordPress. Once you active them go to the plugin settings page as shown in the image.
You need to add the four parts to enter in that part.
- The domain name of the advertising system
- Publisher’s Account ID
- Type of Account/Relationship
- Certification Authority ID
The following Screenshot may help you bitterly demonstrate that part that was to add the actual information into these text field.
Make sure you replace your own Publisher Id into default ID.
How to add ads.txt to blogger:
You just need to follow these given steps to add the ads.txt Adsense code into blogger.
Sign in to your blogger blog and click on search preference under the setting
You will see the ads.txt option under the Monetisation. Click on edit and enable it.
There will show up the text box where you have to enter the ads.txt code and that set.
Here is the question of why we only enter the google.com in first because there are many advertisement companies and If you target only Google AdSense program we use the google.com for it.
Recommended: A Complete Guide on How To Make Money Google Adsense
Follow the above step by step guide properly, I sure you the notification will disappear within a few days.
If you still facing such issue with ads.txt, you can comment below to share your problem.