Skip to content

Latest commit

 

History

History
 
 

AdaptiveBannerExample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

iOS Adaptive Banner Example

This is a minimal example showing how to place an adaptive banner ad into an iOS application.

This example does not come bundled with the iOS Google Mobile Ads SDK, but is compatible with CocoaPods and includes a Podfile. We recommend using CocoaPods to reference the SDK. You can do this by running:

pod update

If you don't have CocoaPods installed, visit https://guides.cocoapods.org/using/getting-started.html#toc_3 to get started.

After running pod update, CocoaPods creates a .xcworkspace that you can open and run.

Replace Your Ad Unit ID

This example comes with a preconfigured ad unit ID. You should create an ad unit ID on http://apps.admob.com and use that ad unit ID in your own apps.

Additional Resources