Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Postmaster Tools API cho phép bạn thu thập các chỉ số về email gửi hàng loạt cho người dùng Gmail và nhập dữ liệu vào hoặc hợp nhất dữ liệu đó với các hệ thống khác.
Các chỉ số bao gồm tỷ lệ phần trăm email của bạn bị người dùng đánh dấu là thư rác và lỗi gửi thư. Để biết nội dung giải thích đầy đủ về các chỉ số do Postmaster Tools API cung cấp, hãy tham khảo phần Trang tổng quan trong bài viết trên trung tâm trợ giúp của Postmaster Tools.
Các bước triển khai cấp cao
Hãy làm theo các bước cấp cao sau đây để sử dụng API này:
Thiết lập một miền xác thực, có thể là miền DKIM (d=) hoặc miền SPF (miền Đường dẫn trả về) dùng để xác thực email của bạn.
Thiết lập API:
Tạo dự án.
Bật API Công cụ Postmaster.
Thiết lập thông tin đăng nhập cho API.
Tạo mã thông báo OAuth2.
Sử dụng mã thông báo và thông tin đăng nhập OAuth2 để thực hiện các lệnh gọi API, bao gồm cả việc xác minh miền và truy xuất các chỉ số.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-08-29 UTC."],[],[],null,["# Postmaster Tools API overview\n\nThe Postmaster Tools API allows you to gather metrics on bulk emails sent to\nGmail users and import data into, or merge that data with, other systems.\nMetrics include the percentage of your email marked as spam by the user and\ndelivery errors. For a full explanation of the metrics provided by the\nPostmaster Tools API, refer to Dashboards section of the\n[Postmaster Tools help center article](https://support.google.com/mail/answer/6227174).\n\nHigh-level implementation steps\n-------------------------------\n\nFollow these high-level steps to use this API:\n\n1. Set up an authentication domain, either the DKIM (d=) or SPF domain (Return-Path domain) that is used to authenticate your email.\n2. Set up the API:\n 1. Create a project.\n 2. Turn on the Postmaster Tools API.\n 3. Set up credentials for the API.\n 4. Create an OAuth2 token.\n3. Use the OAuth2 token and credentials to make API calls including verifying domains and retrieving metrics.\n\nNext steps\n----------\n\nTo set up the authentication domain, proceed to\n[Set up authentication domain](/workspace/gmail/postmaster/guides/domain)."]]