commit | author | age
|
96fe76
|
1 |
// |
L |
2 |
// GADNativeAdUnconfirmedClickDelegate.h |
|
3 |
// Google Mobile Ads SDK |
|
4 |
// |
|
5 |
// Copyright 2017 Google LLC. All rights reserved. |
|
6 |
// |
|
7 |
|
|
8 |
#import <Foundation/Foundation.h> |
|
9 |
#import <GoogleMobileAds/GADNativeAdAssetIdentifiers.h> |
|
10 |
|
|
11 |
@class GADNativeAd; |
|
12 |
|
|
13 |
/// Delegate methods for handling native ad unconfirmed clicks. |
|
14 |
@protocol GADNativeAdUnconfirmedClickDelegate <NSObject> |
|
15 |
|
|
16 |
/// Tells the delegate that native ad receives an unconfirmed click on view with asset ID. You |
|
17 |
/// should update user interface and ask user to confirm the click once this message is received. |
|
18 |
/// Use the -registerClickConfirmingView: method in GADNativeAd+ConfirmedClick.h to register |
|
19 |
/// a view that will confirm the click. Only called for Google ads and is not supported for mediated |
|
20 |
/// ads. |
|
21 |
- (void)nativeAd:(nonnull GADNativeAd *)nativeAd |
|
22 |
didReceiveUnconfirmedClickOnAssetID:(nonnull GADNativeAssetIdentifier)assetID; |
|
23 |
|
|
24 |
/// Tells the delegate that the unconfirmed click is cancelled. You should revert the user interface |
|
25 |
/// change once this message is received. Only called for Google ads and is not supported for |
|
26 |
/// mediated ads. |
|
27 |
- (void)nativeAdDidCancelUnconfirmedClick:(nonnull GADNativeAd *)nativeAd; |
|
28 |
|
|
29 |
@end |