GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eGADRTBRequestParameters\u003c/code\u003e objects encapsulate request data provided by publishers and the Google Mobile Ads SDK.\u003c/p\u003e\n"],["\u003cp\u003eThese parameters include mediation configurations set on the AdMob UI and any extras registered by the publisher.\u003c/p\u003e\n"],["\u003cp\u003eFor banner ad requests, \u003ccode\u003eGADRTBRequestParameters\u003c/code\u003e also include the requested \u003ccode\u003eGADAdSize\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003econfiguration\u003c/code\u003e property provides access to the request's mediation configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eextras\u003c/code\u003e property allows access to any registered ad network extras.\u003c/p\u003e\n"]]],["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"],null,["# GoogleMobileAds Framework Reference\n\nGADRTBRequestParameters\n=======================\n\n\n @interface GADRTBRequestParameters : NSObject\n\nRequest parameters provided by the publisher and Google Mobile Ads SDK.\n- `\n ``\n ``\n `\n\n ### [configuration](#/c:objc(cs)GADRTBRequestParameters(py)configuration)\n\n `\n ` \n Mediation configuration for this request set by the publisher on the AdMob UI. \n\n #### Declaration\n\n Swift \n\n var configuration: RTBMediationSignalsConfiguration { get }\n\n Objective-C \n\n @property (nonatomic, readonly, nonnull) ../Classes/GADRTBMediationSignalsConfiguration.html *configuration;\n\n- `\n ``\n ``\n `\n\n ### [extras](#/c:objc(cs)GADRTBRequestParameters(py)extras)\n\n `\n ` \n Extras the publisher registered with -\\[GADRequest registerAdNetworkExtras:\\]. \n\n #### Declaration\n\n Swift \n\n var extras: (any AdNetworkExtras)? { get }\n\n Objective-C \n\n @property (nonatomic, readonly, nullable) id\u003c../Protocols.html#/c:objc(pl)GADAdNetworkExtras\u003e extras;\n\n[Banner parameters\n-----------------](#/Banner-parameters)\n\n- `\n ``\n ``\n `\n\n ### [adSize](#/c:objc(cs)GADRTBRequestParameters(py)adSize)\n\n `\n ` \n Requested banner ad size. The ad size is GADAdSizeInvalid for non-banner requests. \n\n #### Declaration\n\n Swift \n\n var adSize: AdSize { get }\n\n Objective-C \n\n @property (nonatomic, readonly) ../Structs/GADAdSize.html adSize;"]]