/// <summary>
 /// Cancels the interstitial and returns control back to the application.
 /// </summary>
 /// Call this method to cancel the interstitial. Canceling interstitials before they finish will diminish publisher revenue.
 /// Note this has no affect on Android.
 /// <param name="ad">The interstitial ad returned from RequestInterstitialAd.</param>
 public static void CancelAd(InterstitialAd ad)
 {
     if (IsInitialized())
     {
         SharedInstance.CancelAd(ad);
     }
 }
 /// <summary>
 /// Cancels the interstitial and returns control back to the application.
 /// </summary>
 /// Call this method to cancel the interstitial. Canceling interstitials before they finish will diminish publisher revenue.
 /// Note this has no affect on Android.
 /// <param name="ad">The interstitial ad returned from RequestInterstitialAd.</param>
 public static void CancelAd(InterstitialAd ad)
 {
     if (IsInitialized())
     {
         if (ad != null)
         {
             SharedInstance.CancelAd(ad);
         }
         else
         {
             Debug.LogError(Constants.AdsMessageErrorNullAd);
         }
     }
 }