(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:
- Configure AdMob to use the ad network:
Note that it takes several hours for any change in AdMob console to be applied.
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.