- Home /
Ad IsReady problem
okay so 1 day ago I had no problem with the ad system with unity, but today i try to make something in the code and i see that Advertisement' does not contain a definition for
IsReady '
public void ShowRewardedAd()
{
if (Advertisement.IsReady("rewardedVideoZone"))
{
var options = new ShowOptions { resultCallback = HandleShowResult };
Advertisement.Show("rewardedVideoZone", options);
}
}
this is the code ... and I used using
UnityEngine.Advertisements;
I don't know what to do. Can some help me ?
Answer by Neos_ · Dec 29, 2021 at 01:50 AM
So I'm a little late lol but I ran into the same issue. For some reason the most recent version of the ads package does not work. I had to use the last available version.
Wow, a comment from 15 hours ago, on a 5 year old post, about the issue I'm having.
Definitely a problem with the most recent update then!
Answer by TractGames · Dec 29, 2021 at 05:05 PM
Updated to Advertisements 4.0.0 this morning and now have this error.
I am also getting a " 'ShowOptions' does not contain a definition for 'resultCallback' " error as well.
Your answer
Follow this Question
Related Questions
AdMob RewardBasedVideoAd, App crash after reward video closed (Android) 5 Answers
Unity3d banner ads 1 Answer
Chartboost adds are not showing up on android 0 Answers
Sample of Inner-active plugin for Unity Android does not work 1 Answer
ClassNotFoundException: com.unity.ads.IUnityAdsShowListener 1 Answer