GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GADFullScreenContentDelegate
@protocol GADFullScreenContentDelegate <NSObject>
Delegate methods for receiving notifications about presentation and dismissal of full screen
content. Full screen content covers your application’s content. The delegate may want to pause
animations or time sensitive interactions. Full screen content may be presented in the following
cases:
- A full screen ad is presented.
- An ad interaction opens full screen content.
-
Tells the delegate that an impression has been recorded for the ad.
Declaration
Swift
@MainActor optional func adDidRecordImpression(_ ad: any FullScreenPresentingAd)
-
Tells the delegate that a click has been recorded for the ad.
Declaration
Swift
@MainActor optional func adDidRecordClick(_ ad: any FullScreenPresentingAd)
-
Tells the delegate that the ad failed to present full screen content.
Declaration
Swift
@MainActor optional func ad(_ ad: any FullScreenPresentingAd, didFailToPresentFullScreenContentWithError error: any Error)
Objective-C
- (void)ad:(nonnull id<GADFullScreenPresentingAd>)ad
didFailToPresentFullScreenContentWithError:(nonnull NSError *)error;
-
Tells the delegate that the ad will present full screen content.
Declaration
Swift
@MainActor optional func adWillPresentFullScreenContent(_ ad: any FullScreenPresentingAd)
-
Tells the delegate that the ad will dismiss full screen content.
Declaration
Swift
@MainActor optional func adWillDismissFullScreenContent(_ ad: any FullScreenPresentingAd)
-
Tells the delegate that the ad dismissed full screen content.
Declaration
Swift
@MainActor optional func adDidDismissFullScreenContent(_ ad: any FullScreenPresentingAd)
-
Unsupported. Delegates should implement adWillPresentFullScreenContent: instead.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["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\u003eGADFullScreenContentDelegate\u003c/code\u003e provides methods to receive notifications about the presentation and dismissal of full screen content, such as ads or ad interactions.\u003c/p\u003e\n"],["\u003cp\u003eThis delegate allows you to control application behavior during full screen content presentation, such as pausing animations or time-sensitive interactions.\u003c/p\u003e\n"],["\u003cp\u003eKey delegate methods include signals for impression and click recording, full screen presentation success or failure, and the start and end of full screen content display.\u003c/p\u003e\n"],["\u003cp\u003eIt is important to note that the \u003ccode\u003eadDidPresentFullScreenContent:\u003c/code\u003e method is unavailable and developers should instead use \u003ccode\u003eadWillPresentFullScreenContent:\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `GADFullScreenContentDelegate` protocol notifies delegates about full-screen ad events. Key actions include: recording ad impressions and clicks (`adDidRecordImpression`, `adDidRecordClick`), informing of ad presentation failure (`ad:didFailToPresentFullScreenContentWithError`), and signaling the start and end of full-screen ad display (`adWillPresentFullScreenContent`, `adWillDismissFullScreenContent`, `adDidDismissFullScreenContent`). `adDidPresentFullScreenContent` is not available, and `adWillPresentFullScreenContent` should be used instead. These methods are triggered during ad presentation or interactions.\n"],null,["# GoogleMobileAds Framework Reference\n\nGADFullScreenContentDelegate\n============================\n\n @protocol GADFullScreenContentDelegate \u003cNSObject\u003e\n\nDelegate methods for receiving notifications about presentation and dismissal of full screen\ncontent. Full screen content covers your application's content. The delegate may want to pause\nanimations or time sensitive interactions. Full screen content may be presented in the following\ncases:\n\n1. A full screen ad is presented.\n2. An ad interaction opens full screen content.\n- `\n ``\n ``\n `\n\n ### [-adDidRecordImpression:](#/c:objc(pl)GADFullScreenContentDelegate(im)adDidRecordImpression:)\n\n `\n ` \n Tells the delegate that an impression has been recorded for the ad. \n\n #### Declaration\n\n Swift \n\n @MainActor optional func adDidRecordImpression(_ ad: any FullScreenPresentingAd)\n\n Objective-C \n\n - (void)adDidRecordImpression:(nonnull id\u003c../Protocols/GADFullScreenPresentingAd.html\u003e)ad;\n\n- `\n ``\n ``\n `\n\n ### [-adDidRecordClick:](#/c:objc(pl)GADFullScreenContentDelegate(im)adDidRecordClick:)\n\n `\n ` \n Tells the delegate that a click has been recorded for the ad. \n\n #### Declaration\n\n Swift \n\n @MainActor optional func adDidRecordClick(_ ad: any FullScreenPresentingAd)\n\n Objective-C \n\n - (void)adDidRecordClick:(nonnull id\u003c../Protocols/GADFullScreenPresentingAd.html\u003e)ad;\n\n- `\n ``\n ``\n `\n\n ### [-ad:didFailToPresentFullScreenContentWithError:](#/c:objc(pl)GADFullScreenContentDelegate(im)ad:didFailToPresentFullScreenContentWithError:)\n\n `\n ` \n Tells the delegate that the ad failed to present full screen content. \n\n #### Declaration\n\n Swift \n\n @MainActor optional func ad(_ ad: any FullScreenPresentingAd, didFailToPresentFullScreenContentWithError error: any Error)\n\n Objective-C \n\n - (void)ad:(nonnull id\u003c../Protocols/GADFullScreenPresentingAd.html\u003e)ad\n didFailToPresentFullScreenContentWithError:(nonnull NSError *)error;\n\n- `\n ``\n ``\n `\n\n ### [-adWillPresentFullScreenContent:](#/c:objc(pl)GADFullScreenContentDelegate(im)adWillPresentFullScreenContent:)\n\n `\n ` \n Tells the delegate that the ad will present full screen content. \n\n #### Declaration\n\n Swift \n\n @MainActor optional func adWillPresentFullScreenContent(_ ad: any FullScreenPresentingAd)\n\n Objective-C \n\n - (void)adWillPresentFullScreenContent:\n (nonnull id\u003c../Protocols/GADFullScreenPresentingAd.html\u003e)ad;\n\n- `\n ``\n ``\n `\n\n ### [-adWillDismissFullScreenContent:](#/c:objc(pl)GADFullScreenContentDelegate(im)adWillDismissFullScreenContent:)\n\n `\n ` \n Tells the delegate that the ad will dismiss full screen content. \n\n #### Declaration\n\n Swift \n\n @MainActor optional func adWillDismissFullScreenContent(_ ad: any FullScreenPresentingAd)\n\n Objective-C \n\n - (void)adWillDismissFullScreenContent:\n (nonnull id\u003c../Protocols/GADFullScreenPresentingAd.html\u003e)ad;\n\n- `\n ``\n ``\n `\n\n ### [-adDidDismissFullScreenContent:](#/c:objc(pl)GADFullScreenContentDelegate(im)adDidDismissFullScreenContent:)\n\n `\n ` \n Tells the delegate that the ad dismissed full screen content. \n\n #### Declaration\n\n Swift \n\n @MainActor optional func adDidDismissFullScreenContent(_ ad: any FullScreenPresentingAd)\n\n Objective-C \n\n - (void)adDidDismissFullScreenContent:(nonnull id\u003c../Protocols/GADFullScreenPresentingAd.html\u003e)ad;\n\n[Unavailable\n-----------](#/Unavailable)\n\n- `\n ``\n ``\n `\n\n ### [-adDidPresentFullScreenContent:](#/c:objc(pl)GADFullScreenContentDelegate(im)adDidPresentFullScreenContent:)\n\n `\n ` \n Unavailable \n Unsupported. Delegates should implement adWillPresentFullScreenContent: instead. \n\n #### Declaration\n\n Objective-C \n\n - (void)adDidPresentFullScreenContent:(nonnull id\u003c../Protocols/GADFullScreenPresentingAd.html\u003e)ad;"]]