AdFalcon과 미디에이션 통합
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이 가이드는 AdFalcon과 함께 Google 모바일 광고 미디에이션을 사용하려는 게시자를 대상으로 합니다. 현재 iOS 앱과 함께 작동하는 미디에이션 어댑터의 설정과 추가 설정의 구성을 안내합니다.
기본 요건
프로젝트에 AdFalcon 추가
전과 동일한 방식으로 앱에 광고를 통합합니다. 전면 광고가 아닌 광고 (배너 크기, 리더보드 크기 등)를 통합하려면 배너 광고를 참고하세요. 전면 광고 (다른 모든 콘텐츠를 마스크하는 전체 화면 광고)를 통합하려면 전면 광고를 참고하세요.
다음 단계를 따르면 광고 게재위치가 여러 네트워크의 광고를 게재할 수 있는 미디에이션 게재위치로 변경됩니다.
위의 리소스에서 AdFalcon용 어댑터와 SDK를 다운로드합니다.
다운로드한 네트워크 어댑터/SDK를 Xcode에 추가합니다. 프로젝트를 마우스 오른쪽 버튼으로 클릭하고 project에 파일 추가를 클릭합니다.
AdFalcon에 필요한 프레임워크, 컴파일러 플래그 또는 링커 플래그를 포함합니다. 추가 코드를 작성할 필요가 없습니다. 미디에이션은 광고를 생성하는 데 필요한 경우 AdFalcon 어댑터와 SDK를 호출합니다.
이벤트 알림 설정
노출과 같은 광고 수명 주기 이벤트에 대한 알림을 받으려면 GADBannerViewDelegate
를 구현하면 됩니다. 미디에이션을 사용하는 경우 이 대리자는 AdFalcon의 이벤트를 자동으로 알림받습니다. 예를 들어 모든 광고 네트워크의 노출수는 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 AdFalcon ads into their iOS apps using Google Mobile Ads mediation.\u003c/p\u003e\n"],["\u003cp\u003eIt covers setup, configuration, and event notifications for AdFalcon ads.\u003c/p\u003e\n"],["\u003cp\u003ePrerequisites include an iOS app with Google Mobile Ads SDK and a Google Ad Manager account.\u003c/p\u003e\n"],["\u003cp\u003eThe guide provides instructions for adding AdFalcon to your project and setting up event notifications.\u003c/p\u003e\n"],["\u003cp\u003eYou can check the ad network class name to identify the source of the ad.\u003c/p\u003e\n"]]],["Publishers integrating Google Mobile Ads mediation with AdFalcon in their iOS apps should download the AdFalcon adapter and SDK. Integrate these into the Xcode project by adding the files, and include required frameworks. Implement `GADBannerViewDelegate` for ad lifecycle event notifications. Check the `adNetworkClassName` property in `GAMBannerView` or `GAMInterstitialAd` after receiving an ad to verify the serving ad network, like AdFalcon, or Custom Events. No additional code is required.\n"],null,["This guide is intended for publishers who are interested in using Google\nMobile Ads mediation with **AdFalcon**. It walks\nthrough the setup of a mediation adapter to work with your current iOS app\nand the configuration of additional settings.\n\n| AdFalcon Resources |\n|-----------------------------------------------------|\n| [Documentation](http://adfalcon.com) |\n| [SDK](http://www.adfalcon.com/en/download-sdk.html) |\n| [Adapter](http://www.adfalcon.com/en/adapters.html) |\n| [Customer support](mailto:support@adfalcon.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](/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 AdFalcon 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](/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 AdFalcon 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 AdFalcon\n require. There's no need to write additional code. Mediation invokes the\n AdFalcon 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 AdFalcon. 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`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\nSwift \n\n func adViewDidReceiveAd(_ bannerView: GAMBannerView) {\n print(\"Banner adapter class name: \\(bannerView.adNetworkClassName)\")\n }\n\nObjective-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\nSwift \n\n func interstitialDidReceiveAd(_ ad: GAMInterstitialAd) {\n print(\"Interstitial adapter class name: \\(ad.adNetworkClassName)\")\n }\n\nObjective-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"]]