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 ?

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.

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.