How to add ads.txt to WordPress and Blogger: In 3 simple steps


As of Today, I know most of the Adsense publishers are looking for ways to fix ads.txt including me till I find a solution.

Yes, you heard it right! I am going o demonstrate a step by step solution to fix ads.txt in your site.

This article is a remedy to fix the latest notification released by Google Adsense to all its publishers. The notification asks Adsense publishers to add an ads.txt file into WordPress or blogger content management systems.

SO Lets, start step by step:

How to create an ads.txt file and add in your site?

If you are a publisher only, then actually it is very easy for you to add an ads.txt file in your site. Let me show you how?

For WordPress Users

Step 1

Simply copy the file given below:, pub-0000000000000000, DIRECT, f08c47fec0942fa0

Note:- Just make sure that you replace pub-0000000000000000 with your own publisher Id. You can find your publisher ID under account information in your Adsense account.

Step 2

Go to your plugins section in WordPress. Search for a new plugin named as ads.txt manager as marked in the screenshot below. Install and activate it.

How to add ads.txt to Wordpress and Blogger: In 3 simple steps

Step 3

Hover over to your WordPress setting, click on ads.txt. You will see ads.txt manager’s dialogue box. Paste here the code copied as in step 1. After pasting the customized code with your own publisher Id, click on save button.

How to add ads.txt to Wordpress and Blogger: In 3 simple steps

That’s It, You have successfully placed the Ads.txt file in your site. After doing this much Google Adsense’s notification will be fixed within 24 hours.

For Blogger Users

Step 1

Blogger users also have to follow the same step 1 as written above for WordPress users.

Step 2

Go to Blogger Dashboard, Hover your mouse to the setting, then click on search preference. Under Search Preference, you will find custom ads.txt box below the heading Monetization.

Step 3

Paste here the file copied in step 1, make sure to replace with your own publisher Id.

Bingo! That’s all, you have successfully added the ads.txt file in your site.

How to verify that ads.txt file is successfully inserted?

It’s very simple, just go to the google search bar and enter, if you see the result as below, it means the code has been successfully inserted.

How to add ads.txt to Wordpress and Blogger: In 3 simple steps


I have tried to explain the process of adding the ads.txt file to your blog in the simplest way possible. You can also add this file at your domain root directory in your Cpanel. But that’s a little complex method.

I hope, after reading this article you have successfully fixed ads.txt on your site. If You have any other query, let me know in the comments section below it will be definitely considered at the earliest.

For more information, you can read Google Adsense’s official blog post about ads.txt.

If You find this article helpful, then please share it among your blogger fellows.

Also Read: Top 10 Free Blogging Platforms to start a blog in 2019


Please enter your comment!
Please enter your name here