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

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.

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.

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.


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

Kamaljeet Singh

I am Kamaljeet Singh, a young blogger, and owner of Haviknowledge. My idea to create a blog was to learn the skills apart from academic studies and to share whatever found interesting. I like very much to explore the Internet. In this blog, you will find a collection of huge knowledge of different fields. You can easily navigate to the field category you like from the main menu. My view "NEVER STOP GAINING KNOWLEDGE"

This Post Has 8 Comments

  1. Thanks dude i’m facing this problem since last two days thanks a lot for this info.

    1. Welcome Rahul, it will be highly appreciated if you share this info among your fellow bloggers.

  2. After pasting the ads.txt file how much time it will take for AdSense up
    Please respond

    1. Hello Pawan, it depends on Adsense, However, you don’t need to worry after placing the code. You can make sure that the code has been successfully inserted by entering yoursite/ads.txt

  3. Thank you very much for posting this article. But I have no problem like this…..

    Yours continues support

  4. Help ! in my blog Adsense ad not showing may i know the reason ? and Showing Blank

  5. My brother suggested I would possibly like this web site. He was totally right. This post actually made my day. You can not imagine simply how a lot time I had spent for this information! Thank you!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.