Search Unity

Unity Ads not Showing Up

Discussion in 'Unity Ads & User Acquisition' started by NateTheCarrot, Dec 16, 2019.

  1. NateTheCarrot

    NateTheCarrot

    Joined:
    Aug 1, 2019
    Posts:
    1
    Hello,

    I'm pretty sure this may be posted a lot on here, but I unfortunately cannot find a thread that helps my issue. Whenever I try to load an ad, nothing shows up, it just continues on with the game. It says it has initialized with my ID (Initialize(myandroidgameid, True)). I have test mode enabled and I have changed my company and product name for the game if that matters. If you have any questions, please ask, as I'm sure I accidentally left out some details. Help would be greatly appreciated.

    Code (CSharp):
    1. using System.Collections;
    2. using System.Collections.Generic;
    3. using UnityEngine;
    4. using UnityEngine.Advertisements;
    5. public class Ads : MonoBehaviour
    6. {
    7.     void Update()
    8.     {
    9.         if(Input.GetKeyDown(KeyCode.E)) {
    10.             if(Advertisement.IsReady("video")) {
    11.                 Advertisement.Show("video");
    12.             }
    13.         }
    14.     }
    15. }
    16.  
     
  2. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @NateTheCarrot

    Which version of Unity Ads are you using?
    Which version of Unity are you using?
    Are you building for a supported platform (iOS or Android)?