How to Resolve the Ads.txt Error in Google Adsense

How to Resolve the Ads.txt Error in Google Adsense
Hello to everyone. In this post, I will show how to resolve the ads.txt problem in your Google AdSense account. The biggest draw for blog owners is a blog that is already registered with Google Adsense. 



In other words, our blog may already be utilized to generate revenue. When a blog is first recognized by Google Adsense, every user or publisher must upload the ads.txt file to their site.

If ads.txt is not installed, a message will be sent to the user's Adsense account, instructing them to quickly put the ads.txt file on their website, or their revenue may be jeopardized.

To repair Adnsese ads.txt, simply follow the instructions provided in the message. Since we released a lesson on how to repair Ads.txt issues in Blogger and WordPress.

What exactly is the Ads.Txt file?


The Ads.txt file is a software established by the IAB to assist combat fraud, according to the Google Help website. This digital advertising listing is only available through specified approved merchants (such as Adsense).

This program is also a solution specifically developed to combat domain spoofing, allowing purchasers to determine whether the vendor is a valid and certified source of investment.

How to Repair Ads.txt in Blogger:


Step 1: Access the Blogger Dashboard.
Step 2: Next, navigate to the Settings menu.
Step 3: Scroll Down Until You See The Monetization Option.
Step 4: Finally, activate Custom Ads.
Txt, type the following code into the Vustom ads.txt field.

google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

Replace the highlighted code with the Publisher ID from your Google Adsense account.

Step 5: Finally, press the Save button.
How to Repair the Ads.txt File in Wordpress:
In general, there are two ways to activate Adsense Ads.txt on WordPress: utilizing a plugin and manually installing ads.txt by uploading the ads.txt file to the root directory using Cpanel.

Using Plugins, Enable Ads.txt in WordPress:

If you are not using self-hosted WordPress, the easiest option to enable Adsense ads.txt is to utilize plugins. As a result, you should adhere to the following guidelines:

Log in to the WordPress Admin Dashboard.
Step 2: Next, navigate to the Plugins menu.
Step 3: Click Add New, then search for "ads.txt manager" plugins, and then install them.
Step 4: After successfully installing the plugins, go to the ads.txt management settings.
Step 5: Paste the Ads.txt code below.

google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

Replace the highlighted code with the Publisher ID from your Google Adsense account.

Step 6 :- Finally, Click on Save.

How to Use Cpanel to Enable Ads.txt in WordPress: -

This step activates ads.txt directly in the site's root directory; if you have self-hosted WordPress, this is the preferred choice over utilizing plugins. To use this strategy, first open Notepad and create a file called Ads.txt.

Step 1: Paste the code below into Notepad.

google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

Replace the highlighted code with the Publisher ID from your Google Adsense account.

Step 2: After that, save the file with the name Ads.

If you created the ads.txt file, the next step is to use cpanel to upload it to the site's root directory. The procedure is as follows:

Step 1: Sign in to your cPanel Web Hosting account.
Step 2: Next, search for the File Manager feature in cPanel.
Step 3: Next, navigate to your blog's root page, choose the public html option, and then select the folder where you connected the blog to the cpanel.
Step 4: Next, click Upload and browse to the ads.txt file you created before.
Step 5: At long last, your problem has been resolved.

How to Examine the Ads.Txt File

If you have performed all of the above procedures, you must now ensure that the ads.txt file is appropriately installed. Here's an example of how we use the domain url to check the Ads.txt file:

// Custom Domain https://domain-name.com/ads.txt
// Blogspot / Blogger Subdomain https://domain-name.blogspot.com/ads.txt


Finally, we discussed how to repair ads.txt in AdSense accounts for both bloggers and WordPress users. I hope this approach for repairing Ads.txt in your Google Adsense account is beneficial to you and your blog. Thank you for coming to our website SFHK.