public void InitAds()
    {
#if ENABLE_ADS
        WWW testWebsite = new WWW("http://google.com");
        if (testWebsite.error == null)
        {
#if UNITY_ANDROID
            Advertisement.Initialize(AndroidGameID);
#elif UNITY_IOS
            Advertisment.Initialize(iOSGameID);
#endif
        }
        else
        {
            DisplayToast.ShowToast(toastString);
        }
#endif
    }
 public void OnClick()
 {
     // Debug.Log("CLICKED! Init: " + Advertisement.isInitialized + " TestMode?: " + Advertisement.testMode);
     // Debug.Log(Advertisement.IsReady("rewardedVideo"));
     if (Advertisement.isInitialized)
     {
         if (Advertisement.IsReady("rewardedVideo"))
         {
             // Debug.Log("AD IS READY TO SHOw");
             var options = new ShowOptions {
                 resultCallback = HandleShopAd
             };
             Advertisement.Show("rewardedVideo", options);
         }
         else
         {
             DisplayToast.ShowToast(toastString);
         }
     }
     else
     {
         DisplayToast.ShowToast(toastString);
     }
 }