[wordpress插件] Ads.txt ManagerAds.txt管理器

wordpress 插件 文章 2020-02-05 14:20 619 0 全屏看文

AI助手支持GPT4.0

评分

88

88

描述

Create, manage, and validate your ads.txt from within WordPress, just like any other content asset.

与其他任何内容资产一样,可以在WordPress中创建,管理和验证ads.txt。

Requires PHP 5.3+ and WordPress 4.9+.

需要PHP 5.3+和WordPress 4.9 +。

What is ads.txt?

什么是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.

Ads.txt是互动广告局的一项举措,旨在使发布商可以控制谁可以出售其广告资源。

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.

通过与多家发布商在10up的合作,我们创建了一种方法,可以在WordPress中管理和验证ads.txt文件,而无需上传文件。

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.

插件中进行的验证有助于避免记录格式错误,记录格式错误可能导致问题最终被缓存长达24小时,并可能导致广告收入下降。

Technical Notes

技术说明

    • Requires PHP 5.3+.
    • 需要PHP 5.3 +。

    • Requires WordPress 4.9+.

    • 需要WordPress 4.9+。

      Older versions of WordPress will not display any syntax highlighting and may break JavaScript and/or be unable to localize the plugin.

    • 较旧的WordPress版本不会显示任何语法突出显示,并且可能会破坏JavaScript和/或无法对插件进行本地化。

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

    • 如果不进行重写,WordPress将无法在请求时提供 /ads.txt

    • Your site URL must not contain a path (e.g. https://example.com/site/ or path-based multisite installs).

    • 您的网站网址不得包含路径(例如 https://example.com/site/ 或基于路径的多站点安装)。

      While the plugin will appear to function in the admin, it will not display the contents at https://example.com/site/ads.txt.

      虽然该插件似乎可以在admin中运行,但不会在 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.

    • 这是因为该插件遵循IAB规范,该规范要求ads.txt文件位于域或子域的根目录。

    What about ads.cert?

    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.txt文件的一种方式,还可以为将来的更改和规格升级做好准备。

    Ads.cert is still in the extremely early stages so we don’t see any immediate concerns with implementing ads.txt.

    Ads.cert仍处于极早期阶段,因此我们认为实施ads.txt不会引起任何直接关注。

    What about app-ads.txt?

    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.

    GitHub问题。

安装步骤

    1. Install the plugin via the plugin installer, either by searching for it or uploading a .zip file.
    2. 通过插件安装程序搜索或上传.zip文件来安装插件。

    3. Activate the plugin.
    4. 激活插件。

    5. Head to Settings → Ads.txt and add the records you need.
    6. 转到设置→Ads.txt并添加所需的记录。

    7. Check it out at yoursite.com/ads.txt!
    8. 在yoursite.com/ads.txt上进行检查!

    Note: If you already have an existing ads.txt file in the web root, the plugin will not read in the contents of that file, and changes you make in WordPress admin will not overwrite contents of the physical file.

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

    p>

    >

    You will need to rename or remove the existing 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 ads.txt inside the

    您需要重命名或删除现有的ads.txt文件(保留其中包含的记录的副本以放入新设置屏幕),然后才能在内部查看对ads.txt所做的任何更改

    WordPress admin.

    WordPress管理员。

下载地址

https://downloads.wordpress.org/plugin/ads-txt.1.2.0.zip

https://downloads.wordpress.org/plugin/ads-txt.1.2.0.zip

-EOF-

AI助手支持GPT4.0