メディエーションの管理
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
AdMob API を使用すると、AdMob メディエーションの設定をプログラムで管理できます。メディエーション グループを作成、更新し、広告ソースのインスタンスを追加して、広告ユニットのマッピングを指定することで、複数のサードパーティ ネットワークを呼び出すことができます。
AdMob API と UI を通じて、次のアクティビティを利用できます。
|
作成 |
パッチ |
リスト |
アプリ |
|
|
|
広告ユニット |
|
|
|
広告ユニットのマッピング |
|
|
|
メディエーション グループ |
|
|
|
AdMob API を使用すると、次のことができます。
- アプリを作成し、アプリストアにリンクして、広告ユニットを追加します。
- 設定に含めるすべてのウォーターフォールの広告ソースの広告ユニットのマッピングを作成します。
- 地域ターゲティングと、関連付けられた広告ユニット マッピングを含むウォーターフォール広告ソースを使用して、メディエーション グループを作成します。
- メディエーション グループの広告ソース、広告ユニットのマッピング、eCPM 値を更新します。
メディエーション グループには複数の広告ソース インスタンスを設定でき、各インスタンスには独自の広告ユニット マッピングを設定できます。たとえば、メディエーション グループ A
には次の行が含まれる場合があります。
- eCPM が 10 ドルの広告ソース
B
と広告ユニットのマッピング b
- eCPM が $8 の広告ソース
C
と広告ユニットのマッピング c
- eCPM が $6 の広告ソース
D
と広告ユニットのマッピング d
オブジェクトとマップの階層は次のとおりです。

始める
次の例を参考に、メディエーション グループ、グループ行、広告ユニットのマッピングをプログラムで作成します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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)."]]