Attention:
The custom event interface has been deprecated by AdMob v9.0.0. To prevent potential issues, it is recommended to use AdMob versions that are below 9.0.0. For more information, please refer to the documentation.
In the event that AdMob v9.0.0 or above is being used, please ensure that the Pangle adapter is updated to version 2.0.0 or later and that the Pangle SDK is updated to version v4.6.0.0 or later.
Please set Google Ad Manager in your app first.
Apps
-> + Add App
to create an app for mediation.app ID
.Ad Placements
-> + Add Ad Placement
to create the placement for mediation.placement ID
.Delivery
section, click Yield Group
-> New Yield GROUP
to create a mediation group.Mobile App
for Inventory type,ADD Yield Partner
to set with Pangle.Custome Event
on integration type and platform based on your OS.1234567
{"placementID": "1234567"}
BUDAdmob_CustomEventAdapter
directly in the Class Name blank.BUDAdmob_CustomEventAdapterForOpenAd
directly in the Class Name blank.Ad Type | Class Name |
Reward Video Ads | BUDAdmob_RewardCustomEventAdapter |
Interstitial Ads | BUDAdmob_FullScreenVideoCustomEventAdapter |
Banner Ads | BUDAdmob_BannerCustomEventAdapter |
Native Ads | BUDAdmob_NativeFeedCustomEventAdapter |
Add the information as follows in Podfile, and use pod update
or pod install
to integrate.
Initialize Pangle with the APP ID as the argument. Unless there is a particular reason, stipulate asUIApplicationDelegate application(_:didFinishLaunchingWithOptions:)
We recommend to use asynchronize initialization method + (void)startWithAsyncCompletionHandler:(BUCompletionHandler)completionHandler; to init the SDK, and also set allowModifyAudioSessionSetting to true
to not interrupt the background's audio playback.
Please refer to Integrate Pangle SDK and Initialize Pangle SDK for manual integration and more information.
From our adapter v2.0.0, we support CocoaPods integration, and this is the prerequisite for using it.
Add the information as follows in Podfile, and using pod update
or pod install
to intergrate.
SDK Integration
-> SDK download
, you can download adapters for different ad formats from your Pangle platform.Please unzip the file and add adapter files from iOS folder to your application project. They can be used with no code changes. Also, you can customize it for your use case.
BUDAdmob_NativeFeedAd.h
and BUDAdmob_NativeFeedAd.m
into your project to support native ad adapter mapping.