title: InterstitialAds in Unity
body: <p>I have this code for InterstitialAds in Unity and I want to start this fullscreen ads everytime, when level is closing and new level is starting, so I use OnDestroy function, but when I must call <code>interstitial.destroy();</code> ? Between: Is the code right for the smooth running of the game?? Thanks for all answer and sorry for my english :)</p>
  
  <pre><code>    public class GoogleAdsScript : MonoBehaviour
      {
          bool isLoaded = false;
          private InterstitialAd interstitial;
          private BannerView bannerView;
  
          void Start()
          {
              RequestInterstitial();
  
              //RequestBanner();
          }
  
          void OnDestroy()
          {
              if (interstitial.IsLoaded() &amp;&amp; isLoaded == false)
              {
                  interstitial.Show();
                  isLoaded = true;
              }
          }
  
          private void RequestInterstitial()
          {
      #if UNITY_ANDROID
              string adUnitId = "ca-app-pub-3940256099942544/1033173712";
      #elif UNITY_IPHONE
              string adUnitId = "INSERT_IOS_INTERSTITIAL_AD_UNIT_ID_HERE";
      #else
              string adUnitId = "unexpected_platform";
      #endif
  
              // Initialize an InterstitialAd.
               interstitial = new InterstitialAd(adUnitId);
              // Create an empty ad request.
              AdRequest request = new AdRequest.Builder().Build();
              // Load the interstitial with the request.
              interstitial.LoadAd(request);
          }
  
          private void RequestBanner()
          {
      #if UNITY_ANDROID
              string adUnitId = "ca-app-pub-3940256099942544/6300978111";
      #elif UNITY_IPHONE
              string adUnitId = "INSERT_IOS_BANNER_AD_UNIT_ID_HERE";
      #else
              string adUnitId = "unexpected_platform";
      #endif
  
              // Create a 320x50 banner at the top of the screen.
              bannerView = new BannerView(adUnitId, AdSize.SmartBanner, AdPosition.Top);
              // Create an empty ad request.
              AdRequest request = new AdRequest.Builder().Build();
              // Load the banner with the request.
              bannerView.LoadAd(request);
          }
  
  
      }
  </code></pre>