郵件管理員工具 API 總覽
Postmaster Tools API 可讓您收集傳送給 Gmail 使用者的大量電子郵件指標,並將資料匯入其他系統,或與其他系統的資料合併。指標包括使用者標示為垃圾郵件和傳送錯誤的電子郵件百分比。如要進一步瞭解 Postmaster Tools API 提供的指標,請參閱 Postmaster Tools 說明中心文章的「資訊主頁」部分。
高階實作步驟
如要使用這個 API,請按照下列高階步驟操作:
- 設定驗證網域,也就是用來驗證電子郵件的 DKIM (d=) 或 SPF 網域 (Return-Path 網域)。
- 設定 API:
- 建立專案。
- 啟用 Postmaster Tools API。
- 設定 API 憑證。
- 建立 OAuth2 權杖。
- 使用 OAuth2 權杖和憑證呼叫 API,包括驗證網域和擷取指標。
後續步驟
如要設定驗證網域,請繼續參閱「設定驗證網域」一文。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-21 (世界標準時間)。
[null,null,["上次更新時間:2024-12-21 (世界標準時間)。"],[[["The Postmaster Tools API provides insights into email metrics like spam rate and delivery errors for bulk emails sent to Gmail users."],["You can integrate the API with other systems to import or merge email data for further analysis."],["Implementation involves setting up an authentication domain, enabling the API, and using credentials to make API calls."],["Detailed information about the metrics can be found in the Postmaster Tools help center."]]],["The Postmaster Tools API provides metrics on bulk emails sent to Gmail users, including spam markings and delivery errors. To utilize the API, users must first set up an authentication domain (DKIM or SPF). Next, they must create a project, enable the API, set up credentials, and create an OAuth2 token. Finally, the API is used to verify domains and retrieve metrics using the credentials and the token. Refer to the Postmaster Tools help center for the full metrics details.\n"]]