GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Reports native related information to the Google Mobile Ads SDK from the adapter.
-
Notifies Google Mobile Ads SDK that the GADMediationAd started video playback.
Declaration
Swift
func didPlayVideo()
Objective-C
- (void)didPlayVideo;
-
Notifies Google Mobile Ads SDK that the GADMediationAd paused video playback.
Declaration
Swift
func didPauseVideo()
Objective-C
- (void)didPauseVideo;
-
Notifies Google Mobile Ads SDK that the GADMediationAd’s video playback finished.
Declaration
Objective-C
- (void)didEndVideo;
-
Notifies Google Mobile Ads SDK that the GADMediationAd muted video playback.
Declaration
Swift
func didMuteVideo()
Objective-C
- (void)didMuteVideo;
-
Notifies Google Mobile Ads SDK that the GADMediationAd unmuted video playback.
Declaration
Swift
func didUnmuteVideo()
Objective-C
- (void)didUnmuteVideo;
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\u003eGADMediationNativeAdEventDelegate\u003c/code\u003e enables communication between mediation adapters and the Google Mobile Ads SDK for native ad events.\u003c/p\u003e\n"],["\u003cp\u003eIt reports video playback related information, such as play, pause, end, mute, and unmute actions, back to the SDK.\u003c/p\u003e\n"],["\u003cp\u003eThis delegate is used to enhance the functionality and tracking of native ad video interactions within the mediation flow.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a mechanism to notify the SDK about changes in the video state of a native ad being served by a mediation adapter.\u003c/p\u003e\n"]]],[],null,["# GoogleMobileAds Framework Reference\n\nGADMediationNativeAdEventDelegate\n=================================\n\n @protocol GADMediationNativeAdEventDelegate \u003c../Protocols/GADMediationAdEventDelegate.html\u003e\n\nReports native related information to the Google Mobile Ads SDK from the adapter.\n- `\n ``\n ``\n `\n\n ### [-didPlayVideo](#/c:objc(pl)GADMediationNativeAdEventDelegate(im)didPlayVideo)\n\n `\n ` \n Notifies Google Mobile Ads SDK that the GADMediationAd started video playback. \n\n #### Declaration\n\n Swift \n\n func didPlayVideo()\n\n Objective-C \n\n - (void)didPlayVideo;\n\n- `\n ``\n ``\n `\n\n ### [-didPauseVideo](#/c:objc(pl)GADMediationNativeAdEventDelegate(im)didPauseVideo)\n\n `\n ` \n Notifies Google Mobile Ads SDK that the GADMediationAd paused video playback. \n\n #### Declaration\n\n Swift \n\n func didPauseVideo()\n\n Objective-C \n\n - (void)didPauseVideo;\n\n- `\n ``\n ``\n `\n\n ### [-didEndVideo](#/c:objc(pl)GADMediationNativeAdEventDelegate(im)didEndVideo)\n\n `\n ` \n Notifies Google Mobile Ads SDK that the GADMediationAd's video playback finished. \n\n #### Declaration\n\n Swift \n\n func didEndVideo()\n\n Objective-C \n\n - (void)didEndVideo;\n\n- `\n ``\n ``\n `\n\n ### [-didMuteVideo](#/c:objc(pl)GADMediationNativeAdEventDelegate(im)didMuteVideo)\n\n `\n ` \n Notifies Google Mobile Ads SDK that the GADMediationAd muted video playback. \n\n #### Declaration\n\n Swift \n\n func didMuteVideo()\n\n Objective-C \n\n - (void)didMuteVideo;\n\n- `\n ``\n ``\n `\n\n ### [-didUnmuteVideo](#/c:objc(pl)GADMediationNativeAdEventDelegate(im)didUnmuteVideo)\n\n `\n ` \n Notifies Google Mobile Ads SDK that the GADMediationAd unmuted video playback. \n\n #### Declaration\n\n Swift \n\n func didUnmuteVideo()\n\n Objective-C \n\n - (void)didUnmuteVideo;"]]