commit | author | age
|
96fe76
|
1 |
// |
L |
2 |
// GADMediationBannerAd.h |
|
3 |
// Google Mobile Ads SDK |
|
4 |
// |
|
5 |
// Copyright 2018 Google LLC. All rights reserved. |
|
6 |
// |
|
7 |
|
|
8 |
#import <GoogleMobileAds/GADAdSize.h> |
|
9 |
#import <GoogleMobileAds/Mediation/GADMediationAd.h> |
|
10 |
#import <GoogleMobileAds/Mediation/GADMediationAdConfiguration.h> |
|
11 |
#import <GoogleMobileAds/Mediation/GADMediationAdEventDelegate.h> |
|
12 |
#import <UIKit/UIKit.h> |
|
13 |
|
|
14 |
/// Rendered banner ad. Provides a single subview to add to the banner view's view hierarchy. |
|
15 |
@protocol GADMediationBannerAd <GADMediationAd> |
|
16 |
|
|
17 |
/// The banner ad view. |
|
18 |
@property(nonatomic, readonly, nonnull) UIView *view; |
|
19 |
|
|
20 |
@optional |
|
21 |
|
|
22 |
/// Tells the ad to resize the banner. Implement if banner content is resizable. |
|
23 |
- (void)changeAdSizeTo:(GADAdSize)adSize; |
|
24 |
@end |
|
25 |
|
|
26 |
/// Rendered interscroller ad. |
|
27 |
@protocol GADMediationInterscrollerAd <GADMediationBannerAd> |
|
28 |
|
|
29 |
/// Indicates whether the interscroller rendering effect should be delegated to the Google Mobile |
|
30 |
/// Ads SDK. |
|
31 |
@property(nonatomic, assign) BOOL delegateInterscrollerEffect; |
|
32 |
|
|
33 |
@end |
|
34 |
|
|
35 |
/// Banner ad configuration. |
|
36 |
@interface GADMediationBannerAdConfiguration : GADMediationAdConfiguration |
|
37 |
|
|
38 |
/// Banner ad size requested of the adapter. |
|
39 |
@property(nonatomic, readonly) GADAdSize adSize; |
|
40 |
|
|
41 |
@end |