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
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    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
  3. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,384
unityunity