Question by 
               TractGames · Dec 29, 2021 at 05:43 PM · 
                adsunity adsadvertising  
              
 
              Advertisements v4.0.0 Error: 'Advertisement' does not contain a definition for 'IsReady'
Hello,
I updated Advertisements to v4.0.0 through the Package Manager this morning, and I started receiving these two errors:
'Advertisement' does not contain a definition for 'IsReady'
'ShowOptions' does not contain a definition for 'resultCallback'
This is the script. I wrote it in 2020 and it has worked ever since (and I haven't made any other changes to it)
     public void ShowRewardAd()
     {
         if (Advertisement.IsReady("rewardedVideo"))
         {
             var options = new ShowOptions { resultCallback = HandleRewardResult };
             Advertisement.Show("rewardedVideo", options);
         }
     }
Should I just revert back to the older Advertisements version?
Thank you,
TG
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
can i use admob ads with unity ads in Unity3d Game? 0 Answers
Unity ADS doubts 0 Answers
My Advertisement is not show in my Apps - Only the "Personalized Placement Test" 2 Answers
Unity Ads Error 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
               
 
			 
                