미디에이션과 Zucks 통합
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이 가이드는 Zucks와 함께 Google 모바일 광고 미디에이션을 사용하려는 게시자를 대상으로 작성되었습니다. 현재 iOS 앱과 함께 작동하는 미디에이션 어댑터의 설정과 추가 설정의 구성을 안내합니다.
기본 요건
프로젝트에 Zucks 추가
전과 동일한 방식으로 앱에 광고를 통합합니다. 전면 광고가 아닌 광고 (배너 크기, 리더보드 크기 등)를 통합하려면 배너 광고를 참고하세요. 전면 광고 (다른 모든 콘텐츠를 마스크하는 전체 화면 광고)를 통합하려면 전면 광고를 참고하세요.
다음 단계를 따르면 광고 게재위치가 여러 네트워크의 광고를 게재할 수 있는 미디에이션 게재위치로 변경됩니다.
위의 리소스에서 Zucks용 어댑터와 SDK를 다운로드합니다.
다운로드한 네트워크 어댑터/SDK를 Xcode에 추가합니다. 프로젝트를 마우스 오른쪽 버튼으로 클릭하고 project에 파일 추가를 클릭합니다.
Zucks에 필요한 프레임워크, 컴파일러 플래그 또는 링커 플래그를 포함합니다. 추가 코드를 작성할 필요가 없습니다. 미디에이션은 필요에 따라 Zucks 어댑터와 SDK를 호출하여 광고를 만듭니다.
이벤트 알림 설정
노출과 같은 광고 수명 주기 이벤트에 대한 알림을 받으려면 GADBannerViewDelegate
를 구현하면 됩니다. 미디에이션을 사용하는 경우 이 대리자는 Zucks의 이벤트를 자동으로 알림받습니다. 예를 들어 모든 광고 네트워크의 노출수는 GADBannerViewDelegate
의 adViewDidReceiveAd:
메서드를 통해 보고됩니다.
adNetworkClassName의 값 확인하기
선택적으로 GAMBannerView
에서 adNetworkClassName
속성을 확인할 수 있습니다. 이 속성은 adViewDidReceiveAd
콜백이 호출되면 현재 배너를 가져온 광고 네트워크의 광고 네트워크 클래스 이름을 반환합니다.
Swift
func adViewDidReceiveAd(_ bannerView: GAMBannerView) {
print("Banner adapter class name: \(bannerView.adNetworkClassName)")
}
Objective-C
- (void)adViewDidReceiveAd:(GAMBannerView *)bannerView {
NSLog(@"Banner adapter class name: %@", bannerView.adNetworkClassName);
}
마찬가지로 전면 광고의 경우 interstitialDidReceiveAd
내의 GAMInterstitialAd
에서 adNetworkClassName
속성을 확인합니다.
Swift
func interstitialDidReceiveAd(_ ad: GAMInterstitialAd) {
print("Interstitial adapter class name: \(ad.adNetworkClassName)")
}
Objective-C
- (void)interstitialDidReceiveAd:(GAMInterstitialAd *)interstitial {
NSLog(@"Interstitial adapter class name: %@", interstitial.adNetworkClassName);
}
맞춤 이벤트를 통해 가져온 광고의 경우
GADMAdapterCustomEvents
를 반환합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-27(UTC)
[null,null,["최종 업데이트: 2025-08-27(UTC)"],[[["\u003cp\u003eThis guide helps publishers integrate Zucks ads into their iOS apps using Google Mobile Ads mediation.\u003c/p\u003e\n"],["\u003cp\u003eYou need a Google Ad Manager account and an iOS app with the Google Mobile Ads SDK to get started.\u003c/p\u003e\n"],["\u003cp\u003eThe integration process involves adding the Zucks adapter and SDK to your Xcode project and configuring mediation settings.\u003c/p\u003e\n"],["\u003cp\u003eYou can receive ad lifecycle event notifications by implementing a \u003ccode\u003eGADBannerViewDelegate\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eadNetworkClassName\u003c/code\u003e property can be used to identify the ad network that served the current ad.\u003c/p\u003e\n"]]],["Publishers integrating Google Mobile Ads mediation with Zucks should download the Zucks adapter and SDK from the provided resources. Integrate these into their iOS app via Xcode, adding necessary frameworks and flags. No extra code is needed; mediation will use the Zucks adapter and SDK. To receive ad lifecycle event notifications, implement `GADBannerViewDelegate`. Check `adNetworkClassName` on `GAMBannerView` or `GAMInterstitialAd` to identify the ad network after ad reception.\n"],null,["# Integrate Zucks with Mediation\n\nThis guide is intended for publishers who are interested in using Google\nMobile Ads mediation with **Zucks**. It walks\nthrough the setup of a mediation adapter to work with your current iOS app\nand the configuration of additional settings.\n\n| Zucks Resources |\n|---------------------------------------------------------------------------------|\n| [Documentation](http://ms.zucksadnetwork.com/media/sdk/manual/admob-mediation/) |\n| [SDK](http://ms.zucksadnetwork.com/media/sdk/manual/ios/) |\n| [Adapter](http://ms.zucksadnetwork.com/media/sdk/manual/admob-mediation/) |\n| [Customer support](mailto:support@zucksadnetwork.com) |\n\nPrerequisites\n-------------\n\n- An iOS app with the Google Mobile Ads SDK integrated. (If you don't\n have one, see [Get Started](/ad-manager/mobile-ads-sdk/ios/quick-start).)\n\n- A Google Ad Manager account with [Mediation for mobile\n apps](//support.google.com/admanager/answer/6272813) configured.\n\nAdd Zucks to your project\n-------------------------\n\nIntegrate ads into your app the same as before. To integrate\nnon-interstitial ads (banner size, leaderboard size, and so on),\nsee [Banner Ads](/ad-manager/mobile-ads-sdk/ios/banner). To integrate\ninterstitial ads (full-screen ads that mask all other content),\nsee [Interstitial Ads](/ad-manager/mobile-ads-sdk/ios/interstitial).\n\nThe following steps change your ad placement into a mediation\nplacement that can show ads from multiple networks.\n\n1. Download the adapter and SDK for Zucks from the\n [resources above](#resources).\n\n2. Add the downloaded network adapter/SDK in Xcode: right-click\n on your project and click **Add Files to \u003cvar class=\"readonly\" translate=\"no\"\u003eproject\u003c/var\u003e**.\n\n3. Include any frameworks, compiler flags, or linker flags that Zucks\n require. There's no need to write additional code. Mediation invokes the\n Zucks adapter and SDK as necessary to create ads.\n\n### Set up event notification\n\nTo be notified of ad lifecycle events like impressions, you can implement\na `GADBannerViewDelegate`. When using mediation, this delegate is\nautomatically notified of events from Zucks. For example, impressions\nfrom any ad network are reported through the `adViewDidReceiveAd:` method of\n`GADBannerViewDelegate`.\n\n### Check the value of adNetworkClassName\n\nYou can optionally check the `adNetworkClassName` property on\n`GAMBannerView`, which returns the ad network class\nname of the ad network that fetched the current banner once the\n`adViewDidReceiveAd` callback is called: \n\n### Swift\n\n func adViewDidReceiveAd(_ bannerView: GAMBannerView) {\n print(\"Banner adapter class name: \\(bannerView.adNetworkClassName)\")\n }\n\n### Objective-C\n\n - (void)adViewDidReceiveAd:(GAMBannerView *)bannerView {\n NSLog(@\"Banner adapter class name: %@\", bannerView.adNetworkClassName);\n }\n\nSimilarly, for interstitials, check the `adNetworkClassName` property\non `GAMInterstitialAd` inside `interstitialDidReceiveAd`: \n\n### Swift\n\n func interstitialDidReceiveAd(_ ad: GAMInterstitialAd) {\n print(\"Interstitial adapter class name: \\(ad.adNetworkClassName)\")\n }\n\n### Objective-C\n\n - (void)interstitialDidReceiveAd:(GAMInterstitialAd *)interstitial {\n NSLog(@\"Interstitial adapter class name: %@\", interstitial.adNetworkClassName);\n }\n\nFor ads fetched through [custom events](/ad-manager/mobile-ads-sdk/ios/custom-events), it returns `GADMAdapterCustomEvents`.\n\n\u003cbr /\u003e"]]