Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

ADs do not appear, please help!

Discussion in 'Unity Ads & User Acquisition' started by UDN_9d74217e-7172-46ce-9974-6af76ee21334, Nov 2, 2018.

  1. UDN_9d74217e-7172-46ce-9974-6af76ee21334

    UDN_9d74217e-7172-46ce-9974-6af76ee21334

    Joined:
    Nov 1, 2018
    Posts:
    1
    Hi, i tried put Unity ADS on my project but when I try test the ADs don't work, i put 2 "prints" in code for detect where are the problem and i discovered that the second "print" don't work ( print ("mostrou o ad ok"); ), in my conseption the significate of this is: the part Advertisement.IsReady("video") don't return "true", soon, the problem is here, but why Advertisement.IsReady("video") dont return true? the configuration of pleacements it's ok, is the default configurations.

    I used one UI button for test this, i atributed this function in button, for callin her when click down

    public void ShowRewardedAd()
    {
    print ("mostrou o ad");
    if (Advertisement.IsReady("video"))
    {
    print ("mostrou o ad ok");
    var options = new ShowOptions { resultCallback = HandleShowResult };
    Advertisement.Show("video", options);
    }
    }
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Please show a screenshot of your "video" placement definition in the Dashboard.