미디에이션 관리
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
AdMob API를 사용하면 AdMob 미디에이션 설정을 프로그래매틱 방식으로 관리할 수 있습니다.
미디에이션 그룹을 만들고 업데이트하고, 광고 소스 인스턴스를 추가하고, 광고 단위 매핑을 제공하여 여러 서드 파티 네트워크를 호출할 수 있습니다.
다음 활동은 AdMob API 및 UI를 통해 사용할 수 있습니다.
|
만들기 |
패치 |
목록 |
앱 |
|
|
|
광고 단위 |
|
|
|
광고 단위 매핑 |
|
|
|
미디에이션 그룹 |
|
|
|
AdMob API를 사용하면 다음 작업을 할 수 있습니다.
- 앱을 만들고 앱 스토어에 연결하고 광고 단위를 추가합니다.
- 설정에 포함할 모든 폭포식 구조 광고 소스의 광고 단위 매핑을 만듭니다.
- 지역 타겟팅 및 연결된 광고 단위 매핑이 있는 폭포식 구조 광고 소스로 미디에이션 그룹을 만듭니다.
- 미디에이션 그룹의 광고 소스, 광고 단위 매핑, eCPM 값을 업데이트합니다.
미디에이션 그룹에는 여러 광고 소스 인스턴스가 있을 수 있으며 각 인스턴스에는 자체 광고 단위 매핑이 있습니다. 예를 들어 미디에이션 그룹 A
에는 다음과 같은 줄이 있을 수 있습니다.
- eCPM이 10달러이고 광고 단위 매핑이
b
인 광고 소스 B
- eCPM이 8달러이고 광고 단위 매핑이
c
인 광고 소스 C
- eCPM이 6달러이고 광고 단위 매핑이
d
인 광고 소스 D
객체 및 지도의 계층 구조는 다음과 같습니다.

시작하기
다음 예시를 사용하여 미디에이션 그룹, 그룹 라인, 광고 단위 매핑을 프로그래매틱 방식으로 만드세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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)."]]