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 customNativeAdDidDismissScreen: 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.
Called just after dismissing a full screen view. Use this opportunity to restart anything you
may have stopped as part of customNativeAdWillPresentScreen:.
[[["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 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eGADCustomNativeAdDelegate\u003c/code\u003e helps identify native ad assets and provides lifecycle event callbacks.\u003c/p\u003e\n"],["\u003cp\u003eIt includes methods to track impressions and clicks on custom native ads.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use it to manage the presentation and dismissal of full-screen views triggered by ad interactions.\u003c/p\u003e\n"],["\u003cp\u003eThe delegate provides notifications for key ad lifecycle events, such as impression recording, click recording, and screen presentation changes, enabling developers to respond to these events.\u003c/p\u003e\n"],["\u003cp\u003eThese optional methods give developers control over ad behavior and user experience during ad interactions, allowing them to pause or resume app functionalities based on the ad's state.\u003c/p\u003e\n"]]],[],null,["GADCustomNativeAdDelegate \n\n @protocol GADCustomNativeAdDelegate \u003cNSObject\u003e\n\nIdentifies native ad assets.\n[Ad Lifecycle Events](#/Ad-Lifecycle-Events)\n\n- `\n ``\n ``\n `\n\n [-customNativeAdDidRecordImpression:](#/c:objc(pl)GADCustomNativeAdDelegate(im)customNativeAdDidRecordImpression:)`\n ` \n Called when an impression is recorded for a custom native ad. \n\n Declaration \n Swift \n\n optional func customNativeAdDidRecordImpression(_ nativeAd: ../Classes/GADCustomNativeAd.html)\n\n Objective-C \n\n - (void)customNativeAdDidRecordImpression:(nonnull ../Classes/GADCustomNativeAd.html *)nativeAd;\n\n- `\n ``\n ``\n `\n\n [-customNativeAdDidRecordClick:](#/c:objc(pl)GADCustomNativeAdDelegate(im)customNativeAdDidRecordClick:)`\n ` \n Called when a click is recorded for a custom native ad. \n\n Declaration \n Swift \n\n optional func customNativeAdDidRecordClick(_ nativeAd: ../Classes/GADCustomNativeAd.html)\n\n Objective-C \n\n - (void)customNativeAdDidRecordClick:(nonnull ../Classes/GADCustomNativeAd.html *)nativeAd;\n\n[Click-Time Lifecycle Notifications](#/Click-Time-Lifecycle-Notifications)\n\n- `\n ``\n ``\n `\n\n [-customNativeAdWillPresentScreen:](#/c:objc(pl)GADCustomNativeAdDelegate(im)customNativeAdWillPresentScreen:)`\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 customNativeAdDidDismissScreen: message. However, if the user hits the Home button or clicks\n on an App Store link, your application will end. The next method called will be the\n applicationWillResignActive: of your UIApplicationDelegate object. \n\n Declaration \n Swift \n\n @MainActor optional func customNativeAdWillPresentScreen(_ nativeAd: ../Classes/GADCustomNativeAd.html)\n\n Objective-C \n\n - (void)customNativeAdWillPresentScreen:(nonnull ../Classes/GADCustomNativeAd.html *)nativeAd;\n\n- `\n ``\n ``\n `\n\n [-customNativeAdWillDismissScreen:](#/c:objc(pl)GADCustomNativeAdDelegate(im)customNativeAdWillDismissScreen:)`\n ` \n Called just before dismissing a full screen view. \n\n Declaration \n Swift \n\n @MainActor optional func customNativeAdWillDismissScreen(_ nativeAd: ../Classes/GADCustomNativeAd.html)\n\n Objective-C \n\n - (void)customNativeAdWillDismissScreen:(nonnull ../Classes/GADCustomNativeAd.html *)nativeAd;\n\n- `\n ``\n ``\n `\n\n [-customNativeAdDidDismissScreen:](#/c:objc(pl)GADCustomNativeAdDelegate(im)customNativeAdDidDismissScreen:)`\n ` \n Called just after dismissing a full screen view. Use this opportunity to restart anything you\n may have stopped as part of customNativeAdWillPresentScreen:. \n\n Declaration \n Swift \n\n @MainActor optional func customNativeAdDidDismissScreen(_ nativeAd: ../Classes/GADCustomNativeAd.html)\n\n Objective-C \n\n - (void)customNativeAdDidDismissScreen:(nonnull ../Classes/GADCustomNativeAd.html *)nativeAd;"]]