Quantcast
Channel: Questions in topic: "ads"
Viewing all articles
Browse latest Browse all 1416

Can't call an unskippeable video

$
0
0
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;

Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>