Ads.txt File Manager

Description

Ads.txt File Manager allows publishers to manage the ads.txt file directly from the WordPress admin panel, without using FTP or file managers. It offers a safe and intuitive UI to help users edit, save, and back up their ads.txt file to comply with programmatic advertising requirements.

Features

  • Live ads.txt editor with line numbering and syntax highlighting
  • Automatic versioned backups every time you save changes
  • Restore previous versions anytime from the backup list
  • Create ads.txt file instantly if it doesn’t exist
  • Track changes by user, showing which admin updated what and when
  • Secure editing – only admins can access and modify the file
  • Lightweight and fast, no bloated dependencies

Why use this plugin?

If you’re monetizing your site with platforms like Google AdSense, OpenX, or other SSPs/DSPs, you need to serve a valid ads.txt file at the root of your domain. This plugin simplifies that process by letting you manage the file without technical knowledge.

Usage

  1. Go to Ads.txt from the left admin menu.
  2. If the file doesn’t exist, click Create ads.txt.
  3. Edit the file in the editor and click Save.
  4. Every save creates a backup with timestamp and user info.
  5. You can restore any previous version from the Backups tab.

Credits

Plugin developed by Magicbid.ai

Support

Need help or want to monetize your site?
Email us at: support@magicbid.ai
Or visit: https://magicbid.ai/contact-us/

Screenshots

  • Popup to create new ads.txt file
  • Editor with line numbering and Save button
  • Backup history with restore options

Installation

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Navigate to Ads.txt in the WordPress dashboard sidebar.
  4. Use the editor to create, edit, or restore the ads.txt file.

FAQ

Where is the ads.txt file saved?

The plugin saves it directly in your WordPress root directory as /ads.txt.

What happens if I delete the file?

You can recreate it instantly using the Create button inside the plugin.

Are previous versions saved?

Yes! Every save action stores a backup which you can restore anytime.

Who can edit the file?

Only WordPress administrators with the manage_options capability.

Can I use this with a multisite installation?

Currently, this plugin is designed for single-site use.

Is this compatible with Google AdSense and Ad Manager?

Absolutely! This tool was built to simplify ads.txt compliance for platforms like Google AdSense, GAM and other SSPs.

Reviews

May 1, 2025
This is one of the best WordPress plugins for managing your ads.txt file. It makes adding or removing lines incredibly simple, and a standout feature is its version history—it remembers your previous edits, so you can easily roll back if you make a mistake. A must-have for hassle-free ads.txt management!
April 28, 2025
One of the best WordPress plugins for managing the ads.txt file. Adding and removing lines is extremely easy, and it even remembers your last edited version, allowing you to recover a previous version if you make a mistake.
Read all 2 reviews

Contributors & Developers

“Ads.txt File Manager” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Ads.txt File Manager” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.1.2

  • Improved warnings handling for code quality tools (PHPCS)
  • Added sanitization and un-slashing to prevent unsafe input
  • Added inline ignore flags for secure $wpdb usage

2.1.2

  • Added user tracking for backups
  • Improved backup restore logic
  • Minor UI improvements

2.1.2

  • Initial release