Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Admob Mediation with Unity Ads

Discussion in 'Unity Ads' started by Ogien, Aug 28, 2018.

  1. Ogien


    Nov 21, 2012
    I am attempting to integrate Admob Mediation with Unity Ads, what I mean is I would like the Admob Unity SDK to drive the mediation and decide if it should display the Admob or Unity Ad based on highest revenue.

    As my starting point I am using this tutorial

    Although it is out of date I was able to account for the differences in the dashboard and complete all the steps.

    On the Unity Side was unable to simply turn on the Unity Ads service as this gave me errors. After some email exchanges with Unity Support I was told that instead I had to import the package from the Unity Asset Store which I did.

    My understanding is that as long as the Admob SDK is in my Unity Project along the side of the Unity Ads SDK and the Mediation is setup correctly on the Admob Dashboard then the Admob SDK should be able to correctly choose the best paying ad and display it.

    Although I am calling the Admob SDK code as usual I am not making any calls or initiations to the Unity SDK (I am not sure that is correct)

    However in reality all I ever get are Admob Ads with 0 Unity Ads impressions even after several weeks of running.

    I should ad that I am not using Rewarded Ads just Interstitial ads.

    I tried contacting Unity Support about this but it has now been 1 week since I received a reply (despite several emails asking for more help).

    Because I see the Network Request coming through the mediation window in Admob & Unity Ads I feel like I am close but I must me missing something because I never get any impressions.

    I am using Unity 2017.3.1f1

    Any ideas?
    Last edited: Aug 28, 2018
  2. RozekEnhance


    Feb 2, 2017
    I'm not sure how the admob mediation SDK works with unity, but you can simplify your integration by using Enhance.
    We support admob and a wide range of networks and integration takes only minutes. With Enhance, you can take the guesswork and time out of integrating SDKs.

    For more info, just follow the link :
    Good Luck!
  3. Ogien


    Nov 21, 2012
    Now that we got the commercial offers out of the way, is there someone that has done this that can point me in the right direction? Anyone from Unity? This should be super simple why is there no documentation about how to implement this?
    Endahs likes this.
  4. Ogien


    Nov 21, 2012
    OK so I got it working on my own. The solution was actually always in the Admob Unity Ads Mediation Tutorial, I just missed it.

    To get Admob to Mediate Unity Ads you need to:

    1) Download and setup the official Google Admob Plugin for Unity:
    2) Setup the above so it displays Admob Ads like you would usually, no code calling Unity Ads is necessary.
    3) Download and install the Google Mobile Ads Unity Ads Mediation Plugin

    The only code you need to write is the code you would usually implement to show Admob Ads. Once you get that working importing the second plugin and setting Mediation up correctly on the Admob Dashboard is enough.

    IMPORTANT: You do not import the Unity Ads plugin from the Asset Store. Doing that will not work, I have spend a month hitting my head against that door. You also do not enable the Unity Ads service in the services window.

    Good Luck
    Klausology, Dazo1985 and AdamLiu like this.
  5. Nowlz


    Nov 18, 2016
    It looks like I may be hitting the same issue, I have everything seemingly set up correctly and I can see 100's of requests being made for Unity Ads but no impressions. However as you mentioned I've installed the Unity Ads plugin and have Unity Ads enabled in the services window.

    Are you saying that simply deselecting Unity Ads in the services window within the editor worked for you? Or did you have to uninstall the Unity Ads plugin as well?
  6. xtrecoolx


    Nov 9, 2018
    I am having the same issue. Can someone shed light on to this ? I see that Admob is calling Unity Ads but the ads are never displayed.
  7. Ryoha


    Mar 5, 2017
    I did exactly like this, but still only admob ads show, and unity ads never show.


    Aug 28, 2018