ภาพรวมของ Postmaster Tools API
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Postmaster Tools API ช่วยให้คุณรวบรวมเมตริกเกี่ยวกับอีเมลจำนวนมากที่ส่งไปยังผู้ใช้ Gmail และนำเข้าข้อมูลไปยังหรือผสานข้อมูลนั้นกับระบบอื่นๆ ได้
เมตริกประกอบด้วยเปอร์เซ็นต์ของอีเมลที่ผู้ใช้ทำเครื่องหมายว่าเป็นจดหมายขยะและ
ข้อผิดพลาดในการนำส่ง ดูคำอธิบายแบบเต็มของเมตริกที่ Postmaster Tools API ระบุได้ในส่วนแดชบอร์ดของบทความในศูนย์ช่วยเหลือของเครื่องมือ Postmaster
ขั้นตอนการติดตั้งใช้งานระดับสูง
ทำตามขั้นตอนระดับสูงต่อไปนี้เพื่อใช้ API นี้
- ตั้งค่าโดเมนการตรวจสอบสิทธิ์ ซึ่งจะเป็น DKIM (d=) หรือโดเมน SPF (เส้นทางการส่งกลับ) ที่ใช้เพื่อตรวจสอบสิทธิ์อีเมลก็ได้
- ตั้งค่า API โดยทำดังนี้
- สร้างโปรเจ็กต์
- เปิดใช้ Postmaster Tools API
- ตั้งค่าข้อมูลเข้าสู่ระบบสำหรับ API
- สร้างโทเค็น OAuth2
- ใช้โทเค็นและข้อมูลเข้าสู่ระบบ OAuth2 เพื่อทำการเรียก API ซึ่งรวมถึงการยืนยันโดเมนและการดึงข้อมูลเมตริก
ขั้นตอนถัดไป
หากต้องการตั้งค่าโดเมนการตรวจสอบสิทธิ์ ให้ไปที่ตั้งค่าโดเมนการตรวจสอบสิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-29 UTC
[null,null,["อัปเดตล่าสุด 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)."]]