Disclaimer:ย This post may contain affiliate links. You can read my full disclosureย here
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?
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.
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
- Log in to your wp-admin dashboard
- Click on plugins then Add New
- Search for Ads.txt Manager. Install and activate the plugin.
- Next go to settings and click on Ads.txt
- Add this code below in the editor section.
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0 - You can also find this code in the Google Adsense support site.
- Don’t forget to replace pub-0000000000000000 with your publisher id.
- 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.
- Click on the save changes button.
- Finally to check if you have successfully updated the Ads.txt file, type www.yourdomain.com/ads.txt.
- You will see the code that you had pasted in the Ads.txt file.
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.
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.
I am sorry to hear that you had issues with Adsense earlier.
THANK YOU! I saw this warning yesterday but didn’t have time to look into it. I appreciate you posting and helping out!
You are welcome Krysten ๐
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. ๐
Thank you Natalia ๐
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.
Yes, quite a lot of bloggers are having this Adsense issue the past few days.
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!
I hope this helped. Let me know if it did ๐
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.
I am sorry to hear that Stephanie. With a high amount of traffic, I am sure you have other choices of income sources now.
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.
I think only some of us had this issue last week ๐
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.
Glad to know that I am not alone on the ‘what did I do wrong this time thought’ ๐
I love blog posts like this that really help you as you become a blogger. Adsense is something that I struggle to understand.
I understand about the struggle…I do too sometimes
These are great tips! I’ll surely check this out
Thank you Jasmine ๐
Wow, this is really helpful. I think many people are going to benefit from this. I love this post.
Thank you, Princess Quinn
I am not too familiar with this stuff. But looking at it, not too complicated at all. I have definitely learned something here.
I felt like it was a bit complicated at the beginning.
You provided very simple steps to solve the issue. Thanks for this helpful post.
you’re welcome Kavitha ๐
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!
Hope this tutorial will help you to solve it ๐
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!
I am sorry to hear that. Hopefully, it is solved now.
That is really good advice. People who have no clue can learn a lot from it.
Thank you Alexandra ๐
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 โบ
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.
Hi Karen, I was wrong! I received that Adsense Error message ๐ I added ads.txt code to my Blogger account a few days back as well, but still am getting that warning message!! When I am typing my website domainname with ads.txt (wwwnaturalbeautyandmakeup/ads.txt) live on Google, it redirects to my homepage. Does that mean I have implemented the code right way or is there something wrong? How long I have to wait for this, can you please help me? There is no problem with displaying ads though!
Oh no. Is the error message still showing? It is not supposed to be redirected back to your homepage. Let me know if you are still having difficulties with this.
Karen, the ads.txt content should be visible with or without www, right? But I cannot access ads.txt content when I type mysitedomain.com/ads.txt ๐ It redirects to the homepage, however, when typed with http://www.site.com/ads.txt, it shows the ads.txt file details!! What’s wrong with it and how to solve it? Please guide me, am so worried now ๐ I don’t know how to send you the sceenshots here, do let me know If I can email you. Thanks ๐
Email me at karen5368@gmail.com I will try to help.
This is really helpful! It stinks when things don’t work so I appreciate you sharing how to fix this problem!
Yes, it annoys me when I can’t find a simple solution for something like this.
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.
Thank you, Chad. Hopefully, you won’t have any issues with this.
Any help I can get with backend blog stuff is appreciated. Thank you so much for this!
You are welcome Christa ๐
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.
Thanks for the comment, David ๐
This blog almost took me by surprise. I was looking for similar info. Thanks.
Hope this blog post solved your issue with Adsense ๐
Saving this for later. Iโm sure it will come in handy. Yet to get my Adsense approval though
Good luck on your Adsense approval.
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
Hope your Adsense issue had been solved ๐
This was such a big issue for so many ppl! Thanks for the great tips! What a help:)
Thank you Steph ๐
And it seems it is still going on. I also go the message two days ago and did their steps… It didn’t work, so now I am trying this.
I am hoping you had success with these steps. Do let me know if you need any help.
Great article. It also seems that it can take many days for the message to disappear once it’s been fixed.
Thank you, Gary. Yes, it does take a few days for the message to disappear for some. Hopefully, yours has been fixed too.
Why Google Is not Showing My Ads .
FrOm June 2019 I am Stuck What to Now My Site ProKistan
Have you had any warning notice from google?
I actually implemented those exact same steps three days ago and I still get the same error message!! Did yours ever get approved? ๐๐ I wondered if itโs a case of just waiting a little longer because I have no idea what else to do and Iโve definitely included my own publishers ID!
Hi Luliya, I hope the error message has disappeared. Yes, it does take a couple of days for the message to disappear from your dashboard.
Really loved the way you have explained and elaborated how to add Ads.txt file.
Please continue the work and help others in the same awesome way by your extremely beautiful content.
Aww, Thank You, Nadim. You made my day ๐
HI,
Thanks for this guide, I have faced this issue for a long time, Maybe it from June but now I fixed them.
I think Google has started this update because most of the time, ads appear on irrelevant pages. We should take advantage of this ads.txt file because Google strongly recommended that Creating your own ads.txt file gives you more control over who’s allowed to sell ads on your site and helps prevent counterfeit inventory from being presented to advertisers.
Cheers
Very useful…. thanks for sharing
Hi there friend!!! Your are article is well written… Thanks for sharing.