How to Create an ads.txt file for WordPress Website – step-by-step guide

Best way to create an ads.txt file for WordPress Website, as you know that you can earn money with ads on your content. So, in this article, we will talk about what actually is An Ads.txt file and how to create an ads.txt file for WordPress Website. and also we will check it to make sure you Create an ads.txt file for WordPress Website correctly!

What is an ads.txt file?

You may not know about an ads.txt file, which is a great thing for the growth of your Ad revenue. In simple words, an ads.txt file is a process that allows the Publisher to choose which ads are the best according to their daily posts.

Moreover, the Ads.txt file also helps Publisher from ads fraud. which is the best thing you can do for your site. However, It can cost millions of dollars. To be more clear Ads.txt file is IAB approved text file which means they are meant to prevent ad fraud. IAB means the Interactive Advertising Bureau, which is a foundation and develops advertisements for the industries.

Remember to put as familiar ads to your content that attracts the viewers to click! Because every ad click will be counted and you will be paid.

Best way to create an ads.txt file for WordPress Website

Here is a quick step-by-step demonstration to use and create an ads.txt file for WordPress Website to improve your ad revenue. However, the ads.txt file can be created in many ways but we going to use a WP File Manager plugin to create an ads.txt file. Without further ado let’s get into it!

Step 1. First thing first, login to the WordPress account and Google AdSense account.

Step 2. Open the Google AdSense here you will see a notification which goes like “Earnings at risk – You need to fix some ads.txt file issues to avoid severe impact to your revenue

  • Click the Fix Now option
  • A new page will pop up. However, click the Download button
 how to upload txt file from AdSense to WordPress
Click the download button

Step 3. On the other side, open your WordPress account where will need to install a plugin

  • To do that open the Plugins section and click the Add New option.
  • After that, a new page will pop-up, where you need to search WP File Manager on the search bar
  • then click the Install and Activate button

Step 4. After the activation, you will see WP File Manager on the left side of your menus

 how to upload txt file to wordpress with Wp file Manager
install WP file manager and activate it for free

Step 5. Here you need to create a folder with the name of the ads.txt 

Step 6. Now right-click on the folder and press the Code Editor from the menu

Step 7. On the other side open the file which you have downloaded from your AdSense account earlier. and copy all text

Step 8. In this step just paste the copied text on the same folder which you have made earlier. However, it will work automatically

Note: You can also check if you have done it correctly, So to check your work just follow the below  Guide! Moreover, it should be clear that your Adsense account notification will not disappear at the time. But it will disappear after 24 hours or maybe earlier. it also depends on how you have done!

Method 1. Check it from WordPress

  • So, to check your ads.txt file, Right-click and select the Preview option from the list.

  • However, you should see the text which you have been pasted earlier.

Method 2. Check it from Google

  • Ads.txt file for WordPress Website can be checked from Google
  • Type your Website name and the folder name which is /ads.txt at the last
  • You also have a picture guide to do your job correctly
 how to check txt file of WordPress from AdSense
Write your web name with ads.txt

In case you are able to see your Copied text then well done, you have done your job well. However, if you are not able to see any text so you will need to check your mistakes.

How to Create an ads.txt file for WordPress Website
See the text


So this was step by step guide tutorial to Create an ads.txt file for WordPress Website. The last thing to remember is your notification on Adsense will not disappear at the same time but, it will take time to process. Hope you have found this article helpful!

Related posts

How To Install Viber On PC Windows 10

Iftikhar Jeffery

How to set a song as iPhone Ringtone without iTunes or PC

Iftikhar Jeffery

How to Disable OneDrive on Windows 10 – Step-By-Step Guide

Iftikhar Jeffery

1 comment

How to submit your AdSense Tax information - Step-By-Step Guide - TechJef March 24, 2021 at 6:23 pm

[…] Related Post: How to Create an ads.txt file for WordPress Website – A Step-By-Step Guide […]


Leave a Comment