這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Ads.txt Publisher

外掛說明

ABOUT ADS.TXT

The IAB Tech Lab recently introduced the Ads.txt initiative (official website) to increase transparency in the programmatic advertising ecosystem. The “Ads” in Ads.txt stands for Authorized Digital Sellers, and it is a relative simple method for publishers to declare who is authorized to sell their digital inventory. In short, the Ads.txt file contains the publisher’s out loud references for his authorized sellers.

The process is pretty straightforward. The publisher puts a text file in his web server on the root level of the domain (publishersdomain.com/ads.txt), it must be called ads.txt, and it must have its Read permissions set to “World”. The file must obviously follow the IAB format (see below).

This file should list all of the companies that are authorized to sell the publishers’ inventory. Similarly, programmatic platforms will integrate ads.txt files to confirm which publishers’ inventory they are authorized to sell. This will allows buyers to check the validity of the inventory they purchase.

ABOUT ADS.TXT PUBLISHER

Ads.tx Publisher was created by Brightcom, a leading media house and a strong supporter of the Ads.txt Initiative to allow publishers to easily edit, validate and upload their ads.txt files within WordPress without any need for engineering resources and with the same ease as any other media asset.

TECHNICAL NOTES

  • Requires PHP 5.3+.
  • Requires 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.
  • Rewrites need to be enabled. Without rewrites, WordPress cannot know to supply /ads.txt when requested.
  • 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.

安裝方式

This section describes how to install the plugin and get it working.

  1. Upload ads-txt-publisher.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

使用者評論

2021 年 7 月 7 日
Thankfully this has solved my google adsense Ads.txt update issues. Simple and useful plugin.
2018 年 4 月 24 日
Simply solves the problem. I tried a number of plugins but in the end, it came as a savior.
2018 年 4 月 1 日
This is EXACTLY what I was looking for. Something to help me edit my ads.txt file AND notify me when I made an error. Good work!
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Ads.txt Publisher〉的開發相關工作。

參與者

將〈Ads.txt Publisher〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.12

  • Our first version of plugin