Search Unity

How to use Admob Mediation for mmedia on unity ?

Discussion in 'Unity Ads & User Acquisition' started by TejaKurniawan, Jan 28, 2015.

  1. TejaKurniawan

    TejaKurniawan

    Joined:
    Jan 27, 2015
    Posts:
    7
  2. unity-nikkolai

    unity-nikkolai

    Joined:
    Sep 18, 2014
    Posts:
    540
    We currently have support for MoPub and Fyber mediation services. HeyZap might also be worth looking into. I'm not familiar with millennialmedia, however most mediation integrations will require you to dive into native code at some point.
     
  3. GregMeach

    GregMeach

    Joined:
    Dec 5, 2012
    Posts:
    249
    Warning! <thread-hijack>
    Nikkolai- any plans to build an AdMob mediation adapter? I ask because that would be awesome and allow Devs the ability to switch between AdMob, iAd and Unity Ads on the fly
    </thread-hijack>
     
  4. TejaKurniawan

    TejaKurniawan

    Joined:
    Jan 27, 2015
    Posts:
    7
    thx for the help,
    now i still confused with the new guide nikkolai post, on this part
    Download the UnityAdsMopubEvents.java class from the unity-ads repository.
    then what should i do with that unityadsmopubevents.java ???

    so far i put both admob and unity ads on my game. but not as mediation.
    i use this code, but it's weird, the first time it's show both admob interstitial and unity video at same time. after that usually it's just admob interstitial.

    Code :
    if(deathcount % 5 == 0) {
    if (interstitial.IsLoaded()) { //admob interstitial
    interstitial.Show();
    }
    else
    {
    if(Advertisement.isReady()){ //unity video ad
    Advertisement.Show();
    }
    }
    }

    this code should be showing the admob interstitial or unity video ad every 5 deaths not both....

    i thought after learning unity i don't need to learn eclipse, looks like i need to learn eclipse too lol