Menu

(iOS) Integrate TopOn with Admob Mediation

 

The version correspondence between TopOn Mediation Adapter, TopOn SDK and Admob Mediation SDK is as follows:

Admob SDK TopOn Mediation Adapter TopOn SDK
11.2.0 1.0.0 6.3.21 and above

 

Supported ad formats

  • Splash
  • Native
  • Banner
  • Interstitial
  • Reward Video

Please integrate Admob 11.2.0 and above, topon 6.3.21 and above, refer to Admob, TopOn

1.Custom Adapter Setup

Log in Admob,find Mediation, Click Create mediation group, 

2. TopOn Placement ID Setup

In the page of New mediation group,Select the application you want to access TopOn SDK and select the advertising slot corresponding to the application

Click Add custom event of Waterfall module, enter TopOn's Class Name, Parameter (optional), Manual eCPM

Manual eCPM: (Optional) Enter the floor price (default is no floor price. If a floor price is configured, TopOn will return ads based on this price, which may cause the fill rate of this instance to decrease)

Class Name:GADMediationAdapterTopOn

Parameter:{"app_id":"TopOn App ID","app_key":"TopOn APP Key","placement_id":"TopOn placement_id"}

 

You can find TopOn’s application ID & TopOn’s ad slot ID on this page: TonOn app

You can find TopOn’s App Key on this page:TonOn app info

 

 

1. integrated

 1.Add dependencies

Necessary dependency packages: admob SDK and topon SDK. The topon version is currently unlimited. It is recommended that the latest stable version be as current as possible.

pod:

Podfile 
pod 'Google-Mobile-Ads-SDK','11.2.0'     
pod 'TPNSDKiOS','6.3.21'
pod 'Masonry'

Note: If you need to integrate more networks through topon, please refer to Network SDK Integration. 

2. add AdmobTopOnAdapter.framework

Currently, only manual import is supported. The adapter SDK is provided by topon and can be directly dragged into the project Frameworks directory.

Framework Download

GDPR

Please refer to TopOn SDK GDPR Introduction to setting GDPR.

 

 COPPA&CCPA

Please log in to the TopOn backend, enter the application page, select the corresponding application, and set COPPA & CCPA

 

Step 5: Test TopOn Ads

Please refer to The test guideline of TopOn SDK

After configuring the dependencies, initialize admob normally, and configure the admob backend topon-related policies, you can debug the corresponding topon adapter policy source.

// Turn on the topon debug switch, and you can see the related topon adapter running debugging logs to facilitate troubleshooting.
    [ATAPI setLogEnabled:YES];

 

 

 

 

 

 

 

 

 

 

 

 

 

Last modified: 2025-05-30Powered by