AI-generated Key Takeaways
-
GADRTBRequestParameters
objects encapsulate request data provided by publishers and the Google Mobile Ads SDK. -
These parameters include mediation configurations set on the AdMob UI and any extras registered by the publisher.
-
For banner ad requests,
GADRTBRequestParameters
also include the requestedGADAdSize
. -
The
configuration
property provides access to the request's mediation configuration. -
The
extras
property allows access to any registered ad network extras.
GADRTBRequestParameters
@interface GADRTBRequestParameters : NSObject
Request parameters provided by the publisher and Google Mobile Ads SDK.
-
Mediation configuration for this request set by the publisher on the AdMob UI.
Declaration
Swift
var configuration: RTBMediationSignalsConfiguration { get }
Objective-C
@property (nonatomic, readonly, nonnull) GADRTBMediationSignalsConfiguration *configuration;
-
Extras the publisher registered with -[GADRequest registerAdNetworkExtras:].
Declaration
Swift
var extras: (any AdNetworkExtras)? { get }
Objective-C
@property (nonatomic, readonly, nullable) id<GADAdNetworkExtras> extras;
-
Requested banner ad size. The ad size is GADAdSizeInvalid for non-banner requests.
Declaration
Swift
var adSize: AdSize { get }
Objective-C
@property (nonatomic, readonly) GADAdSize adSize;