Search Unity

Unity Ads not showing on Google Play, but showing in debug mode

Discussion in 'Unity Ads' started by chiliosio, Jul 3, 2019.

  1. chiliosio

    chiliosio

    Joined:
    Jun 20, 2019
    Posts:
    1
    When I run my game from debug mode directly via USB cable on my phone, the real ads show. When i upload that .aab file to google play, the ads don't show. The game has been linked in unity ads console. So im not sure what is going on. Can someone help me figure this out?
     
  2. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,257
    @chiliosio
    • Are you building your game with Unity or Android Studio?
    • If Unity, which version are you using?
    • Which version of the Ads SDK are you using? How are you integrating it: Asset Store or Services window?
    • Can you share the code you are using to integrate Unity Ads?
    • Can you provide a device log from your app when Unity Ads is initialized?
    • Are you using mediation? If so, which version of the mediation SDK and adapter are you using?
     
  3. josephparis97

    josephparis97

    Joined:
    Mar 27, 2019
    Posts:
    1
    hi ! I have the same issue. Unity ads are showing when i test my apk on my device, But when I publish a beta version on the google play store, the ads are not showing. I am using unity 2018.3.11 f1. I am also using unity monetization 3.0 APK.
    Here is a screenshot of when I play an ad on my code:
    upload_2019-8-8_13-6-2.png
    I hope someone can help me
     
  4. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,257
    Until your app is in production, you should continue to use test ads. If the test ads are rendering, then your ads integration should be correct. When you need to switch over to production mode, you can do so from the Dashboard under Project Settings.

    If the ads are not rendering, then I would suggest taking a look at the device logs. This will often explain what the issue is:
    https://forum.unity.com/threads/how-to-capturing-device-logs-on-android.528680/

    In your showad method, you are calling Advertisement.Show before checking if the ad is ready (and also after it is ready).