Stay organized with collections
Save and categorize content based on your preferences.
GADMediationAdEventDelegate
@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 the GADMediationAd will present a full screen modal view.
Maps to adWillPresentFullScreenContent: for full screen ads.
[[["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\u003eGADMediationAdEventDelegate\u003c/code\u003e enables communication between ad adapters and the Google Mobile Ads SDK.\u003c/p\u003e\n"],["\u003cp\u003eAdapters receive this delegate when providing a \u003ccode\u003eGADMediationAd\u003c/code\u003e, allowing them to report ad events.\u003c/p\u003e\n"],["\u003cp\u003eIt includes methods to report impressions, clicks, and full-screen view events (presentation, dismissal, and errors).\u003c/p\u003e\n"],["\u003cp\u003eThese methods help the SDK track ad performance and manage the ad lifecycle.\u003c/p\u003e\n"],["\u003cp\u003eBy implementing this protocol, adapters ensure proper integration with the Google Mobile Ads SDK.\u003c/p\u003e\n"]]],["The `GADMediationAdEventDelegate` protocol allows adapters to communicate ad events to the Google Mobile Ads SDK. It includes methods to report an impression (`reportImpression`) and a click (`reportClick`) on a `GADMediationAd`. Additionally, it notifies the SDK when a full-screen view will be presented (`willPresentFullScreenView`), fails to present (`didFailToPresentWithError`), will dismiss (`willDismissFullScreenView`), or has finished dismissing (`didDismissFullScreenView`).\n"],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 Swift \n\n func reportImpression()\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 Swift \n\n func reportClick()\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 Maps to adWillPresentFullScreenContent: for full screen ads. \n\n #### Declaration\n\n Swift \n\n func willPresentFullScreenView()\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 Swift \n\n func didFailToPresentWithError(_ error: any Error)\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 Swift \n\n func willDismissFullScreenView()\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 Swift \n\n func didDismissFullScreenView()\n\n Objective-C \n\n - (void)didDismissFullScreenView;"]]