GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
@protocol GADMediationAdEventDelegate <NSObject>
Reports information to the Google Mobile Ads SDK from the adapter. Adapters receive an ad event
delegate when they provide a GADMediationAd by calling a render completion handler.
-
Notifies Google Mobile Ads SDK that an impression occurred on the GADMediationAd.
Declaration
Objective-C
- (void)reportImpression;
-
Notifies Google Mobile Ads SDK that a click occurred on the GADMediationAd.
Declaration
Objective-C
- (void)reportClick;
-
Notifies Google Mobile Ads SDK that the GADMediationAd will present a full screen modal view.
Declaration
Objective-C
- (void)willPresentFullScreenView;
-
Notifies Google Mobile Ads SDK that the GADMediationAd failed to present with an error.
Declaration
Objective-C
- (void)didFailToPresentWithError:(nonnull NSError *)error;
-
Notifies Google Mobile Ads SDK that the GADMediationAd will dismiss a full screen modal view.
Declaration
Objective-C
- (void)willDismissFullScreenView;
-
Notifies Google Mobile Ads SDK that the GADMediationAd finished dismissing a full screen modal
view.
Declaration
Objective-C
- (void)didDismissFullScreenView;
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 2021-03-03 UTC.
[null,null,["Last updated 2021-03-03 UTC."],[],[],null,["# GoogleMobileAds Framework Reference\n\nGADMediationAdEventDelegate\n===========================\n\n @protocol GADMediationAdEventDelegate \u003cNSObject\u003e\n\nReports information to the Google Mobile Ads SDK from the adapter. Adapters receive an ad event\ndelegate when they provide a GADMediationAd by calling a render completion handler.\n- `\n ``\n ``\n `\n\n ### [-reportImpression](#/c:objc(pl)GADMediationAdEventDelegate(im)reportImpression)\n\n `\n ` \n Notifies Google Mobile Ads SDK that an impression occurred on the GADMediationAd. \n\n #### Declaration\n\n Objective-C \n\n - (void)reportImpression;\n\n- `\n ``\n ``\n `\n\n ### [-reportClick](#/c:objc(pl)GADMediationAdEventDelegate(im)reportClick)\n\n `\n ` \n Notifies Google Mobile Ads SDK that a click occurred on the GADMediationAd. \n\n #### Declaration\n\n Objective-C \n\n - (void)reportClick;\n\n- `\n ``\n ``\n `\n\n ### [-willPresentFullScreenView](#/c:objc(pl)GADMediationAdEventDelegate(im)willPresentFullScreenView)\n\n `\n ` \n Notifies Google Mobile Ads SDK that the GADMediationAd will present a full screen modal view. \n\n #### Declaration\n\n Objective-C \n\n - (void)willPresentFullScreenView;\n\n- `\n ``\n ``\n `\n\n ### [-didFailToPresentWithError:](#/c:objc(pl)GADMediationAdEventDelegate(im)didFailToPresentWithError:)\n\n `\n ` \n Notifies Google Mobile Ads SDK that the GADMediationAd failed to present with an error. \n\n #### Declaration\n\n Objective-C \n\n - (void)didFailToPresentWithError:(nonnull NSError *)error;\n\n- `\n ``\n ``\n `\n\n ### [-willDismissFullScreenView](#/c:objc(pl)GADMediationAdEventDelegate(im)willDismissFullScreenView)\n\n `\n ` \n Notifies Google Mobile Ads SDK that the GADMediationAd will dismiss a full screen modal view. \n\n #### Declaration\n\n Objective-C \n\n - (void)willDismissFullScreenView;\n\n- `\n ``\n ``\n `\n\n ### [-didDismissFullScreenView](#/c:objc(pl)GADMediationAdEventDelegate(im)didDismissFullScreenView)\n\n `\n ` \n Notifies Google Mobile Ads SDK that the GADMediationAd finished dismissing a full screen modal\n view. \n\n #### Declaration\n\n Objective-C \n\n - (void)didDismissFullScreenView;"]]