# GoogleMobileAds Framework Reference

# 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.
- `


  ### [bidResponse](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADMediationAdConfiguration#/c:objc(cs)GADMediationAdConfiguration(py)bidResponse)


  ` The ad string returned from the 3PAS.

  #### Declaration

  Swift

      var bidResponse: String? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) NSString *bidResponse;

- `


  ### [topViewController](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADMediationAdConfiguration#/c:objc(cs)GADMediationAdConfiguration(py)topViewController)


  ` 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

  Swift

      var topViewController: UIViewController? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) UIViewController *topViewController;

- `


  ### [credentials](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADMediationAdConfiguration#/c:objc(cs)GADMediationAdConfiguration(py)credentials)


  ` Mediation configuration set by the publisher on the AdMob frontend.

  #### Declaration

  Swift

      var credentials: MediationCredentials { get }

  Objective-C

      @property (nonatomic, readonly, nonnull) https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADMediationCredentials.html *credentials;

- `


  ### [watermark](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADMediationAdConfiguration#/c:objc(cs)GADMediationAdConfiguration(py)watermark)


  ` PNG data containing a watermark that identifies the ad's source.

  #### Declaration

  Swift

      var watermark: Data? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) NSData *watermark;

- `


  ### [extras](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADMediationAdConfiguration#/c:objc(cs)GADMediationAdConfiguration(py)extras)


  ` Extras the publisher registered with -\[GADRequest registerAdNetworkExtras:\].

  #### Declaration

  Swift

      var extras: (any AdNetworkExtras)? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) id<https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Protocols.html#/c:objc(pl)GADAdNetworkExtras> extras;

- `


  ### [isTestRequest](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADMediationAdConfiguration#/c:objc(cs)GADMediationAdConfiguration(py)isTestRequest)


  ` Indicates whether the publisher is requesting test ads.

  #### Declaration

  Swift

      var isTestRequest: Bool { get }

  Objective-C

      @property (nonatomic, readonly) BOOL isTestRequest;