Ads.txt Manager

Description

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

什么是ads.txt?

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

技术说明

  • 需要PHP 5.3+。
  • 需要WordPress 4.9 +。旧版本的WordPress不会显示任何语法高亮显示,也可能会导致JavaScript错误和/或无法本地化该插件。
  • Ad blockers may break syntax highlighting and pre-save error checking on the edit screen.
  • 需要启用重写。没有重写,被要求时WordPress不知道供应/ads.txt
  • 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.

ads.cert呢?

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

What about app-ads.txt?

We plan on adding support for this file in the future! If you’d like to follow along with development or even help us get it done, please see this GitHub issue.

Screenshots

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

Installation

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

注意:如果站点的根目录中已有ads.txt文件,插件将不会读取该文件的内容,并且您在WordPress管理区域中所做的更改不会覆盖物理文件的内容。

你需要重命名或删除现有的ads.txt文件(即文件中的记录是要在新的设置屏幕里键入的),才会看到您在WordPress管理区域里对ads.txt做出的任何改变。

Reviews

2019年7月14日
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!
2019年7月4日
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.
2018年3月20日
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.

Contributors

“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.

Changelog

1.2.0

1.1

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

1.0

  • 初始插件发布