סקירה כללית על Postmaster Tools API
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
Postmaster Tools API מאפשר לכם לאסוף מדדים על אימיילים בכמות גדולה שנשלחים למשתמשי Gmail, ולייבא נתונים למערכות אחרות או למזג את הנתונים האלה עם מערכות אחרות.
המדדים כוללים את אחוז האימיילים שסומנו כספאם על ידי המשתמש ואת שגיאות המסירה. הסבר מלא על המדדים שמופיעים ב-API של Postmaster Tools זמין בקטע 'לוחות בקרה' במאמר במרכז העזרה של Postmaster Tools.
שלבי הטמעה כלליים
כדי להשתמש ב-API הזה, צריך לבצע את השלבים הבאים:
- מגדירים דומיין אימות, שהוא דומיין DKIM (d=) או SPF ((Return-Path domain שמשמש לאימות האימייל שלכם.
- מגדירים את ה-API:
- יוצרים פרויקט.
- מפעילים את Postmaster Tools API.
- מגדירים פרטי כניסה ל-API.
- יוצרים טוקן OAuth2.
- משתמשים באסימון ובפרטי הכניסה של OAuth2 כדי לבצע קריאות ל-API, כולל אימות דומיינים ואחזור מדדים.
השלבים הבאים
כדי להגדיר את דומיין האימות, עוברים אל הגדרת דומיין אימות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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)."]]