[WordPress] 外掛分享: The Publisher Desk ads.txt

首頁外掛目錄 › The Publisher Desk ads.txt
100+
安裝啟用
★★★★★
5/5 分(1 則評價)
1305 天前
最後更新
問題解決
WordPress 3.0+ PHP 5.2.4+ v1.5.0 上架:2019-05-25

內容簡介

這是一個針對 The Publisher Desk 的客戶所開發的 WordPress 外掛程式,旨在自動將 The Publisher Desk 的 ads.txt 檔案所做的更改傳播到客戶網站上,同時讓客戶可以按需新增/保留自訂內容。

功能

此外掛程式提供 Authorized Digital Sellers (ADS) 檔案(IAB Technology Laboratory 的一項倡議)的管理功能,特別為 The Publisher Desk 的客戶設計。因為在 wordpress 目錄之外管理檔案可能會面臨 WP/伺服器組態相依的挑戰,所以此外掛程式會在安裝時決定是在網域根目錄下使用實際的 ads.txt 檔案,或是一個可以經由 WP 選項建立的類 ads.txt 檔案,並在收到伺服器的 /ads.txt 要求時,提供該選項的內容(包括客戶自訂行也包含 TPD 中央清單的內容)。

安裝疑難排解:
若您已經在網站上設置了 ads.txt 檔案,此外掛程式將在安裝時將其更名為 ads-txt-original.txt, 並在解除安裝時重新命名回來。如果您的網站 WordPress 實例沒有權限存取其安裝目錄之外的檔案,而且您已經有了 ads.txt 檔案,則此外掛程式將無法取代現有檔案,並管理其所創建的檔案。您可以檢查站台的 ads.txt 檔案是否發生這種情況(site.com/ads.txt),以確定是否有一行下列內容:
“### END TPD ADS TXT ###”,
這是外掛程式用來區隔自訂條目和 The Publisher Desk 的條目的線。如此情況出現,請停用外掛程式,重新命名或刪除現有的檔案,重新啟用並再次檢查檔案(您可能需要根據快取刷新數次)。如果仍然未看到該行,且檔案看起來與更新之前相同,請聯繫 TPD 協助解決此問題。

最終筆記:保留自訂 ads.txt 內容的備份是一個好習慣。我們有功能可在外掛程式更新/重新安裝時保留您的自訂條目,但請確認保存備份,以免在失去條目時帶來麻煩。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.5.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「The Publisher Desk ads.txt」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This is a WordPress plugin for clients of The Publisher Desk, intended to automatically propagate changes made to The Publisher Desk’s ads.txt file to client websites, while letting them add/retain custom lines as desired.
Functionality
This plugin provides management of the ads.txt file (Authorized Digital Sellers), an initiative from IAB Technology Laboratory, geared towards client of The Publisher Desk. Because the administration of a file outside the wordpress directory can pose challenges depending on the WP/Server configuration, the plugin decides on installation whether to use an actual ads.txt file in the root of the domain, or a quasi-ads.txt file built through a WP option and responding to a server request for “/ads.txt” by providing the contents of that option (containing both custom lines and those associated with TPD’s centralalized list).
Troubleshooting an installation:
If you already have an ads.txt file present on your site, the plugin will rename it to ads-txt-original.txt on installation, and re-rename that file back on de-installation. If your site’s wordpress instance doesn’t have access to files outside of its installation directory and you already have an ads.txt file, the plugin won’t be able to dislodge the existing file and allow the management of the one it creates. You can check whether this has happened if you check your site’s ads.txt file directly (site.com/ads.txt) and there’s no line reading:
“### END TPD ADS TXT ###”
a line that is used by the plugin to demarcate custom entries and The Publisher Desk’s. If this is the case, please deactivate the plugin, rename or remove your existing file, re-activate, and check the file again (you might have to refresh several times depending on caching). If you still don’t see that line and the file looks the same as before the update, please reach out to TPD for assistance.
Final Note: it’s good practice to have a backup of your custom ads.txt lines. We have functionality for retaining your custom lines on plugin updates/re-installs, but it’s good to make sure since it can be a big pain to recollect entries if you lose them.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon