إدارة التوسّط
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تتيح لك واجهة برمجة تطبيقات AdMob إدارة إعدادات "توسّط AdMob" آليًا.
يمكنك إنشاء مجموعات
توسّط وتعديلها، وإضافة مثيلات
لمصادر الإعلانات، وتقديم عمليات تعيين الوحدات الإعلانية لتفعيل طلبات
إلى عدّة شبكات تابعة لجهات خارجية.
تتوفّر الأنشطة التالية من خلال واجهة برمجة التطبيقات وواجهة المستخدم في AdMob.
|
إنشاء |
التصحيح |
قائمة |
تطبيق |
|
|
|
الوحدة الإعلانية |
|
|
|
عمليات ربط الوحدات الإعلانية |
|
|
|
مجموعة التوسّط |
|
|
|
باستخدام AdMob API، يمكنك إجراء ما يلي:
- إنشاء تطبيقات وربطها بمتاجر التطبيقات وإضافة وحدات إعلانية
- أنشئ عمليات ربط الوحدات الإعلانية لجميع مصادر إعلانات العرض بدون انقطاع التي تريد تضمينها في عملية الإعداد.
- أنشئ مجموعة توسّط تتضمّن استهدافًا جغرافيًا ومصادر إعلانات معروضة بدون انقطاع مع تعيينات الوحدات الإعلانية المرتبطة بها.
- تعديل مصادر الإعلانات وعمليات ربط الوحدات الإعلانية وقيم التكلفة الفعلية لكل ألف ظهور في مجموعة توسّط
يمكن أن تحتوي مجموعة التوسّط على العديد من مثيلات مصادر الإعلانات، ويكون لكلّ منها عملية ربط خاصة بالوحدة الإعلانية. على سبيل المثال، يمكن أن تتضمّن مجموعة التوسّط 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 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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)."]]