NOTICE: If you use Pangle adapter 2.0.0 and above, please update Pangle SDK to v4.6.0.0 and above.
Apps
-> + Add App
to create an 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.
If you use SDK v46 and above:(recommended)
If you use SDK v45 and below:
com.google.ads.mediation.pangle.customevent.PangleCustomEvent
directly in the Admob platform.Class Name
.Class Name
.com.bytedance.pangle.admob.adapter.demo.pangle.adapter.AdmobRewardVideoAdapter
1234567
{"placementID":"your slot ID"}
to Parameter.{"placementID":"1234567"}
Google Admob Adapter Import
Pangle SDK Import
The Pangle init should be called on UI threadMake sure the Pangle init has success before requesting Ads
If you use SDK v46 and above:(recommended)
If you use SDK v45 and below:
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 the Pangle platform.