Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Unity Ads Not Working At All

Discussion in 'Unity Ads' started by TyrantKoala, Aug 8, 2019.

  1. TyrantKoala

    TyrantKoala

    Joined:
    Jul 24, 2017
    Posts:
    9
    Ads do not work at all in my game.


    Package Manager says Advertisement Version 3.2.0


    Code (CSharp):
    1.     public void adClick()
    2.     {
    3.         if (Advertisement.IsReady("rewardedVideo"))
    4.         {
    5.             Advertisement.Show("rewardedVideo");
    6.             if (Advertisement.isShowing)
    7.             {
    8.  
    9.  
    10.                 float balance = PlayerPrefs.GetFloat("Balance");
    11.                 balance += 50;
    12.                 PlayerPrefs.SetFloat("Balance", balance);
    13.  
    14.             }
    15.  
    16.  
    17.         }
    18.         else Debug.Log("Ad Failed");
    19.     }

    Console always returns Ad Failed





    I have ads enabled on the side
    Built in Ads Extension enabled
    Test Development Enabled


    Unity IOS Version 2019.3.0a5


    When I run tests in XCode the ads do not run either
     
  2. TyrantKoala

    TyrantKoala

    Joined:
    Jul 24, 2017
    Posts:
    9