This question was
closed Dec 11, 2015 at 08:22 PM by
Artik-Games for the following reason:
Other
Question by
Artik-Games · Dec 11, 2015 at 08:22 PM ·
videoads
Can't call an unskippeable video
Hello, I have an advertisment with the name "rewardedVideo"
For some reason the video shown is still the skippeable one, I believe that I'm calling up the video in the correct method(there isn't too many documentation on the subject)
Could someone give a look to my code and tell me if I missed something important? Thanks!!
if (Advertisement.IsReady("rewardedVideo"))
{
bool resultBool = false;
hasWatchedVideo = false;
Advertisement.Show(null, new ShowOptions
{
resultCallback = result =>
{
switch (result)
{
case (ShowResult.Finished):
resultBool = true;
hasWatchedVideo = true;
DataManager.instance.VideoReward();
break;
case (ShowResult.Failed):
resultBool = false;
hasWatchedVideo = false;
break;
case (ShowResult.Skipped):
//DataManager.instance.VideoReward();
resultBool = false;
hasWatchedVideo = false;
break;
}
}
});
return resultBool;
}
return false;
Comment
Follow this Question
Related Questions
Can't call an unskippeable video 0 Answers
reset touch input from C# code? 0 Answers
Google mobile ads not working after installing google play services 2 Answers
Unity ads vs other? 0 Answers
I can't add google play store id to my game, any help ? 0 Answers