title: How to stop showing AdMob banner ad correctly?
body: <p>I am building an app which will display AdMob banner ad, and when user successfully purchased an IAP item, the banner ad will never show up again, and the screen area originally occupied by the banner ad will be used by the app real functions.</p>
  
  <p>The question is how to dismiss the bannerView or does not init it on the next launch up? And how to insure AdMob Sdk will never refresh the ad content in the background?</p>
  
  <p>I think we cannot just hide the bannerView with just a statement:</p>
  
  <pre><code>bannerView.isHidden = true
  
  </code></pre>
  
  <p>And, as we know, AdMob SDK use IDFA. But Apple will deny an app which use IDFA but not showing Ads.</p>
  
  <p>Google has guides on how to show up ads, but I cannot find information about how to stop showing ads from Google.</p>
  
  <p>How to get this problem out?</p>