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.
[null,null,["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\u003eDevelopers can implement delegate methods to track ad impressions and clicks, as well as handle presentation successes and failures.\u003c/p\u003e\n"],["\u003cp\u003eMethods provide signals for before, during, and after the full screen content is presented and dismissed.\u003c/p\u003e\n"],["\u003cp\u003eDeprecated method \u003ccode\u003eadDidPresentFullScreenContent\u003c/code\u003e is no longer supported and developers should utilize \u003ccode\u003eadWillPresentFullScreenContent\u003c/code\u003e instead.\u003c/p\u003e\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;"]]