How to add ads.txt file to your WordPress website

  • 13 / 08 / 2021
  • Agata Cnatalska
How to add ads.txt file to your WordPress website

An ads.txt file is highly recommended for all the monetization solutions to work correctly. It also applies to the websites built on WordPress. The file contains a list of vendors authorized to sell the website’s ad inventory in order to increase the transparency of programmatic advertising actions. Long story short, it’s a sort of public declaration of who can sell your ad space. Keep on reading to find out how to add an ads.txt file to your WordPress website.

Where to get the ads.txt from

There are two ways to get the ads.txt file. You can create the file by yourself or get it from your ad provider ⎼ some ad networks, like optAd360, provide publishers with all the monetization essentials, including ads.txt. In the article on how to create an ads.txt file, you’ll find a guide for both methods, along with all the necessary information that should be included. Alternatively, (assuming you use one of these solutions) you can generate the file’s base automatically from your Google AdSense or Google Ad Manager account and subsequently complement it with new ad vendors’ data.

How to add ads.txt on WordPress

The most convenient way to add, edit or update the ads.txt file on WordPress is using a dedicated plugin. The platform provides a whole set of different plugins that let you manage almost all kinds of files. You can install a chosen one following the steps presented in the article on implementing the optAd360 AI Engine script on WordPress.

One of the free WordPress plugins designed for ads.txt management is Ads.txt Manager. That’s a pretty obvious name, isn’t it? Once implemented into your WordPress, it makes adding the file intuitive and effortless. See for yourself:

  1. Install and activate the Ads.txt Manager plugin.
  2. Find “Settings” on your Dashboard’s sidebar menu.
  3. Select “Ads.txt”.
  4. Insert all the necessary positions (copy them from the file you’ve created or received).
  5. Click on “Save Changes”.

Now, check if you didn’t make any mistakes while pasting the file positions and if all the elements are in place. Remember not to miss even a comma! If it all went well, you should be able to see the complete list of your Authorized Digital Sellers by adding “/ads.txt” to the address of your website. Simple as that!

Read also

The power of trends
The power of trends

The power of trends

Trends rule the world, that's clear. But how do those influence the web publishing business? Let's look into how you could use trends to your advantage.

Read more
Seasonal tendencies – not so random revenue variations
Seasonal tendencies – not so random revenue variations

Seasonal tendencies – not so random revenue variations

An overview of seasonal tendencies that influence your revenue from programmatic ads. Learn more about annual RPM fluctuations induced by holidays and occasions and benefit from those.

Read more

Find the best solutions
for your business

Benefit from expert knowledge

Start earning more

Registration to the optAd360 network

Increase your website’s revenue!

Join satisfied publishers who, thanks to the optimization of their advertising space
with our technology, started to generate greater profits.

Sign up