iOS Tutorial AdMob Ads Mediation (with InMobi)

Discussion in 'iOS Tutorials' started by Erel, Oct 9, 2016.

  1. Erel

    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:
    Code:
    #AdditionalLib: InMobiSDK.framework.3
    #AdditionalLib: AdapterInMobi
    #AdditionalLib: libsqlite3.dylib
    #AdditionalLib: libz.dylib
    #AdditionalLib: WebKit.framework
    - Configure AdMob to use the ad network:
    [​IMG]

    Note that it takes several hours for any change in AdMob console to be applied.
     
    Pendrush likes this.
  2. sorex

    sorex Expert Licensed User

    This one hasn't been released yet?

    Edit: I installed the 3.00 beta.
     
    Last edited: Oct 24, 2016
  3. ilan

    ilan Expert Licensed 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
     
  4. ilan

    ilan Expert Licensed User

  5. sorex

    sorex Expert Licensed User

    just click on "1 source" in your app overview page
     
  6. ilan

    ilan Expert Licensed 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?
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    You need to find their mediation setup instructions.
     
Loading...