
Create, manage, and validate your ads.txt from within WordPress, just like any other content asset.…
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.
Use ads.txt for website advertising inventory and app-ads.txt for advertising inventory within mobile or connected TV apps.
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.
Screenshots

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

Example of comparing ads.txt file revisions.

Example of comparing two disparate ads.txt file revisions.
FAQ
What is the difference between ads.txt and app-ads.txt?
ads.txt is used to authorize companies that sell advertising on your website. app-ads.txt serves the same purpose for advertising shown inside mobile apps, connected TV apps, and other app-based platforms. If you only monetize your WordPress website, you generally only need ads.txt. You need app-ads.txt only if you also publish and monetize an app.
Where do I report security bugs found in this plugin?
Please report security bugs found in the source code of the Ads.txt Manager plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.
ChangeLog
1.4.6 – 2025-07-14
- Changed: Replace
dirname( __FILE__ ) calls with __DIR__ magic constant (props @Soean, @peterwilsoncc via #187).
- Changed: Bump WordPress “tested up to” version 6.8 (props @jeffpaul, @godleman via #183, #184, #194, #195).
- Changed: Bump WordPress minimum supported version to 6.6 (props @jeffpaul, @godleman via #183, #184, #194, #195).
- Fixed: Add missing text domain and fix wrong text domain (props @mehrazmorshed, @dkotter via #182).
- Fixed: Remove unnecessary
echo statement (props @Soean, @dkotter via #186).
- Fixed: Improve performance of the
clean_orphaned_posts function (props @dilipbheda, @dkotter via #192).
- Security: Bump
serialize-javascript from 6.0.0 to 6.0.2 and mocha from 10.2.0 to 11.1.0 (props @dependabot, @faisal-alvi via #185).
1.4.5 – 2024-09-26
1.4.4 – 2024-06-26
- Added: Placeholder record can be added with no authorized sellers or buyers (props @ankitrox, @peterwilsoncc via #129).
- Changed: Bump WordPress “tested up to” version 6.5 (props @zamanq, @QAharshalkadu, @jeffpaul, @qasumitbagthariya, @sudip-md via #152, #156, #162).
- Fixed: Better error handling for environments that don’t match our minimum PHP version (props @dkotter, @rahulsprajapati, @peterwilsoncc, @frankiebordone, @vikrampm1 via #149).
- Security: Bump
semver from 7.3.5 to 7.5.3 (props @dependabot, @peterwilsoncc via #147).
1.4.3 – 2023-06-21
- Added:
ads.txt file exists check from the backend (props @sksaju, @peterwilsoncc, @mmcachran, @dinhtungdu, @helen, @jeffpaul via #131).
- Added: Check for and delete orphan
(app-)ads.txt posts not referenced in the option (props @sksaju, @peterwilsoncc via #138).
- Added: Mochawesome reporter added for Cypress test report (props @jayedul, @peterwilsoncc via #141).
- Changed: Bump WordPress “tested up to” version 6.2 (props @peterwilsoncc, @faisal-alvi via #135).
- Changed: Run E2E tests on the zip generated by the “Build Release ZIP” GitHub Action (props @jayedul, @peterwilsoncc via #137).
- Changed: Update the Dependency Review GitHub Action (props @jeffpaul, @Sidsector9 via #142).
- Fixed: Remove PHP matrix from PHP8 Compatibility action (props @Sidsector9, @peterwilsoncc via #127).
- Fixed: Corrected names for PHP Unit test suite runs (props @peterwilsoncc, @jeffpaul via #133).
- Fixed: Fatal error if the role `administrator“ does not exist (props @peterwilsoncc, @Sidsector9 via #140).
- Security: Bump
simple-git from 3.15.0 to 3.16.0 (props @dependabot, @peterwilsoncc via #128).
- Security: Bump
http-cache-semantics from 4.1.0 to 4.1.1 (props @dependabot, @peterwilsoncc via #130).
1.4.2 – 2023-01-16
1.4.1 – 2022-12-14
- Added: Support for OWNERDOMAIN & MANAGERDOMAIN per version 1.1 of the spec (props @SoftCreatR, @tott, @jeffpaul, @peterwilsoncc via #108)
- Added: Unit tests (props @jeffpaul, @cadic, @faisal-alvi, @peterwilsoncc via #87)
- Added: Dependency security scanning (props @jeffpaul, @peterwilsoncc via #97)
- Changed: Bump WordPress tested up to to 6.1 (props @jayedul, @dkotter, @jeffpaul, @peterwilsoncc via #113)
- Changed: Minimum WP and PHP version requirement bumped to 5.7 and 7.4 respectively (props @jayedul, @dkotter, @peterwilsoncc, @cadic via #103, #117)
- Fixed: Base URL corrected for E2E test suite. (props @peterwilsoncc, @cadic, @dkotter via #112)
- Security: Bump got and @wordpress/env (props @jeffpaul, @peterwilsoncc, @dependabot, @dkotter via #104)
- Security: Bump simple-git and @wordpress/env (props @jeffpaul, @peterwilsoncc via #105)
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.