中介服務管理
AdMob API 可讓您以程式輔助方式管理 AdMob 中介服務設定。您可以建立及更新中介服務群組、新增廣告來源例項,以及提供廣告單元對應,以便呼叫多個第三方聯播網。
您可以透過 AdMob API 和 UI 執行下列活動。
|
建立 |
修補程式 |
清單 |
應用程式 |
|
|
|
廣告單元 |
|
|
|
廣告單元對應 |
|
|
|
中介服務群組 |
|
|
|
您可以使用 AdMob API 執行以下操作:
- 建立應用程式、連結至應用程式商店,以及新增廣告單元。
- 針對要納入設定的所有刊登序列廣告來源,建立廣告單元對應。
- 建立中介服務群組,其中包含地理區域指定目標和刊登序列廣告來源,以及相關聯的廣告單元對應。
- 更新中介服務群組的廣告來源、廣告單元對應項目和有效千次曝光出價。
中介服務群組可以包含多個廣告來源例項,每個例項都有自己的廣告單元對應項目。舉例來說,中介服務群組 A
可能會有下列行:
- 廣告來源
B
,有效千次曝光出價 $10 美元,廣告單元對應 b
- 廣告來源
C
,有效千次曝光出價 $8 美元,廣告單元對應 c
- 廣告來源
D
,有效千次曝光出價 $6 美元,廣告單元對應 d
物件和地圖的階層如下:

開始使用
請參考下列範例,開始以程式輔助的方式建立中介服務群組、群組線和廣告單元對應:
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-03-07 (世界標準時間)。
[null,null,["上次更新時間:2025-03-07 (世界標準時間)。"],[[["The AdMob API allows programmatic management of your AdMob Mediation setup, including creating and updating mediation groups, adding ad sources, and defining ad unit mappings."],["You 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."],["Mediation groups enable geo-targeting and management of waterfall ad sources with associated ad unit mappings, including updating ad sources, mappings, and eCPM values."],["The API provides access to information on ad sources and adapters, facilitating the creation of ad unit mappings and overall setup for programmatic mediation management."]]],[]]