שילוב עם צד שלישי
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ממשק AdMob API מיועד למפתחים שמייצגים בעלי אפליקציות וצדדים שלישיים. צדדים שלישיים הם לא משתמשים ישירים ב-AdMob, אלא יוצרים שירותים או שילובים עם AdMob ללקוחות שלהם, שהם לקוחות AdMob.
במדריך הזה נסביר את העקרונות הבסיסיים של שילובים עם צד שלישי, ונציע שיטות מומלצות, טיפים וטריקים.
במדריך הזה אנחנו יוצאים מנקודת הנחה שיש לכם ידע מעשי ב-AdMob API. אם אתם לא מכירים את AdMob API, כדאי לעיין במסמכי העזרה שלנו למתחילים.
תחילת העבודה כצד שלישי
כדי להשתמש ב-AdMob API כדי לגשת לנתונים של בעלי אפליקציות ב-AdMob, צריך לפעול לפי ההנחיות הבאות. אין צורך באישור נוסף מ-Google, אבל חשוב לזכור: השימוש ב-AdMob API מהווה הסכמה להתנאים ולהגבלות של AdMob API.
אימות: איך ניגשים בצורה נכונה לנתוני AdMob של לקוח
כדי שהאפליקציה תהיה מסוגלת לגשת לנתוני AdMob של הלקוח, צריך להגדיר את תהליך האימות באופן מאובטח.
דרישות מוקדמות
השלמת שלבי ההרשאה
כל הבקשות שאתם שולחים ל-AdMob API חייבות להיות מאושרות. איך מאשרים ומזהים את האפליקציה ל-Google פועלים לפי השלבים כדי להשלים את הגדרת ההרשאה.
עכשיו אפשר להתחיל לבצע קריאות API לחשבון AdMob של הלקוח באמצעות דוגמאות ב-Java, ב-PHP, ב-Python או ב-curl.
איך להתעדכן בעדכונים של ה-API
חשוב להתעדכן לגבי גרסאות ה-API שיוצאו משימוש או שהתמיכה בהן תסתיים, ולגבי תאריכי השקת הגרסאות החדשות. מומלץ להירשם לבלוג למפתחים של Google Ads כדי לקבל את ההודעות.
קבלת תמיכה
אם נתקלת בבעיות בשילוב של AdMob API, אפשר לפרסם פוסט בפורום המפתחים של AdMob API.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-31 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-31 (שעון UTC)."],[[["\u003cp\u003eRetrieves information about a specific AdMob publisher account using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the publisher account's resource name as a path parameter in the request URL.\u003c/p\u003e\n"],["\u003cp\u003eReturns a \u003ccode\u003ePublisherAccount\u003c/code\u003e object containing account details upon successful execution.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with specific OAuth scopes, such as \u003ccode\u003eadmob.readonly\u003c/code\u003e or \u003ccode\u003eadmob.report\u003c/code\u003e, for access.\u003c/p\u003e\n"]]],["Third-party developers integrating with the AdMob API must first have a Google Account and understand REST and OAuth 2.0. Authorization is required to access client data. Developers should complete the authorization setup, generating a client ID, particularly for web applications. Developers can then make API calls using various languages and stay informed about API updates via the Ads Developer Blog. The AdMob API developer forum is available for support.\n"],null,["# Third-party integration\n\nThe AdMob API is designed for developers representing publishers and third\nparties. Third parties are not direct users of AdMob, instead, they create\nservices or integrations with AdMob for their clients, who are AdMob customers.\nThis guide covers the basics of third-party integrations by providing best\npractices, tips, and tricks.\n\nThis guide assumes you have a working knowledge of the AdMob API. If you're\nunfamiliar with the AdMob API, please see our\n[getting started documentation](/admob/api/v1/getting-started).\n\nGetting started as a third party\n--------------------------------\n\nTo use the AdMob API to access an AdMob publisher's data, follow the\nguidelines below. No additional approval from Google is required, though note\nthat by using the AdMob API, you agree to the AdMob API\n[terms and conditions](/admob/api/v1/terms).\n\nAuthentication: How to properly access a client's AdMob data\n------------------------------------------------------------\n\nIn order for your application to access your client's AdMob data, you need to\nset up your authentication workflow in a secure manner.\n\n### Prerequisites\n\n- A [Google Account](//google.com/accounts/NewAccount).\n\n- Familiarity with [REST basics](/admob/api/v1/prereqs#rest) and [authorizing requests with\n OAuth 2.0](/admob/api/v1/how-tos/authorizing).\n\n### Complete authorization steps\n\n| **Note:** For third-party web applications, we recommend generating a **client\n| ID** for a [web application](/identity/protocols/OAuth2WebServer).\n\nAll requests you make to the AdMob API must be authorized. For a brief\noverview of authorization, read about how to [authorize and identify your\napp to Google](/admob/api/v1/how-tos/authorizing). Follow the steps to [complete your\nauthorization setup](/admob/api/v1/auth).\n\nNow you can start making API calls to your client's AdMob account using examples\nin [Java](/admob/api/v1/getting-started#java-client-library),\n[PHP](/admob/api/v1/getting-started#php-client-library),\n[Python](/admob/api/v1/getting-started#python-client-library) or\n[curl](/admob/api/v1/getting-started#curl-command-line).\n\nKeep up-to-date with the API\n----------------------------\n\nIt's important that you stay up-to-date on which API versions are deprecated or\nsunset and when new versions are released. We recommend subscribing to the\n[Ads Developer Blog](//ads-developers.googleblog.com/search/label/admob) to get\nthe announcements.\n\nGet support\n-----------\n\nIf you run into issues with your AdMob API integration,\n\npost to the [AdMob API developer forum](//groups.google.com/g/google-admob-api-developer-forum)."]]