Postmaster Tools API 概览
借助 Postmaster Tools API,您可以收集有关向 Gmail 用户发送的群发电子邮件的指标,并将数据导入其他系统或与其他系统合并这些数据。指标包括用户标记为垃圾邮件的电子邮件所占的百分比,以及递送错误。如需详细了解 Postmaster Tools API 提供的指标,请参阅 Postmaster Tools 帮助中心文章的“信息中心”部分。
实现步骤概览
如需使用此 API,请按以下大致步骤操作:
- 设置身份验证域名,即用于对电子邮件进行身份验证的 DKIM (d=) 域名或 SPF 域名(返回路径域名)。
- 设置 API:
- 创建一个项目。
- 启用 Postmaster Tools API。
- 为该 API 设置凭据。
- 创建 OAuth2 令牌。
- 使用 OAuth2 令牌和凭据进行 API 调用,包括验证网域和检索指标。
后续步骤
如需设置身份验证网域,请继续阅读设置身份验证网域。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-21。
[null,null,["最后更新时间 (UTC):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"]]