How to Upload Ads.txt in WordPress (with or without plugin)

Spread the love

Are you looking to connect your ads.txt file to your WordPress website? Then you are at the very right place where I’ll be guiding you to solve this mere problem and get going with your blogging journey.

You can fix this using a trustworthy plugin to upload an ads.txt file in WordPress.

Or you can also directly upload the ads.txt file to the root directory of your WordPress website.

Let’s understand what the Ads.txt file and how to upload Ads.txt in WordPress

What is an Ads.txt file?

Authorized Digital Sellers or ads.txt is an IAB Tech Lab initiative that helps ensure that your digital ad inventory is only sold through sellers (such as AdSense) who you’ve identified as authorized.

What is ads.txt used for?

Ads.txt is used for:

  • Identification of who is authorized to sell publishers’ ad inventory.
  • Gain trust in the advertisers
  • Crawling of publishers’ domains by buyers, ad exchanges, etc.
  • Matching the seller account IDs in bid requests.
  • Protection of advertisers from counterfeit ad inventory. 

How Does Ads.txt Work?

Initially the publishers add the ads.txt file on their website, ensuring their ownership of the domain and pointing partner accounts eligible to sell their ad inventory.

After that, advertisers can easily access the list of all authorized publishers and their ad inventory online.

When the advertiser receives a bid request from the publisher of that particular ad account, all he has to do is match the publisher’s account ID with the ads.txt file.

If the publisher’s account ID matches, the advertiser can be foolproof that the publisher is honest and can move further with advertising.

On the other hand, if the buyer finds that the publisher’s ID isn’t validated, he can opt not to bid on the publisher’s ad inventory.

How to Create an ads.txt file for your site

  • Simply login into your Adsense dashboard
  • create an ads.txt file
  • At the top, you will see an alert indicating fix ads.txt issues
  • Click on the “fix now button
  • Click Download. Your ads.txt file is automatically downloaded.

Do you want to start your blog – Click Here

How to fix the ads.txt file issue using a plugin

The simplest way to add ads.txt in WordPress is through a plugin.

After signing into WordPress, the first step you have to go to the plugin section and install and activate the Ads.txt Manager plugin. 

Now click on the add new plugin and search for ads.txt manager in the search bar.

Now you will see plugins like Ads.txt Manager by 10up. quickly install and activate this plugin.

How to Upload Ads.txt in WordPress
  • Go to Settings > Ads.txt to configure the plugin’s settings and insert the ads.txt data.
  • Next, add all the ads.txt data in the text field.

Finally, the ads.txt file is added to your WordPress website.

How to Upload ads.txt file in WordPress without using any plugin

You can directly upload the ads.txt file to your WordPress website root directory.

Step-1:  Login to your Hosting C-panel and find the file manager option.

Step 2: Here, you have to open the public_html folder where all of your website data is reserved.

Step 3: Simply have to create a new file and paste the code inside it.

Name the file ads.txt and save it.

That’s it.

Is Ads.txt Mandatory?

Well, according to Google, ads.txt is not mandatory but it is very much recommended.

If you have created your ads.txt file, you can ensure that partners who want to sell your ad inventory can be recognized.


We highly recommend all publishers who want to monetize their website with ads include ads.txt in their website processes to prevent potential ad revenue loss.

We have tried our best to Fix Ads.txt in WordPress (with or without the plugin)

You can now practically do it.

Do read the article carefully. If you have any doubt do ask me. You can Comment down below.

Do share this article if you find it useful. Your every share matters to us a lot.

Thank you, Keep Shining😍

Spread the love

Leave a Reply

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