To discuss and provide feedback on our products, join the official AdMob Discord channel in the Google Advertising and Measurement Community server.

GoogleMobileAds Framework Reference

  • GADMediationNativeAdEventDelegate reports native related information to the Google Mobile Ads SDK from the adapter.

  • The delegate includes methods to notify the SDK when video playback starts, pauses, ends, is muted, or is unmuted.

GADMediationNativeAdEventDelegate

@protocol GADMediationNativeAdEventDelegate <GADMediationAdEventDelegate>

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

    Swift

    func didEndVideo()

    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.