title: While implementing Facebook audience network ads (interstitial) ,getting this java.lang.IllegalStateException: ad already started
body: <p><strong>App gets crashed due to facebook audience network ads (interstitial)</strong>
   Earlier it was working fine in another app, now this problem
  <strong>java.lang.IllegalStateException: ad already started</strong></p>
  
  <p>Error shows :</p>
  
  <pre><code> java.lang.IllegalStateException: ad already started
                                                                                  at com.facebook.ads.internal.DisplayAdController.b(Unknown Source)
                                                                                  at com.facebook.ads.InterstitialAd.show(Unknown Source)
                                                                                  at com.arham.csdevbin.healthybody.mFragment.DietFragment$5.onAdLoaded(DietFragment.java:221)
                                                                                  at com.facebook.ads.InterstitialAd$1.a(Unknown Source)
                                                                                  at com.facebook.ads.internal.DisplayAdController$11.onInterstitialAdLoaded(Unknown Source)
                                                                                  at com.facebook.ads.internal.adapters.l$2.c(Unknown Source)
                                                                                  at com.facebook.ads.internal.adapters.l$2.a(Unknown Source)
                                                                                  at com.facebook.ads.internal.c.b$1$2.run(Unknown Source)
                                                                                  at android.os.Handler.handleCallback(Handler.java:754)
                                                                                  at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                                  at android.os.Looper.loop(Looper.java:163)
                                                                                  at android.app.ActivityThread.main(ActivityThread.java:6342)
                                                                                  at java.lang.reflect.Method.invoke(Native Method)
                                                                                  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:880)
                                                                                  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
  </code></pre>
  
  <p>and here is the code for ads........</p>
  
  <pre><code> public void loadInterstitialAd() {
      interstitialAd = new com.facebook.ads.InterstitialAd(getActivity(), "962300780587295_962314293919277");
      interstitialAd.setAdListener(new InterstitialAdListener() {
          @Override
          public void onInterstitialDisplayed(Ad ad) {
  
          }
          @Override
          public void onInterstitialDismissed(Ad ad) {
          }
          @Override
          public void onError(Ad ad, AdError adError) {
          }
          @Override
          public void onAdLoaded(Ad ad) {
             interstitialAd.show();
          }
          @Override
          public void onAdClicked(Ad ad) {
          }
          @Override
          public void onLoggingImpression(Ad ad) {
          }
      });
      interstitialAd.loadAd();
  }
  </code></pre>
  
  <p>I do not know why this error is coming.</p>
  
  <p><strong>Added</strong></p>
  
  <pre><code>   @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
                           Bundle savedInstanceState) {
      // Inflate the layout for this fragment
      View view = inflater.inflate(R.layout.fragment_diet, container, false);
  
  
   loadInterstitialAd();
  
      return view;
  </code></pre>
  
  <p>}</p>