Help Center/Details/

[iOS] AdMob Custom Event Adapter for Pangle

Please set Admob in your app first.

Setup Pangle Platform

Create a Pangle account

Create an application and placements in Pangle

  • Click Apps -> + Add App to create a app for mediation.

    截屏2021-03-19 下午3.49.00.png

    截屏2021-03-19 下午4.00.22.png

  • You will get an app with its app ID.

    截屏2021-03-19 下午3.49.40.png

Create Ad Placement

  • Click Ad Placements -> + Add Ad Placement to create the placement for mediation.

    截屏2021-03-19 下午3.50.05.png

  • Select the ad's type for your app and finish the create.

    截屏2021-03-19 下午3.50.26.png

  • You will get a placement with its placement ID.

    截屏2021-03-19 下午3.50.48.png

Add Pangle to AdMob's mediation

Create mediation

  • Click Mediation -> CREATE MEDIATION GROUP to create a mediation group.

    截屏2021-03-19 下午3.51.10.png

  • Select the same ad format which created on Pangle side.

    截屏2021-03-19 下午3.51.18.png

  • After select the ad unit you created on AdMob which you want to embed mediation, click ADD CUSTOM EVENT to set with Pangle.

    截屏2021-03-19 下午3.51.32.png

  • Add adapter's class name to Class Name.

    • Class Name: the adapter class's name , for example,BUDAdmob_RewardCustomEventAdapter
  • Add {"placementID":"your slot ID"} to Parameter.

截屏2021-03-19 下午3.51.49.png

Please make sure to use JSON to set Parameter. Or you need to customize adapter yourself.

Initialize Pangle SDK and Adapter

Initialize Pangle SDK

  • Please use app ID to initialize Pangle SDK.

Embed Pangle Adapters

  • Click SDK Integration -> SDK download, you can find adapters for different ad formats from your Pangle platform, embed them in your app and they can be used with no code changes. Also you can customize it for your use case.

    截屏2021-03-19 下午3.52.43.png

    截屏2021-03-19 下午3.52.50.png

  • You can find simple use cases from Demo.

  • You need to add these two files into your project to support native ad's adapter mapping.

    截屏2021-03-19 下午3.53.09.png

About Swift

  • If your project is based on Swift, please add adapter's header file into your bridge-header file.

    截屏2021-03-19 下午3.53.33.png
Did the content solve your problem?