Vpon을 미디에이션과 통합
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이 가이드는 Vpon과 함께 Google 모바일 광고 미디에이션을 사용하려는 게시자를 대상으로 작성되었습니다. 현재 iOS 앱과 함께 작동하는 미디에이션 어댑터의 설정과 추가 설정의 구성을 안내합니다.
기본 요건
유용한 사전 참고 자료
다음 고객센터 도움말에서 미디에이션에 관한 배경 정보를 확인하세요.
프로젝트에 Vpon 추가
전과 동일한 방식으로 앱에 광고를 통합합니다. 전면 광고가 아닌 광고 (배너 크기, 리더보드 크기 등)를 통합하려면 배너 광고를 참고하세요. 전면 광고 (다른 모든 콘텐츠를 마스크하는 전체 화면 광고)를 통합하려면 전면 광고를 참고하세요.
다음 단계를 따르면 광고 게재위치가 여러 네트워크의 광고를 게재할 수 있는 미디에이션 게재위치로 변경됩니다.
위의 리소스에서 Vpon용 어댑터와 SDK를 다운로드합니다.
다운로드한 네트워크 어댑터/SDK를 Xcode에 추가합니다. 프로젝트를 마우스 오른쪽 버튼으로 클릭하고 project에 파일 추가를 클릭합니다.
Vpon에 필요한 프레임워크, 컴파일러 플래그 또는 링커 플래그를 포함합니다. 추가 코드를 작성할 필요가 없습니다. 미디에이션은 광고를 만들기 위해 필요에 따라 Vpon 어댑터와 SDK를 호출합니다.
이벤트 알림 설정
노출과 같은 광고 수명 주기 이벤트에 대한 알림을 받으려면 GADBannerViewDelegate
를 구현하면 됩니다. 미디에이션을 사용하는 경우 이 대리자에게 Vpon의 이벤트가 자동으로 알림으로 전송됩니다. 예를 들어 모든 광고 네트워크의 노출수는 GADBannerViewDelegate
의 adViewDidReceiveAd:
메서드를 통해 보고됩니다.
adNetworkClassName의 값 확인하기
선택적으로 GADBannerView
에서 adNetworkClassName
속성을 확인할 수 있습니다. 이 속성은 adViewDidReceiveAd
콜백이 호출되면 현재 배너를 가져온 광고 네트워크의 광고 네트워크 클래스 이름을 반환합니다.
Swift
func adViewDidReceiveAd(_ bannerView: GADBannerView) {
print("Banner adapter class name: \(bannerView.adNetworkClassName)")
}
Objective-C
- (void)adViewDidReceiveAd:(GADBannerView *)bannerView {
NSLog(@"Banner adapter class name: %@", bannerView.adNetworkClassName);
}
마찬가지로 전면 광고의 경우 interstitialDidReceiveAd
내의 GADInterstitialAd
에서 adNetworkClassName
속성을 확인합니다.
Swift
func interstitialDidReceiveAd(_ ad: GADInterstitialAd) {
print("Interstitial adapter class name: \(ad.adNetworkClassName)")
}
Objective-C
- (void)interstitialDidReceiveAd:(GADInterstitialAd *)interstitial {
NSLog(@"Interstitial adapter class name: %@", interstitial.adNetworkClassName);
}
AdMob에서 반환된 광고의 경우
adNetworkClassName
는
GADMAdapterGoogleAdMobAds
를 반환합니다.
맞춤 이벤트를 통해 가져온 광고의 경우
GADMAdapterCustomEvents
를 반환합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-09-02(UTC)
[null,null,["최종 업데이트: 2025-09-02(UTC)"],[[["\u003cp\u003eThis guide helps publishers integrate Vpon ads into their iOS apps using Google Mobile Ads mediation.\u003c/p\u003e\n"],["\u003cp\u003eYou'll need an existing iOS app with the Google Mobile Ads SDK and an AdMob account with configured ad units.\u003c/p\u003e\n"],["\u003cp\u003eAfter adding the Vpon adapter and SDK, there's no need for extra code; mediation handles ad serving automatically.\u003c/p\u003e\n"],["\u003cp\u003eImplement \u003ccode\u003eGADBannerViewDelegate\u003c/code\u003e or \u003ccode\u003eGADInterstitialDelegate\u003c/code\u003e to receive ad lifecycle event notifications.\u003c/p\u003e\n"],["\u003cp\u003eYou can identify the ad network that served an ad by checking the \u003ccode\u003eadNetworkClassName\u003c/code\u003e property.\u003c/p\u003e\n"]]],["Publishers using Google Mobile Ads mediation with Vpon should download the Vpon adapter and SDK, then add them to their Xcode project. Integrate ads into the app as before, with no additional code necessary for mediation. Configure the ad unit within the AdMob account to include mediation line items. Event notifications, such as impressions, are handled through `GADBannerViewDelegate` and `GADInterstitialAd`. Check `adNetworkClassName` to identify the ad network serving the ad.\n"],null,["This guide is intended for publishers who are interested in using Google\nMobile Ads mediation with **Vpon**. It walks\nthrough the setup of a mediation adapter to work with your current iOS app\nand the configuration of additional settings.\n\n| Vpon Resources |\n|-------------------------------------------------------------------------------|\n| [Documentation](http://vpon-sdk.github.io/ios/mediation/admob/) |\n| [SDK](http://vpon-sdk.github.io/ios/download/index.html) |\n| [Adapter](http://vpon-sdk.github.io/ios/download/index.html#adapter-download) |\n| [Customer support](mailto:fae@vpon.com) |\n\nPrerequisites\n\n- An iOS app with the Google Mobile Ads SDK integrated (If you don't\n have one, see [Get Started](/admob/ios/quick-start).)\n\n- An AdMob account and [an ad unit configured with mediation line\n items](//support.google.com/admob/answer/3124703).\n\nHelpful primers\n\nThe following Help Center articles provide background information on mediation:\n\n- [About AdMob Mediation](//support.google.com/admob/answer/3063564)\n- [Set up AdMob Mediation](//support.google.com/admob/answer/3124703)\n- [Optimize AdMob Network](//support.google.com/admob/answer/3534471)\n\nAdd Vpon to your project\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](/admob/ios/banner). To integrate\ninterstitial ads (full-screen ads that mask all other content),\nsee [Interstitial Ads](/admob/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 Vpon 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 Vpon\n require. There's no need to write additional code. Mediation invokes the\n Vpon adapter and SDK as necessary to create ads.\n\nSet 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 Vpon. For example, impressions\nfrom any ad network are reported through the `adViewDidReceiveAd:` method of\n`GADBannerViewDelegate`.\n\nCheck the value of adNetworkClassName\n\nYou can optionally check the `adNetworkClassName` property on\n`GADBannerView`, which returns the ad network class\nname of the ad network that fetched the current banner once the\n`adViewDidReceiveAd` callback is called: \n\nSwift \n\n func adViewDidReceiveAd(_ bannerView: GADBannerView) {\n print(\"Banner adapter class name: \\(bannerView.adNetworkClassName)\")\n }\n\nObjective-C \n\n - (void)adViewDidReceiveAd:(GADBannerView *)bannerView {\n NSLog(@\"Banner adapter class name: %@\", bannerView.adNetworkClassName);\n }\n\nSimilarly, for interstitials, check the `adNetworkClassName` property\non `GADInterstitialAd` inside `interstitialDidReceiveAd`: \n\nSwift \n\n func interstitialDidReceiveAd(_ ad: GADInterstitialAd) {\n print(\"Interstitial adapter class name: \\(ad.adNetworkClassName)\")\n }\n\nObjective-C \n\n - (void)interstitialDidReceiveAd:(GADInterstitialAd *)interstitial {\n NSLog(@\"Interstitial adapter class name: %@\", interstitial.adNetworkClassName);\n }\n\nFor ads returned from AdMob, `adNetworkClassName` returns `GADMAdapterGoogleAdMobAds`. For ads fetched through [custom events](/admob/ios/custom-events), it returns `GADMAdapterCustomEvents`.\n\n\u003cbr /\u003e"]]