미디에이션과 Zucks 통합
이 가이드는 Zucks에서 Google 모바일 광고 미디에이션을 사용하고자 하는 게시자를 대상으로 작성되었습니다. 이 가이드에서는 현재 Android 앱에서 작동하도록 미디에이션 어댑터를 설정하고 추가 설정을 구성하는 방법을 설명합니다.
기본 요건
유용한 입문서
다음 고객센터 도움말에서는 중재에 관한 배경 정보를 제공합니다.
프로젝트에 Zucks 추가
네트워크 어댑터 및 SDK 포함
이전 링크에서 Zucks SDK 및 어댑터를 다운로드합니다.
Android 스튜디오에서 프로젝트의 libs
폴더에 어댑터 및 SDK 파일을 포함합니다. 앱 수준 Gradle 파일에 다음이 포함되어 있는지 확인합니다.
Kotlin
dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.aar", "*.jar"))))
// ...
}
Groovy
dependencies {
implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'])
// ...
}
Zucks 문서에 설명된 대로 AndroidManifest.xml
파일을 수정합니다.
앱에서 Zucks를 직접 호출할 필요는 없습니다. Google 모바일 광고 SDK가 Zucks 어댑터를 호출하여 대신 광고를 가져옵니다. 필요한 경우 추가 요청 매개변수를 지정할 수 있습니다.
이 페이지의 나머지 부분에서는 Zucks에 추가 정보를 제공하는 방법을 자세히 설명합니다.
Activity 인스턴스로 광고 객체 초기화
새 광고 객체의 생성자 (예:
AdView
)에서
Context
유형의 객체를 전달해야 합니다.
미디에이션을 사용할 때 이러한 Context
가 다른 광고 네트워크로 전달됩니다. 일부 광고 네트워크에서는 Activity
유형의 더 제한적인 Context
가 필요할 수 있으며, Activity
인스턴스가 없으면 광고를 게재하지 못할 수도 있습니다. 따라서
미디에이션 대상 광고 네트워크와 일관된 환경이 유지되도록,
광고 객체를 초기화할 때 Activity
인스턴스를 전달하는 것이 좋습니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-03-01(UTC)
[null,null,["최종 업데이트: 2025-03-01(UTC)"],[[["The Mediation Test Suite allows you to test whether your mediation setup is configured correctly before going live to ensure ad requests and revenue are flowing as expected."],["By integrating the Mediation Test Suite into your app, you gain access to detailed, real-time insights into the ad mediation waterfall to troubleshoot setup problems quickly."],["The suite offers comprehensive functionalities such as manual ad requests for testing specific scenarios, a visual ad request waterfall, and adapter status reports to monitor adapter configuration."],["It enables you to manage and organize multiple ad units and ad sources within the test suite, including line item details and other properties for each ad source."],["This ensures a seamless and optimized ad mediation experience, leading to higher fill rates, increased ad revenue, and improved app performance."]]],["Publishers using Google Mobile Ads mediation with Zucks should integrate the Zucks SDK and adapter into their Android app via Android Studio's `libs` folder and update their app-level Gradle file. They must also configure the `AndroidManifest.xml` according to Zucks' documentation. An `Activity` instance should be passed when initializing ad objects for mediated ad networks. The Google Mobile Ads SDK handles fetching ads via the Zucks adapter, without direct calls from the app.\n"]]