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
optional func adDidRecordImpression(_ ad: GADFullScreenPresentingAd)
Objective-C
- (void)adDidRecordImpression:(nonnull id<GADFullScreenPresentingAd>)ad;
-
Tells the delegate that the ad failed to present full screen content.
Declaration
Swift
optional func ad(_ ad: GADFullScreenPresentingAd, didFailToPresentFullScreenContentWithError error: Error)
Objective-C
- (void)ad:(nonnull id<GADFullScreenPresentingAd>)ad didFailToPresentFullScreenContentWithError:(nonnull NSError *)error;
-
Tells the delegate that the ad presented full screen content.
Declaration
Swift
optional func adDidPresentFullScreenContent(_ ad: GADFullScreenPresentingAd)
Objective-C
- (void)adDidPresentFullScreenContent:(nonnull id<GADFullScreenPresentingAd>)ad;
-
Tells the delegate that the ad dismissed full screen content.
Declaration
Swift
optional func adDidDismissFullScreenContent(_ ad: GADFullScreenPresentingAd)
Objective-C
- (void)adDidDismissFullScreenContent:(nonnull id<GADFullScreenPresentingAd>)ad;