Called just before presenting the user a full screen view, such as a browser, in response to
clicking on an ad. Use this opportunity to stop animations, time sensitive interactions, etc.
Normally the user looks at the ad, dismisses it, and control returns to your application with
the nativeAdDidDismissScreen: message. However, if the user hits the Home button or clicks on an
App Store link, your application will end. The next method called will be the
applicationWillResignActive: of your UIApplicationDelegate object.Immediately after that,
nativeAdWillLeaveApplication: is called.
Called just before the application will go to the background or terminate due to an ad action
that will launch another application (such as the App Store). The normal UIApplicationDelegate
methods, like applicationDidEnterBackground:, will be called immediately before this.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-03-03 UTC."],[],[],null,["# GoogleMobileAds Framework Reference\n\nGADNativeAdDelegate\n===================\n\n protocol GADNativeAdDelegate : NSObjectProtocol\n\nIdentifies native ad assets.\n[Ad Lifecycle Events\n-------------------](#/Ad%20Lifecycle%20Events)\n\n- `\n ``\n ``\n `\n\n ### [nativeAdDidRecordImpression(_:)](#/c:objc(pl)GADNativeAdDelegate(im)nativeAdDidRecordImpression:)\n\n `\n ` \n Called when an impression is recorded for an ad. Only called for Google ads and is not supported\n for mediation ads. \n\n #### Declaration\n\n Swift \n\n optional func nativeAdDidRecordImpression(_ nativeAd: ../Classes/GADNativeAd.html)\n\n- `\n ``\n ``\n `\n\n ### [nativeAdDidRecordClick(_:)](#/c:objc(pl)GADNativeAdDelegate(im)nativeAdDidRecordClick:)\n\n `\n ` \n Called when a click is recorded for an ad. Only called for Google ads and is not supported for\n mediation ads. \n\n #### Declaration\n\n Swift \n\n optional func nativeAdDidRecordClick(_ nativeAd: ../Classes/GADNativeAd.html)\n\n[Click-Time Lifecycle Notifications\n----------------------------------](#/Click-Time%20Lifecycle%20Notifications)\n\n- `\n ``\n ``\n `\n\n ### [nativeAdWillPresentScreen(_:)](#/c:objc(pl)GADNativeAdDelegate(im)nativeAdWillPresentScreen:)\n\n `\n ` \n Called just before presenting the user a full screen view, such as a browser, in response to\n clicking on an ad. Use this opportunity to stop animations, time sensitive interactions, etc.\n\n Normally the user looks at the ad, dismisses it, and control returns to your application with\n the nativeAdDidDismissScreen: message. However, if the user hits the Home button or clicks on an\n App Store link, your application will end. The next method called will be the\n applicationWillResignActive: of your UIApplicationDelegate object.Immediately after that,\n nativeAdWillLeaveApplication: is called. \n\n #### Declaration\n\n Swift \n\n optional func nativeAdWillPresentScreen(_ nativeAd: ../Classes/GADNativeAd.html)\n\n- `\n ``\n ``\n `\n\n ### [nativeAdWillDismissScreen(_:)](#/c:objc(pl)GADNativeAdDelegate(im)nativeAdWillDismissScreen:)\n\n `\n ` \n Called just before dismissing a full screen view. \n\n #### Declaration\n\n Swift \n\n optional func nativeAdWillDismissScreen(_ nativeAd: ../Classes/GADNativeAd.html)\n\n- `\n ``\n ``\n `\n\n ### [nativeAdDidDismissScreen(_:)](#/c:objc(pl)GADNativeAdDelegate(im)nativeAdDidDismissScreen:)\n\n `\n ` \n Called just after dismissing a full screen view. Use this opportunity to restart anything you\n may have stopped as part of nativeAdWillPresentScreen:. \n\n #### Declaration\n\n Swift \n\n optional func nativeAdDidDismissScreen(_ nativeAd: ../Classes/GADNativeAd.html)\n\n- `\n ``\n ``\n `\n\n ### [nativeAdWillLeaveApplication(_:)](#/c:objc(pl)GADNativeAdDelegate(im)nativeAdWillLeaveApplication:)\n\n `\n ` \n Called just before the application will go to the background or terminate due to an ad action\n that will launch another application (such as the App Store). The normal UIApplicationDelegate\n methods, like applicationDidEnterBackground:, will be called immediately before this. \n\n #### Declaration\n\n Swift \n\n optional func nativeAdWillLeaveApplication(_ nativeAd: ../Classes/GADNativeAd.html)"]]