How to: AdMob banner and interstitial ads in iOS WebView apps 💸

Want to monetize your iPhone/iPad WebView app with ads from AdMob? Yeah, this is how to do it:

  • Download the Xcode WebViewGold template for iOS here. Or book our full all-inclusive WeSetupYourWebViewApp service.
  • Extract the zip folder and open the project in Xcode.
  • Open AppDelegate.swift file and set your AdMob global account ID:

  • You can activate and deactivate banner and/or interstitial ads and define the interval of appearing interstitial ads. Please set your AdMob IDs in WebViewController.swift file before launching your app:

 

Done, that’s it! We wish you a prosperous business! 😉