ניהול תהליך בחירת הרשת (Mediation)
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
AdMob API מאפשר לכם לנהל את ההגדרה של תהליך בחירת הרשת ב-AdMob באופן פרוגרמטי.
אתם יכולים ליצור ולעדכן קבוצות לבחירת רשת, להוסיף מופעים של מקורות מודעות ולספק את המיפויים של יחידות המודעות כדי להפעיל קריאות למספר רשתות של צד שלישי.
הפעילויות הבאות זמינות דרך ה-API והממשק של AdMob.
|
יצירה |
תיקון |
רשימה |
אפליקציה |
|
|
|
יחידת מודעות |
|
|
|
מיפויים של יחידות מודעות |
|
|
|
קבוצה לבחירת רשת (Mediation) |
|
|
|
AdMob API מאפשר לכם:
- ליצור אפליקציות, לקשר אותן לחנויות אפליקציות ולהוסיף יחידות מודעות.
- יוצרים מיפויים של יחידות מודעות לכל מקורות המודעות ב-Waterfall שרוצים לכלול בהגדרה.
- יוצרים קבוצה לבחירת רשת עם טירגוט גיאוגרפי ומקורות מודעות ב-Waterfall עם מיפויים משויכים של יחידות מודעות.
- עדכון של מקורות המודעות, המיפויים של יחידות המודעות וערכי העלות בפועל לאלף חשיפות בקבוצה לבחירת רשת (Mediation).
קבוצה לבחירת רשת יכולה לכלול הרבה מופעים של מקורות מודעות, ולכל אחד מהם יש מיפוי משלו של יחידות מודעות. לדוגמה, בקבוצה לבחירת רשת A
יכולות להיות השורות הבאות:
- מקור מודעות
B
עם עלות בפועל לאלף חשיפות של 10 $ומיפוי של יחידת מודעות b
- מקור מודעות
C
עם עלות בפועל לאלף חשיפות של 8 $ומיפוי יחידות מודעות c
- מקור מודעות
D
עם עלות בפועל לאלף חשיפות של 6 $ומיפוי של יחידת מודעות d
ההיררכיה של האובייקטים והמיפויים היא כזו:

שנתחיל?
אפשר להתחיל ליצור קבוצות לבחירת רשת, קבוצות של פריטי תנועה ומיפוי של יחידות מודעות באופן פרוגרמטי באמצעות הדוגמאות הבאות:
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-31 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-31 (שעון UTC)."],[[["\u003cp\u003eThe AdMob API allows programmatic management of your AdMob Mediation setup, including creating and updating mediation groups, adding ad sources, and defining ad unit mappings.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the API to create apps, link them to app stores, add ad units, and establish ad unit mappings for your desired waterfall ad sources.\u003c/p\u003e\n"],["\u003cp\u003eMediation groups enable geo-targeting and management of waterfall ad sources with associated ad unit mappings, including updating ad sources, mappings, and eCPM values.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides access to information on ad sources and adapters, facilitating the creation of ad unit mappings and overall setup for programmatic mediation management.\u003c/p\u003e\n"]]],[],null,["# Mediation management\n\nThe AdMob API lets you manage your AdMob Mediation setup programmatically.\nYou can create and update [mediation\ngroups](/admob/api/v1/mediation-groups), add [ad source\ninstances](/admob/api/v1/ad-sources), and\nprovide the [ad unit\nmappings](/admob/api/v1/ad-unit-mappings) to enable calls\nto multiple [third-party networks](/admob/api/v1/ad-sources-reference).\n\nThe following activities are available through the AdMob API and UI.\n\n| | Create | Patch | List |\n|------------------|--------|-------|------|\n| App | | | |\n| Ad unit | | | |\n| Ad unit mappings | | | |\n| Mediation group | | | |\n\nWith the AdMob API you can:\n\n- Create apps, link them to app stores, and add ad units.\n- Create ad unit mappings for all of the waterfall ad sources you want included in your setup.\n- Create a mediation group with geo targeting and waterfall ad sources with their associated ad unit mappings.\n- Update a mediation group's ad sources, ad unit mappings, and eCPM values.\n\nA mediation group can have many ad source instances, each having their own ad\nunit mapping. For instance, mediation group `A` could have the following lines:\n\n- Ad source `B` with eCPM $10 and ad unit mapping `b`\n- Ad source `C` with eCPM $8 and ad unit mapping `c`\n- Ad source `D` with eCPM $6 and ad unit mapping `d`\n\nThe hierarchy of objects and maps is as follows:\n\nGet started\n-----------\n\nStart creating mediation groups, group lines, and mapping ad units\nprogrammatically with the following examples:\n\n- Complete your [setup](/admob/api/v1/getting-started) to make requests using Curl.\n- Programmatically get information on [ad\n sources](/admob/api/v1/ad-sources) and [adapters](/admob/api/v1/adapters-guide) to [create ad\n unit mappings](/admob/api/v1/ad-unit-mappings).\n- Create [apps and ad units](/admob/api/v1/app-ad-units).\n- Create [mediation\n groups](/admob/api/v1/mediation-groups)."]]