Please set Google Ad Manager in your app first.
Apps
-> + Add App
to create a 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.Set Label
, Class Name
and Parameter
in the mediation setting.
Copy the contents below to Class Name
based on your needs.
Ad Type | Class Name for Android Adapter |
Reward Video Ads | com.google.ads.mediation.sample.customevent.adapter.AdmobRewardVideoAdapter |
Interstitial Ads | com.google.ads.mediation.sample.customevent.adapter.AdmobFullScreenVideoAdapter |
Banner Ads | com.google.ads.mediation.sample.customevent.adapter.AdmobTemplateBannerAdapter |
Native Ads | com.google.ads.mediation.sample.customevent.adapter.AdmobNativeFeedAdAdapter |
Ad Type | Class Name for iOS Adapter |
Reward Video Ads | BUDAdmob_RewardCustomEventAdapter |
Interstitial Ads | BUDAdmob_FullScreenVideoCustomEventAdapter |
Banner Ads | BUDAdmob_BannerCustomEventAdapter |
Native Ads | BUDAdmob_NativeFeedCustomEventAdapter |
Add {"placementID":"your slot ID"}
to Parameter.
{"placementID":"1234567"}
Google Admob Adapter Import
Pangle SDK Import
The Pangle init should called on ui threadMake sure the Pangle init has success before request Ads
Now you have finished the integration. If you wanna test your apps, make sure you use test ads rather than live, production ads. The easiest way to load test ads is to use test mode. It's been specially configured to return test ads for every request, and you're free to use it in your own apps while coding, testing, and debugging.
Refer to the How to add a test device? to add your device to the test devices on Pangle platform.