Ads.txt Manager


就像任何其他内容一样,从WordPress内部创建,管理和验证您的Ads.txt。需要PHP 5.3+和WordPress 4.9+。


Ads.txt是互动广告局的一项举措,可让发布商控制谁可以销售其广告资源。 通过我们10up与各种发布商的合作,我们创建了一种在WordPress中管理和验证ads.txt文件的方式,无需上传文件。 插入到插件中的验证有助于避免格式错误的记录,这可能导致最终缓存达24小时的问题,并可能导致广告收入下降。


  • 需要PHP 5.3+。
  • 需要WordPress 4.9 +。旧版本的WordPress不会显示任何语法高亮显示,也可能会导致JavaScript错误和/或无法本地化该插件。
  • 需要启用重写。没有重写,被要求时WordPress不知道供应/ads.txt
  • 您的站点网址不得包含路径(例如或基于路径的多站点安装)。虽然该插件将在管理区域中显示,但它不会在处显示内容。 这是因为插件遵循IAB规范,该规范要求ads.txt文件位于域名或子域名的根目录。


我们正在密切关注广告欺诈领域的持续发展,并且将此插件视为创建和管理ads.txt文件的一种方式,同时也为将来的更改和规格升级做好准备。 Ads.cert仍处于非常早期的阶段,所以我们没有看到实施ads.txt的任何直接问题。


  • 带有误差的编辑ads.txt文件的例子


  1. 通过插件安装器安装插件,通过搜索或上传.zip文件。
  2. 激活插件。
  3. 前往“设置”>>Ads.txt并添加您需要的记录。
  4. 在上查看!




七月 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!
七月 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.
三月 20, 2018
Before, we had a file checked in to our repo for ads.txt. This meant that when changes needed to be made, someone had to edit the file, commit it and do a PR that needed to be removed. Thanks to this plugin, now the programmatic team can just login to WordPress and manage the Ads file. No PRs that require a signoff means we can be more nimble and the automated error checking helped us fix a problem as soon as we activated the plugin.
Read all 7 reviews

Contributors & Developers

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


“Ads.txt Manager” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Ads.txt Manager” into your language.

Interested in development?

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



  • 更好的错误消息格式(包装<code>标签中的值以提高可读性)
  • VIP批准转义


  • 初始插件发布