Blog Tips

How To Fix Ads.txt Issue For Google Adsense

How To Fix Ads.txt Issue For Google Adsense in WordPress? Yesterday I log in to my Google Adsense dashboard and saw a warning that says – Earning at risk – One or more of your sites does not have an Ads.txt. Fix this now to avoid severe impact to your revenue.

I am not someone that knows a lot of the technical side of blogging, so seeing an error like that made me panicked for a few seconds. I wondered what did I do wrong this time?

How To Add Ads.txt file in wordpress

The next thing I did was to check the ‘Ads.txt‘ keyword on Twitter. And I must say that I was a little relieved to see a few other tweets mentioning exactly the same error. Phew, at least I am not alone. Unfortunately, those that tweeted about the Ads.txt warning was ‘lost’ just like me. They were searching for a solution too.

Tutorial How To Fix Ads.txt Issue For Google Adsense In WordPress

I then searched Google Adsense support for a way to solve that warning message. There was a solution, but as I have mentioned above I am not so that pro technically, so even though the solution sounded simple, I was still a bit lost as to where I should place the code given.

I continued to google for answers and not long I came across netwhile.com. This site shared a much easy to understand way to add Ads.txt file in WordPress.

Adsense Ads.txt error

I followed the steps given and now I am waiting for the warning message in my Google Adsense dashboard to disappear. Which I know will take a day or two maybe after google bot crawl to my site.

For those of you that has received the same warning error from Google Adsense and are wondering How To Fix The Ads.txt Error In WordPress, below is the tutorial on how I did it.

Step By Step Guide To Fix Ads.txt In WordPress

  1. Log in to your wp-admin dashboard
  2. Click on plugins then Add New
  3. Search for Ads.txt Manager. Install and activate the plugin.
  4. Next go to settings and click on Ads.txt
  5. Add this code below in the editor section.
    google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
  6. You can also find this code in the Google Adsense support site.
  7. Don’t forget to replace pub-0000000000000000 with your publisher id.
  8. You can get your publisher id from your Google Adsense Dashboard. Just click Account and in the account information section, you will see your publisher id.
  9. Click on the save changes button.
  10. Finally to check if you have successfully updated the Ads.txt file, type www.yourdomain.com/ads.txt.
  11. You will see the code that you had pasted in the Ads.txt file.
How To Fix Ads.txt Issue For Google Adsense

Simple right? If you do have any questions or difficulties about this, just let me know and I will help you. Or if you have a much simpler way to add the Ads.txt file, please let me know in the comment section below.

Sharing Is Caring
  •  
  •  
  • 101
  •  
  •  
    101
    Shares

