Skip to content

Repository files navigation

Google Mobile Ads Native Advanced Example for iOS

This repository is a example for using AdMob Native Ads in SwiftUI's view.

This sample code is based on Google's examples.

Google Mobile Ads iOS Examples v7.22 (Native Advanced Example)

Development Environment for this project

  • Xcode Version 12.4
  • iOS Deployment target 14.4
  • Google-Mobile-Ads-SDK Version 8.4.0

Other

Some names changed in recent original sample code, so I've renamed the following:

  1. UnifiedNativeAdView.xib -> NativeAdView.xib
  2. GADUnifiedNativeAdLoaderDelegate -> GADNativeAdLoaderDelegate
  3. GADUnifiedNativeAd -> GADNativeAd
  4. GADUnifiedNativeAdDelegate -> GADNativeAdDelegate

This example does not include 'Main.storyboard / ViewController Scene' that was in the original sample code.

Documentation

developer site

developer site (Native Ads)

License

Apache 2.0 License

About

Example for using AdMob Native Ads in SwiftUI's view

Topics

Resources

Stars

29 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages