Ads.txt Manager

描述

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

什么是ads.txt?

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

技术说明

  • Requires PHP 7.4+.
  • Requires WordPress 5.7+.
  • 广告拦截器可能会破坏编辑屏幕上的语法突出显示和预保存错误检查。
  • 需要启用重写。没有重写,被要求时WordPress不知道供应/ads.txt
  • 您的站点网址不得包含路径(例如https://example.com/site/或基于路径的多站点安装)。虽然该插件将在管理区域中显示,但它不会在https://example.com/site/ads.txt处显示内容。 这是因为插件遵循IAB规范,该规范要求ads.txt文件位于域名或子域名的根目录。

ads.cert呢?

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

我可以在多站点中使用它吗?

是的!然而,如果你使用一个子文件夹安装他用于主要的站点。这是因为你仅有一个ads.txt 用于给与域名或者子域名给每一个ads.txt 指定的。我推荐它仅用于激活Ads.txt Manager 每个站点。

屏幕截图

  • 编辑一个带有错误的ads.txt 文件,并且链接到浏览器的ads.txt 文件修订版本
  • 比较ads.txt文件修订的对比
  • 比较两个不同文件版本的ads.txt

安装

  1. 通过插件安装器安装插件,通过搜索或上传.zip文件。
  2. 激活插件。
  3. 前往设置 – Ads.txt 或者 App-ads.txt 并且添加你需要的记录
  4. 检查 yoursite.com/ads.txt 或 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.

评价

2022年10月10日 2 回复
Does the job perfectly. Thanks to the developer for developing this flawless plugin.
2020年6月23日 1 回复
Très bon plugin, simple, rapide. Pas d'infos superflues, ça fait le taf. Je recommande.
2020年6月9日 1 回复
I am wondering what is keeping away 80k users from hitting the five stars and a few words of appreciation. Lovely plugin.
2019年12月15日 1 回复
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.
阅读所有13条评价

贡献者及开发者

“Ads.txt Manager” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Ads.txt Manager”插件已被翻译至11种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Ads.txt Manager”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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

  • 添加: 支持app-ads.txt 文件类型 (props @helen, @westi, @p0mmy)
  • 移除: 停止尝试显示一个错误关于现有的 ads.txt 文件 ,由于太多的报错,我们将待会这个到更好的方式。
  • 更改:轻微的将WordPress版本支持提升到5.4 (props @tmoorewp, @jeffpaul)
  • 改动: 切换到使用Github Action 来代替 Travis (https://travis-ci.org/) 用于继续的整合 (props @helen)
  • 更改: 升级插件屏幕以及FAQs (props @jeffpaul, @helen)
  • 修复: 当保存ads.txt 的时候更新能力检查 (props @eclev91)

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