NOTICE: Since AdMob v9.0.0 deprecated the custom event interface, in order to avoid problems, if you use adapter v1.4.3 and below, please use AdMob version below 9.0.0. For details, please refer to the link. If you use AdMob v9.0.0 and above, please update Pangle adapter to 2.0.0 and above ,and update Pangle SDK to v4.6.0.0 and above.
Please set Admob in your app first. We support a brand new configuration to the v46. If you want to use SDK v46, please use adapter version 2.0.0
Apps
-> + Add App
to create a app for mediation.app ID
.Ad Placements
-> + Add Ad Placement
to create the placement for mediation.placement ID
.Mediation
-> CREATE MEDIATION GROUP
to create a mediation group.ADD CUSTOM EVENT
to set with Pangle.Set Class Name
and Parameter
in the mediation setting.
1234567
{"placementID": "1234567"}
.BUDAdmob_CustomEventAdapter
directly in the Class Name blank.If you are using App Open Ad, please add BUDAdmob_CustomEventAdapterForOpenAd
directly in the Class Name blank.BUDAdmob_RewardCustomEventAdapter
Note: If you are updating the Pangle Custom Event adapter from SDK v45 below to SDK v46 above, please note that you are recommended to keep both the old and the new Custom Event settings in the mediation ad units, to avoid revenue loss in the older app version during users' transition.
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 into 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's adapter mapping.