Prerequisites
Use Xcode 11 or higher
Target iOS 9.0 or higher
Recommended: Create an AdMob account and register an app.
The simplest way to import the SDK into an iOS project is to use CocoaPods.
Open your project's Podfile and add this line to your app's target:
pod 'Google-Mobile-Ads-SDK'
Then from the command line run:
pod install --repo-update