GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
@interface GADMediationCredentials : NSObject
Mediation configuration set by the publisher on the AdMob UI.
-
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.
[[["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\u003eGADMediationCredentials\u003c/code\u003e stores mediation settings configured by the publisher within the AdMob UI.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003esettings\u003c/code\u003e dictionary to hold these configurations as key-value pairs.\u003c/p\u003e\n"],["\u003cp\u003eIt also specifies the ad \u003ccode\u003eformat\u003c/code\u003e associated with these credentials, like banner or interstitial.\u003c/p\u003e\n"]]],["The `GADMediationCredentials` class contains mediation configuration settings defined by the publisher in the AdMob UI. It exposes two key properties: `settings`, a dictionary holding the AdMob UI settings (key-value pairs), and `format`, which represents the ad format associated with these credentials. Publishers can access these settings and the format through read-only properties. The settings are a dictionary, and format is the `GADAdFormat` enum.\n"],null,["# GoogleMobileAds Framework Reference\n\nGADMediationCredentials\n=======================\n\n\n @interface GADMediationCredentials : NSObject\n\nMediation configuration set by the publisher on the AdMob UI.\n- `\n ``\n ``\n `\n\n ### [settings](#/c:objc(cs)GADMediationCredentials(py)settings)\n\n `\n ` \n The AdMob UI settings. \n\n #### Declaration\n\n Swift \n\n var settings: [String : Any] { get }\n\n Objective-C \n\n @property (nonatomic, readonly, nonnull) NSDictionary\u003cNSString *, id\u003e *settings;\n\n- `\n ``\n ``\n `\n\n ### [format](#/c:objc(cs)GADMediationCredentials(py)format)\n\n `\n ` \n The ad format associated with the credentials. \n\n #### Declaration\n\n Swift \n\n var format: AdFormat { get }\n\n Objective-C \n\n @property (nonatomic, readonly) ../Enums/GADAdFormat.html format;"]]