GoogleMobileAds Framework Reference

  • 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, the adSize property specifies the desired banner size, while it's GADAdSizeInvalid for other ad formats.

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;