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

  • The GADCustomEventNativeAdDelegate protocol is deprecated and GADMediationNativeAdEventDelegate should be used instead.

  • This protocol is for native ad's custom event communication with the Google Mobile Ads SDK.

  • The customEventNativeAd:didFailToLoadWithError: method tells the delegate that the custom event ad request failed.

  • The customEventNativeAd:didReceiveMediatedUnifiedNativeAd: method tells the delegate that the custom event ad request succeeded and loaded a unified native ad.

GADCustomEventNativeAdDelegate

Deprecated

Use GADMediationNativeAdEventDelegate instead.

@protocol GADCustomEventNativeAdDelegate <NSObject>

The delegate of the GADCustomEventNativeAd object must adopt the GADCustomEventNativeAdDelegate protocol. Methods in this protocol are used for native ad’s custom event communication with the Google Mobile Ads SDK.

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.