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

  • GADNativeAdUnconfirmedClickDelegate provides delegate methods for handling native ad unconfirmed clicks.

  • The -nativeAd:didReceiveUnconfirmedClickOnAssetID: method is called when a native ad receives an unconfirmed click on a view with an asset ID, requiring a UI update and user confirmation.

  • The -nativeAdDidCancelUnconfirmedClick: method is called when an unconfirmed click is cancelled, prompting a UI change reversal.

  • These delegate methods are only called for Google ads and are not supported for mediated ads.

GADNativeAdUnconfirmedClickDelegate

@protocol GADNativeAdUnconfirmedClickDelegate <NSObject>

Delegate methods for handling native ad unconfirmed clicks.

  • Tells the delegate that native ad receives an unconfirmed click on view with asset ID. You should update user interface and ask user to confirm the click once this message is received. Use the -registerClickConfirmingView: method in GADNativeAd+ConfirmedClick.h to register a view that will confirm the click. Only called for Google ads and is not supported for mediated ads.

    Declaration

    Swift

    func nativeAd(_ nativeAd: GADNativeAd, didReceiveUnconfirmedClickOnAssetID assetID: GADNativeAssetIdentifier)

    Objective-C

    - (void)nativeAd:(nonnull GADNativeAd *)nativeAd
     didReceiveUnconfirmedClickOnAssetID:
     (nonnull GADNativeAssetIdentifier)assetID;
  • Tells the delegate that the unconfirmed click is cancelled. You should revert the user interface change once this message is received. Only called for Google ads and is not supported for mediated ads.

    Declaration

    Swift

    func nativeAdDidCancelUnconfirmedClick(_ nativeAd: GADNativeAd)

    Objective-C

    - (void)nativeAdDidCancelUnconfirmedClick:(nonnull GADNativeAd *)nativeAd;

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.