Mediation

AdMob · Google Ad Manager · AppLovin MAX

Get my keys

Already on AdMob, Ad Manager or AppLovin MAX? Add Trek as a mediation source — no changes to your existing ad code.

AdMob / Ad Manager (custom events)

PlatformInstallClass nameParameter
iOSpod 'AotterTrekMediation/AdMob' / /GAM · SPM AotterTrekAdMobMediationAotterTrekGADMediaAdapter{"clientId":"…","adPlace":"<placeUid>"}
Androidcom.aotter.android:trek-admob-mediation / trek-gam-mediationsee Android docssame
Fluttertrek_gma_mediationas iOS / Androidsame

iOS extras use AotterTrekGADMediationExtras (category, contentUrl, contentTitle). No fill maps to GADErrorNoFill; a clientId mismatch or missing place maps to GADErrorInvalidRequest.

AppLovin MAX

SettingValue
Adapter classAotterTrekMAXMediationAdapter
App IDTrek clientId
Placement IDTrek placeUid
FormatsNative · Banner · MREC
SupportThe MAX adapter is provided as-is and needs AotterTrekSDK 5.0.1+ on iOS.

Managing in the dashboard

Connect GAM, AdMob and AdSense under "Sources" and each keeps its own accounts, currency, timezone and settlement, so Trek revenue earned through mediation isn't double-counted. Google connections are simulated for now (issue 09).