Ads.txt Manager

Plugin Banner

Ads.txt Manager

by 10up

Download
Description

Create, manage, and validate your ads.txt and app-ads.txt from within WordPress, like any other content asset. Requires PHP 7.4+.

What is ads.txt?

Ads.txt is an initiative by the Interactive Advertising Bureau to enable publishers to take control over who can sell their ad inventory. Through our work at 10up with various publishers, we’ve created a way to manage and validate your ads.txt file from within WordPress, eliminating the need to upload a file. The validation baked into the plugin helps avoid malformed records, which can cause issues that end up cached for up to 24 hours and can lead to a drop in ad revenue.

Technical Notes

  • Requires PHP 7.4+.
  • Ad blockers may break syntax highlighting and pre-save error checking on the edit screen.
  • Rewrites need to be enabled. Without rewrites, WordPress cannot know to supply /ads.txt when requested.
  • Your site URL must not contain a path (e.g. https://example.com/site/ or path-based multisite installs). While the plugin will appear to function in the admin, it will not display the contents at https://example.com/site/ads.txt. This is because the plugin follows the IAB spec, which requires that the ads.txt file be located at the root of a domain or subdomain.

What about ads.cert?

We’re closely monitoring continued developments in the ad fraud space, and see this plugin as not only a way to create and manage your ads.txt file but also be prepared for future changes and upgrades to specifications. Ads.cert is still in the extremely early stages so we don’t see any immediate concerns with implementing ads.txt.

Can I use this with multisite?

Yes! However, if you are using a subfolder installation it will only work for the main site. This is because you can only have one ads.txt for a given domain or subdomain per the ads.txt spec. Our recommendation is to only activate Ads.txt Manager per-site.

  1. Install the plugin via the plugin installer, either by searching for it or uploading a .zip file.
  2. Activate the plugin.
  3. Head to Settings Ads.txt or App-ads.txt and add the records you need.
  4. Check it out at yoursite.com/ads.txt or yoursite.com/app-ads.txt!

Note: If you already have an existing ads.txt or app-ads.txt file in the web root, the plugin will not read in the contents of the respective files, and changes you make in WordPress admin will not overwrite contents of the physical files.

You will need to rename or remove the existing (app-)ads.txt file (keeping a copy of the records it contains to put into the new settings screen) before you will be able to see any changes you make to (app-)ads.txt inside the WordPress admin.

  1. Example of editing an ads.txt file with errors and a link to browse ads.txt file revisions.

    Example of editing an ads.txt file with errors and a link to browse ads.txt file revisions.

  2. Example of comparing ads.txt file revisions.

    Example of comparing ads.txt file revisions.

  3. Example of comparing two disparate ads.txt file revisions.

    Example of comparing two disparate ads.txt file revisions.

Easy and works.

By Jason Ball (jasonfintips) on May 1, 2025

This made it really easy to handle adt.txt files and works.

Works great, and everyone is happy!

By yudayuda on January 10, 2023

Instead of the previous cumbersome process of FTP and text editors, my clients can now update their ads.txt files in WP itself - brilliant!

A good plugin.

By naveenyouth on October 10, 2022

Does the job perfectly. Thanks to the developer for developing this flawless plugin.

Super

By micka7878 on June 23, 2020

Très bon plugin, simple, rapide. Pas d'infos superflues, ça fait le taf. Je recommande.

app-ads.txt

By md6688 on June 16, 2020

very nice plugin

Old is Gold

By Anonymous User 17829404 (anonymized_17829404) on June 9, 2020

I am wondering what is keeping away 80k users from hitting the five stars and a few words of appreciation. Lovely plugin.

Excellent plugin

By designserve on December 15, 2019

Thanks for your excellent plugin. I really didn't want to add yet another plugin just to deal with Google Adsense ads.txt but this is the only thing that has worked for me after spending a long time trying to make a straightforward file in the root directory work. Thanks again.

It's Work!

By lexagon on July 14, 2019

Despite the opinion of the previous speaker, I decided to install this plugin. Google stopped swearing at the absence of the required file, and the file itself was accessible via the necessary link. Author, thanks for the plugin!

misleading

By nikana2000 on July 4, 2019

Plugin failed to create the ads.txt file in the location Google requires. It was assumed this plugin would achieve this simple task, and as a result revenue was lost, not to mention the strained relationship with Google for not complying with them. My advise is to just follow the simple instructions from Google. You don't need this plugin.

Awesome plugin !!

By arunpyasi on December 19, 2018

Cheers !!

1.4.6 – 2025-07-14

1.4.5 – 2024-09-26

1.4.4 – 2024-06-26

1.4.3 – 2023-06-21

1.4.2 – 2023-01-16

1.4.1 – 2022-12-14

1.4.0 – 2022-04-13

1.3.0 – 2020-05-01

  • Added: Support for app-ads.txt filetype (props @helen, @westi, @p0mmy)
  • Removed: Stop attempting to show an error notice about an existing ads.txt file due to too many false positives. We will bring this back later in a better way.
  • Changed: Bump WordPress version support to 5.4 (props @tmoorewp, @jeffpaul)
  • Changed: Switched to using GitHub Actions instead of Travis for Continuous Integration (props @helen)
  • Changed: Updated plugin screenshots and FAQs (props @jeffpaul, @helen)
  • Fixed: Update capability check when saving ads.txt (props @eclev91)

Further changelog entries can be found in the CHANGELOG.md file.

Back to top