commit | author | age
|
96fe76
|
1 |
// |
L |
2 |
// GADMediationAdEventDelegate.h |
|
3 |
// Google Mobile Ads SDK |
|
4 |
// |
|
5 |
// Copyright 2018 Google LLC. All rights reserved. |
|
6 |
// |
|
7 |
|
|
8 |
#import <GoogleMobileAds/GADAdReward.h> |
|
9 |
#import <GoogleMobileAds/GoogleMobileAdsDefines.h> |
|
10 |
|
|
11 |
#import <UIKit/UIKit.h> |
|
12 |
|
|
13 |
/// Reports information to the Google Mobile Ads SDK from the adapter. Adapters receive an ad event |
|
14 |
/// delegate when they provide a GADMediationAd by calling a render completion handler. |
|
15 |
@protocol GADMediationAdEventDelegate <NSObject> |
|
16 |
|
|
17 |
/// Notifies Google Mobile Ads SDK that an impression occurred on the GADMediationAd. |
|
18 |
- (void)reportImpression; |
|
19 |
|
|
20 |
/// Notifies Google Mobile Ads SDK that a click occurred on the GADMediationAd. |
|
21 |
- (void)reportClick; |
|
22 |
|
|
23 |
/// Notifies Google Mobile Ads SDK that the GADMediationAd will present a full screen modal view. |
|
24 |
/// Maps to adWillPresentFullScreenContent: for full screen ads. |
|
25 |
- (void)willPresentFullScreenView; |
|
26 |
|
|
27 |
/// Notifies Google Mobile Ads SDK that the GADMediationAd failed to present with an error. |
|
28 |
- (void)didFailToPresentWithError:(nonnull NSError *)error; |
|
29 |
|
|
30 |
/// Notifies Google Mobile Ads SDK that the GADMediationAd will dismiss a full screen modal view. |
|
31 |
- (void)willDismissFullScreenView; |
|
32 |
|
|
33 |
/// Notifies Google Mobile Ads SDK that the GADMediationAd finished dismissing a full screen modal |
|
34 |
/// view. |
|
35 |
- (void)didDismissFullScreenView; |
|
36 |
|
|
37 |
@end |
|
38 |
|
|
39 |
/// Reports banner related information to the Google Mobile Ads SDK from the adapter. |
|
40 |
@protocol GADMediationBannerAdEventDelegate <GADMediationAdEventDelegate> |
|
41 |
|
|
42 |
@end |
|
43 |
|
|
44 |
/// Reports interstitial related information to the Google Mobile Ads SDK from the adapter. |
|
45 |
@protocol GADMediationInterstitialAdEventDelegate <GADMediationAdEventDelegate> |
|
46 |
|
|
47 |
@end |
|
48 |
|
|
49 |
/// Reports native related information to the Google Mobile Ads SDK from the adapter. |
|
50 |
@protocol GADMediationNativeAdEventDelegate <GADMediationAdEventDelegate> |
|
51 |
|
|
52 |
/// Notifies Google Mobile Ads SDK that the GADMediationAd started video playback. |
|
53 |
- (void)didPlayVideo; |
|
54 |
|
|
55 |
/// Notifies Google Mobile Ads SDK that the GADMediationAd paused video playback. |
|
56 |
- (void)didPauseVideo; |
|
57 |
|
|
58 |
/// Notifies Google Mobile Ads SDK that the GADMediationAd's video playback finished. |
|
59 |
- (void)didEndVideo; |
|
60 |
|
|
61 |
/// Notifies Google Mobile Ads SDK that the GADMediationAd muted video playback. |
|
62 |
- (void)didMuteVideo; |
|
63 |
|
|
64 |
/// Notifies Google Mobile Ads SDK that the GADMediationAd unmuted video playback. |
|
65 |
- (void)didUnmuteVideo; |
|
66 |
|
|
67 |
@end |
|
68 |
|
|
69 |
/// Reports rewarded related information to the Google Mobile Ads SDK from the adapter. |
|
70 |
@protocol GADMediationRewardedAdEventDelegate <GADMediationAdEventDelegate> |
|
71 |
|
|
72 |
/// Notifies the Google Mobile Ads SDK that the GADMediationAd has rewarded the user. |
|
73 |
- (void)didRewardUser; |
|
74 |
|
|
75 |
/// Notifies Google Mobile Ads SDK that the GADMediationAd started video playback. |
|
76 |
- (void)didStartVideo; |
|
77 |
|
|
78 |
/// Notifies Google Mobile Ads SDK that the GADMediationAd's video playback finished. |
|
79 |
- (void)didEndVideo; |
|
80 |
|
|
81 |
@end |
|
82 |
|
|
83 |
/// Reports app open related information to the Google Mobile Ads SDK from the adapter. |
|
84 |
@protocol GADMediationAppOpenAdEventDelegate <GADMediationAdEventDelegate> |
|
85 |
|
|
86 |
@end |