Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

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 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 and use that ad unit ID in your own apps.

Additional Resources

You can’t perform that action at this time.