title: Adding AdMob Interstitial ads in addition to banner ads (IOS)
body: <p>I have banner ads successfully working in my iOS application, but am struggling adding the code for interstitial ads as I cannot get rid of the error :- "No visible @interface for 'GADInterstitial' declares the selector 'initWithAdUnitId:'".</p>
  
  <p>I am a novice developer and am sure it's a simple mistake I'm making. Can anyone help please ?</p>
  
  <p>My viewcontroller.h looks like this :-</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  #import "GADBannerView.h"
  #import "GADRequest.h"
  @import GoogleMobileAds;
  
  @class GADBannerView, GADRequest;
  @class GADInterstitial, GADRequest;
  
  @interface GenTeamViewController : UIViewController
      &lt;GADBannerViewDelegate, GADInterstitialDelegate&gt; {
      GADBannerView *bannerView_;
      GADInterstitial *interstitialView_;
      NSString *teamName;
      UILabel *teamLabel;
      }
  
  
  @property(nonatomic, strong) GADInterstitial *interstitial;
  
  @property (nonatomic, strong)GADBannerView *bannerView;
  -(GADRequest *)createRequest;
  ,
  ,
  ,
  @end
  </code></pre>
  
  <p>The view controller .m looks like :-</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
  
      self.interstitial = [[GADInterstitial alloc] initWithAdUnitID:@"xxxxxxxxx"];
      GADRequest *request = [GADRequest request];
  // Requests test ads on test devices.
      request.testDevices = @[@"xxxxxxxxx"];
      [self.interstitial loadRequest:request];
  </code></pre>