iOS Tutorial AdMob Ads Mediation (with InMobi)

Erel

Administrator
Staff member
Licensed User
(B4A tutorial: https://www.b4x.com/android/forum/threads/admob-mediation-with-inmobi.71396/#content)

AdMob supports ads mediation. This means that the ad can come from different ad networks and not just from Google AdMob network.
It can improve the fill rate and the revenue earned.

The first step is to configure iAdMob: https://www.b4x.com/android/forum/threads/47319/#content

Adding another ad network:

- Supported networks: https://firebase.google.com/docs/admob/ios/mediation-networks
- You need to register with the ad network, download their SDK and adapter library and copy it to the Mac Libs folder. Note that InMobi libraries are already available in the hosted builder.
- You need to add #AdditionalLib (added in B4i v3) to tell the compiler to reference the relevant libraries. For example with InMobi:
B4X:
#AdditionalLib: InMobiSDK.framework.3
#AdditionalLib: AdapterInMobi
#AdditionalLib: libsqlite3.dylib
#AdditionalLib: libz.dylib
#AdditionalLib: WebKit.framework
- Configure AdMob to use the ad network:


Note that it takes several hours for any change in AdMob console to be applied.
 

sorex

Expert
Licensed User

tufanv

Expert
Licensed User
I had a tutorial for this at https://www.b4x.com/android/forum/threads/admob-mediation-with-chartboost.77815/
not working anymore ?
I bumped onto a chartboost mediation adapter source for IOS today...

https://github.com/googleads/googleads-mobile-ios-mediation/tree/master/adapters/Chartboost

guide > https://developers.google.com/admob/ios/mediation/chartboost

maybe this can be added some day?

most of the inmobi rewarded video impressions don't even arrive at their console so it's rather useless through mediation.
and chartboost could be a working alternative.
 
Top