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. It also aims to ensure the safety of ad-related businesses and reduce ad fraud risks. 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, to add to your website’s root directory. 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 in this particular text file, like vendor or publisher ID. Alternatively, (assuming you use one of these solutions) you can generate the file’s base automatically from your Google AdSense or 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 WordPress 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

How does Google communicate AdSense policy violations to publishers?
How does Google communicate AdSense policy violations to publishers?

How does Google communicate AdSense policy violations to publishers?

Are you sure that your content is compliant with Google’s policies? Discover how you can find that out and what to do when there’s a violation detected within your website.

Read more
How to implement optAd360 AI Engine script on WordPress
How to implement optAd360 AI Engine script on WordPress

How to implement optAd360 AI Engine script on WordPress

An instruction of optAd360 AI Engine script implementation into your WordPress website using dedicated plugins. The article also contains steps to add any plugin on the platform.

Read more

Find the best solutions
for your business

Benefit from expert knowledge

Start earning more

Registration to the optAd360 network

Increase your ad revenue!

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

Sign up