How To Fix Ads.Txt Error in Google Adsense?

When we approve our Adsense account and start putting ads sometimes we have to face Ads.Txt error, so How To Fix Ads.Txt Error in Google Adsense? Okay, Today I’m going to share a tutorial on How To Fix Ads.Txt Error in Google Adsense in blogger and WordPress based website.

Hello everyone, I’m an admin from the droidtech.in website. In this tutorial, I’ll explain how to fix this ads.txt issue.

After approval from Google Adsense, the main thing is how to earn money from your website. So the first time we have to put some codes on our website to Fix the Ads.Txt Error in the Google Adsense account. Make sure you are a publisher, not an editor or author. If you have already been approved by Adsense, you need to upload the ads.txt file to your website.

Whenever you log in to your Adsense account, a pop-up window will appear. If your website hasn’t the ad code then you will see this notification. But don’t worry, you can fix this problem within some minutes. Make sure you have done this immediately otherwise, your Adsense income may be at risk.

To Fix the Ads.Txt Error in Google Adsense, I’ve given a full guide according to the Google Adsense error. In this post, we have shared the tutorial for both platforms, Blogger and WordPress.

What is Ads.Txt File in Google Adsense?

According to the Google Adsense help page, this is a way to stop fraud. This option is designed by IAB to verify the website owner. This is an advertising listing program, that has been launched by authorized sellers that have been identified.

This option is also a problem-fixing way to stop domain spoofing. With this buyers can check the seller is a valid and certified source of the investor or not.

So let’s start the process.

How to Fix Ads.txt error on Blogger Website?

  1. Log in to Blogger and go to Dashboard.
  2. Go to The Settings Menu.
  3. Scroll Down and Find The Monetization menu.
  4. Then Activate Custom Ads.Txt, Enter the Following Code in The Custom ads.txt Field.
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

Note: Replace the Highlighted code with your Google Adsense Publisher ID. And then Click on Save.

How to Fix Ads.txt error in WordPress website?

Usually, there are several ways to To Fix Ads.Txt Error in Google Adsense on WordPress-based websites. The first one is, you can use a plugin to implement some codes. Or manually upload ads.txt by accessing the ads.txt file to the root directory through Cpanel, which can be accessed through the hosting provider.

How to Enable Ads.txt in WordPress Using Plugins?

If you are not using self-hosted WordPress, you can do it by adding a plugin to activate Adsense ads.txt. Read this guide to implement the ads.txt code.

  1. Log in to the WordPress Admin Dashboard by using your username and password.
  2. Open the Plugins Menu.
  3. Click Add New then search for a plugin named “ads.txt manager” find it and Install the plugin.
  4. After Plugins are Successfully installed, go to the ads.txt manager option.
  5. Add the Following Ads.txt Code.
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

Please note: Replace the marked code with your Google Adsense Publisher ID, Click on Save.

How to Enable Ads.txt in WordPress Using Cpanel?

This step can be a more effective way, like if you don’t want to load your website server. Like every time you add a plugin, your website server faces more loads. So if possible use the root directory way To Fix Ads.Txt Error in Google Adsense.

This step activates ads.txt directly in the root directory of the site Go to your hosting panel and visit the file manager option. This is the most efficient way to activate ads.txt directly in the root directory of the site. If possible use this step instead of using a plugin. For this, you have to create an Ads.txt file first.

  • Copy this mentioned Code in Notepad.
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

Please note: Replace the marked code with your Google Adsense Publisher ID. Name the file to ads, then Save the file.

After creating the ads.txt file, next, you have to upload the ads.txt file to the root directory of the website using your Cpanel.

Please Follow the method carefully:

  • Log in to your Hosting cPanel.
  • Find File Manager option in cPanel.
  • After that, visit the root page of your blog, to do this, click the public_html folder then click the folder where you connect the blog to the Cpanel.
  • Click on Upload the ads.txt file and View the ads.txt File that You Created Earlier.
  • Okay, Now your issue has been resolved! Adsense is no more sending you the notification called Fix Ads.Txt Error in Google Adsense.

How to Check Ads.Txt File in a website?

After completing these steps, you can now check it out and make sure that the problem is fixed yet or not. To do this please type this type of domain name and check whether it’s added or not.

For Custom Domain

https://domain-name.com/ads.txt

For Blogspot / blogger.com Subdomain

https://domain-name.blogspot.com/ads.txt

Conclusion:

How To Fix Ads.Txt Error

Today, we’ve shared How To Fix Ads.Txt Error in Google Adsense? Isn’t it helpful? Please tell us your opinion. In this tutorial, we’ve covered the ads.txt issue for the AdSense account for both blogger and WordPress users. Now you can earn money seamlessly with your Website. Thanks for reading this article, see you soon.

Leave a Comment