commit | author | age
|
96fe76
|
1 |
// |
L |
2 |
// GADMediationAdConfiguration.h |
|
3 |
// Google Mobile Ads SDK |
|
4 |
// |
|
5 |
// Copyright 2018 Google LLC. All rights reserved. |
|
6 |
// |
|
7 |
|
|
8 |
#import <GoogleMobileAds/GADAdNetworkExtras.h> |
|
9 |
#import <GoogleMobileAds/GoogleMobileAdsDefines.h> |
|
10 |
#import <GoogleMobileAds/Mediation/GADMediationServerConfiguration.h> |
|
11 |
#import <UIKit/UIKit.h> |
|
12 |
|
|
13 |
/// Provided by the Google Mobile Ads SDK for the adapter to render the ad. Contains 3PAS and other |
|
14 |
/// ad configuration information. |
|
15 |
@interface GADMediationAdConfiguration : NSObject |
|
16 |
|
|
17 |
/// The ad string returned from the 3PAS. |
|
18 |
@property(nonatomic, readonly, nullable) NSString *bidResponse; |
|
19 |
|
|
20 |
/// View controller to present from. This value must be read at presentation time to obtain the most |
|
21 |
/// recent value. Must be accessed on the main queue. |
|
22 |
@property(nonatomic, readonly, nullable) UIViewController *topViewController; |
|
23 |
|
|
24 |
/// Mediation configuration set by the publisher on the AdMob frontend. |
|
25 |
@property(nonatomic, readonly, nonnull) GADMediationCredentials *credentials; |
|
26 |
|
|
27 |
/// PNG data containing a watermark that identifies the ad's source. |
|
28 |
@property(nonatomic, readonly, nullable) NSData *watermark; |
|
29 |
|
|
30 |
/// Extras the publisher registered with -[GADRequest registerAdNetworkExtras:]. |
|
31 |
@property(nonatomic, readonly, nullable) id<GADAdNetworkExtras> extras; |
|
32 |
|
|
33 |
/// Indicates whether the publisher is requesting test ads. |
|
34 |
@property(nonatomic, readonly) BOOL isTestRequest; |
|
35 |
|
|
36 |
@end |