iOS Tutorial AdMob Ads Mediation (with InMobi)

(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:
SS-2016-10-09_16.35.42.png


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

ilan

Expert
Licensed User
Longtime User
hi

i cant see any option to choose between a different ad network.
how can i choose an ad network (in the admob console)?

thank you
 

sorex

Expert
Licensed User
Longtime User
just click on "1 source" in your app overview page
 

ilan

Expert
Licensed User
Longtime User
hi,

i am trying to implement leadbolt ads to my app using admob

i created an ad unit and dowloaded the sdk but it is not clear what file i need to copy to the macserver and what files i need to include in #AdditionalLib
any help please?
 

sorex

Expert
Licensed User
Longtime User

tufanv

Expert
Licensed User
Longtime 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