GoogleMobileAds Framework Reference
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 }
-
Extras the publisher registered with -[GADRequest registerAdNetworkExtras:].
Declaration
Swift
var extras: (any AdNetworkExtras)? { get }
-
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;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
[null,null,["Last updated 2025-02-04 UTC."],[[["`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 requested `GADAdSize`."],["The `configuration` property provides access to the request's mediation configuration."],["The `extras` property allows access to any registered ad network extras."]]],["The `GADRTBRequestParameters` class provides request details from the publisher and Google Mobile Ads SDK. It includes `configuration`, which is the mediation setup from the AdMob UI. `extras` contains any additional information registered by the publisher. For banner ads, `adSize` specifies the requested banner size; it's invalid for other request types. These read-only properties are available in both Swift and Objective-C.\n"]]