To discuss and provide feedback on our products, join the official AdMob Discord channel in the Google Advertising and Measurement Community server.

GoogleMobileAds Framework Reference

  • GADMediationCredentials stores mediation settings configured by the publisher within the AdMob UI.

  • It includes a settings dictionary to hold these configurations as key-value pairs.

  • It also specifies the ad format associated with these credentials, like banner or interstitial.

GADMediationCredentials


@interface GADMediationCredentials : NSObject

Mediation configuration set by the publisher on the AdMob UI.

  • The AdMob UI settings.

    Declaration

    Swift

    var settings: [String : Any] { get }

    Objective-C

    @property (nonatomic, readonly, nonnull) NSDictionary<NSString *, id> *settings;
  • The ad format associated with the credentials.

    Declaration

    Swift

    var format: AdFormat { get }

    Objective-C

    @property (nonatomic, readonly) GADAdFormat format;

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.