Tutorial: How to Create an Ads.txt File for Google AdSense (Works with WordPress) (2023 Guide)
Tutorial Hosting
Hi everybody John from wire here and in this video we’re going to fix an issue that you might see on Google AdSense when you log into your account that says earnings at risk you need to fix some ads.txt file issues to avoid some issues with your Revenue so this is a
Requirement for all of your websites that you have that you’re trying to run ads on for Google AdSense and some other advertising Partners as well so on this page I’m on the sites page and you can see that I have a site URL and under the ads.txt status it says
That the ads.txt file has not been found so we’re going to go and fix this right now the first thing we need to do is we need to click on the site URL and we need to copy this time this text right here which is our ads.txt file what we’re
Going to do now is we’re going to upload this text that we just copied into our site’s root directory the easiest way to do this is that if you have a WordPress website go into your plugins click on add new and click on file manager and search for this plugin right here
File manager last updated two weeks ago over one million active installations so click on install now all right and now activate the plugin so now that’s been activated on the left hand side you’ll see WP file manager so click on that now we are in the directory of our
Website right here so we want to make sure that we have not clicked on any of these folders but we are in the root directory so what we need to do in the root directory is we need to click on this button right here or excuse me this button right here that
Says new file not folder new file they want to do a txt plain text file so now I’m going to rename this to ads.txt and then press enter and now it will say new file complete I can edit the file from here if this notification goes away and you need to
Edit this file in the future we just need to find it right click and then click on code editor so this file is empty right now but we’re just going to paste the text that we had copied earlier from Google AdSense and we’re going to save and close
All right so now that we’ve done this we want to do one last thing and that is we want to go and view this file from our website itself when we’re not logged into our site to see if it actually populated and it’s available on the broader internet
So the way we’re going to do that is that we’re going to right click and preview make sure that it’s there it looks good here and now I’m going to go to my website URL and I’m going to do slash ads.txt and see if that file is there as well
Okay so I’m at my main website slash ads.txt and I can see that I have my ads.txt file that I just created visible right here so now what’s going to happen is that over the next two days or three days Google is going to rescan your website
And check for this file which we know that exists right here and after two days that alert should go away and your site should be all good to go one last thing which is a really really important thing to do is to remove this plugin once you have updated the ads.txt
File and you’ve confirmed that the ads.txt ads.txt file is visible by Google definitely remove this plugin this is very important for the security of your website there’s nothing dangerous about this plugin but this is a very powerful plugin that if you don’t need to be modifying the underlying
Files of your site it’s really best to deactivate and then delete it it will not delete the ads.txt file that we just uploaded earlier we can confirm that I’m going to go back to my file it’s still there and there you have it this should resolve the issue if you have any other
Questions or if after a couple days you still see that alert within Google ads AdSense please let me know I do read each and every one of the comments below and I’ll do my best to help you out thanks have a great day
If you use Google AdSense, you may receive this warning when you log in to your account: “Revenue at risk – You need to fix some issues with the ads.txt file to avoid a serious impact on your revenue.” Ads. txt files are required if you want to display Google ads on your website. Fortunately, this error is easy to fix, especially if you use a WordPress website. In this guide, we'll walk through the process from start to finish and create an ads.txt file in the root of your website. This guide is perfect for beginners who are new to web development. If this video helped you, please like it and leave a comment below! For more information about Google Ads.txt files, what they are used for, and additional troubleshooting options, see the official guidelines here: https://support.google.com/adsense/answer/7532444?hl=de
#Tutorial #Create #Ads.txt #File #Google #AdSense #Works #Wordpress #Guide
https://i.ytimg.com/vi/ILvjQHEQxoc/hqdefault.jpg