GADUnifiedNativeAdUnconfirmedClickDelegate

@protocol GADUnifiedNativeAdUnconfirmedClickDelegate<NSObject>

/// 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 GADNUnifiedNativeAd+ConfirmationClick.h to
/// register a view that will confirm the click. Only called for Google ads and is not supported for
/// mediated ads.
- (void)nativeAd:(GADUnifiedNativeAd *)nativeAd
    didReceiveUnconfirmedClickOnAssetID:(GADUnifiedNativeAssetIdentifier)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.
- (void)nativeAdDidCancelUnconfirmedClick:(GADUnifiedNativeAd *)nativeAd;

@end

Undocumented

  • 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 GADNUnifiedNativeAd+ConfirmationClick.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: GADUnifiedNativeAd, didReceiveUnconfirmedClickOnAssetID assetID: GADUnifiedNativeAssetIdentifier)

    Objective-C

    - (void)nativeAd:(nonnull GADUnifiedNativeAd *)nativeAd
        didReceiveUnconfirmedClickOnAssetID:
            (nonnull GADUnifiedNativeAssetIdentifier)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: GADUnifiedNativeAd)

    Objective-C

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