GADMediationAdConfiguration
@interface GADMediationAdConfiguration : NSObject
Provided by the Google Mobile Ads SDK for the adapter to render the ad. Contains 3PAS and other ad configuration information.
-
The ad string returned from the 3PAS.
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSString *bidResponse;
-
View controller to present from. This value must be read at presentation time to obtain the most recent value. Must be accessed on the main queue.
Declaration
Objective-C
@property (readonly, nonatomic, nullable) UIViewController *topViewController;
-
Mediation configuration set by the publisher on the AdMob frontend.
Declaration
Objective-C
@property (readonly, nonatomic, nonnull) GADMediationCredentials *credentials;
-
PNG data containing a watermark that identifies the ad’s source.
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSData *watermark;
-
Extras the publisher registered with -[GADRequest registerAdNetworkExtras:].
Declaration
Objective-C
@property (readonly, nonatomic, nullable) id<GADAdNetworkExtras> extras;
-
The value of childDirectedTreatment supplied by the publisher. Is nil if the publisher hasn’t specified child directed treatment. Is @YES if child directed treatment is enabled.
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSNumber *childDirectedTreatment;
-
Indicates whether the publisher is requesting test ads.
Declaration
Objective-C
@property (readonly, nonatomic) BOOL isTestRequest;
-
Indicates whether the publisher has specified latitude and longitude location.
Declaration
Objective-C
@property (readonly, nonatomic) BOOL hasUserLocation;
-
The user’s latitude or 0 if location isn’t specified.
Declaration
Objective-C
@property (readonly, nonatomic) CGFloat userLatitude;
-
The user’s longitude or 0 if location isn’t specified.
Declaration
Objective-C
@property (readonly, nonatomic) CGFloat userLongitude;
-
The user’s location accuracy or 0 if location isn’t specified.
Declaration
Objective-C
@property (readonly, nonatomic) CGFloat userLocationAccuracyInMeters;