48 Comments

  1. Oh nice, I have seen people having issue with this. I took off adsense because it kept messing up my blog. I might add it back and see if it works better.

    1. karenmonica says:

      I am sorry to hear that you had issues with Adsense earlier.

  2. THANK YOU! I saw this warning yesterday but didn’t have time to look into it. I appreciate you posting and helping out!

    1. karenmonica says:

      You are welcome Krysten šŸ™‚

  3. I haven’t had a chance to use adsense yet. I find this text very useful, so I’ll share it with my fellow blogger friends. šŸ™‚

    1. karenmonica says:

      Thank you Natalia šŸ™‚

  4. I have seen a lot of people having issues with this of late – so this seems like a very timely post on how to get them fixed. Thank you.

    1. karenmonica says:

      Yes, quite a lot of bloggers are having this Adsense issue the past few days.

  5. Ohh.. I’ve been looking for instructions on how to do this. I tried to figure it out on my own but it just didn’t work out!

    1. karenmonica says:

      I hope this helped. Let me know if it did šŸ™‚

  6. I never had much trouble with my ads.txt with google adsense, but I have heard a lot who have, so this is a great resource. I had them ban my account when I had a pin go viral on pinterest which showed a huge increase in traffic and they banned me for “fake traffic”. Yes, I’m still a little bitter because I was making a couple hundred dollars a month with them before I got the high amount of steady traffic I have now.

    1. karenmonica says:

      I am sorry to hear that Stephanie. With a high amount of traffic, I am sure you have other choices of income sources now.

  7. I have not have this issue yet, but good to know there is a fix for it! Thank you for sharing your knowledge on the topic.

    1. karenmonica says:

      I think only some of us had this issue last week šŸ™‚

  8. Your question, “I wondered what did I do wrong this time?” is how I often feel. Somehow I managed to get scroll bars on my front page and no clue as to what I’ve done. My first thought was “What have I done NOW!” Thanks for the explanation for fixing this as I’m sure that I will one day see this message. I’ve bookmarked your post so I can quickly solve it.

    1. karenmonica says:

      Glad to know that I am not alone on the ‘what did I do wrong this time thought’ šŸ™‚

  9. vicky hallnewman says:

    I love blog posts like this that really help you as you become a blogger. Adsense is something that I struggle to understand.

    1. karenmonica says:

      I understand about the struggle…I do too sometimes

  10. These are great tips! I’ll surely check this out

    1. karenmonica says:

      Thank you Jasmine šŸ™‚

  11. Princess Quinn says:

    Wow, this is really helpful. I think many people are going to benefit from this. I love this post.

    1. karenmonica says:

      Thank you, Princess Quinn

  12. Hannah Marie says:

    I am not too familiar with this stuff. But looking at it, not too complicated at all. I have definitely learned something here.

    1. karenmonica says:

      I felt like it was a bit complicated at the beginning.

  13. You provided very simple steps to solve the issue. Thanks for this helpful post.

    1. karenmonica says:

      you’re welcome Kavitha šŸ™‚

  14. This was so super helpful – thank you so much! I had seen the same notification on my Google Adsense and had no idea what to do either!

    1. karenmonica says:

      Hope this tutorial will help you to solve it šŸ™‚

  15. I’m forever having trouble with Adsense. The worst was when I bought a domain for my blog. When it was a Blogspot domain it was approved instantly but was a struggle with the new domain. Anyway. I saw this warning recently and ignored it bc its probably bc of an old blog. Now that I know where to find the fix I might go investigate to make sure everything’s working!

    1. karenmonica says:

      I am sorry to hear that. Hopefully, it is solved now.

  16. Alexandra Cook says:

    That is really good advice. People who have no clue can learn a lot from it.

    1. karenmonica says:

      Thank you Alexandra šŸ™‚

  17. I use blogger platform but haven’t received any warning message regarding adsense yet! Not sure, why šŸ˜‘ Can you tell me one thing please? Can I run third party advertisements on my site along with Google adsense ads? Or is it a punishable offence as per Google! I don’t earn anything from adsense šŸ˜£ I would appreciate your suggestion, thanks ā˜ŗ

    1. karenmonica says:

      From my opinion and past experience, there are some third-party advertisements that you can run together with Adsense. Unfortunately, some are against their policy. Usually, the ones with pop-ups are not allowed.

  18. Bree says:

    This is really helpful! It stinks when things don’t work so I appreciate you sharing how to fix this problem!

    1. karenmonica says:

      Yes, it annoys me when I can’t find a simple solution for something like this.

  19. This is really awesome! Although i don’t have any issues with my Adsense account, i am gonna bookmark this for future reference. Thank you.

    1. karenmonica says:

      Thank you, Chad. Hopefully, you won’t have any issues with this.

  20. Christa says:

    Any help I can get with backend blog stuff is appreciated. Thank you so much for this!

    1. karenmonica says:

      You are welcome Christa šŸ™‚

  21. I haven’t worked with Google Adsense just yet. But this is good information to know should I want to add it to my site. And you want to get the most out of Google.

    1. karenmonica says:

      Thanks for the comment, David šŸ™‚

  22. Sundeep says:

    This blog almost took me by surprise. I was looking for similar info. Thanks.

    1. karenmonica says:

      Hope this blog post solved your issue with Adsense šŸ™‚

  23. Saving this for later. Iā€™m sure it will come in handy. Yet to get my Adsense approval though

    1. karenmonica says:

      Good luck on your Adsense approval.

  24. I wish I had read your blog earlier. You simplified it so much for everyone. I had earlier ran into the same problem and got stuck. Bookmarking this for next time

    1. karenmonica says:

      Hope your Adsense issue had been solved šŸ™‚

Leave a Reply

Your email address will not be published. Required fields are marked *