GADMediationInitializationConfiguration
@interface GADMediationInitializationConfiguration : NSObjectConfiguration for mediation adapter initialization during GMA SDK initialization.
-
The ad formats for which the SDK will initialize adapters. If |includedAdUnitIDs| is also specified, an adapter will have to be associated with both one of the included ad formats AND one of the included ad units IDs.
Declaration
Swift
var includedAdFormats: Set<NSNumber> { get set }Objective-C
@property (nonatomic, copy, nonnull) NSSet<NSNumber *> *includedAdFormats; -
The ad unit IDs for which the SDK will initialize adapters. If |includedAdFormats| is also specified, an adapter will have to be associated with both one of the included ad unit IDs AND one of the included ad formats.
Declaration
Swift
var includedAdUnitIDs: Set<String> { get set }Objective-C
@property (nonatomic, copy, nonnull) NSSet<NSString *> *includedAdUnitIDs; -
The adapter classes to initialize. An adapter in this set will always be initialized, regardless of ad unit and format settings, unless it is present in |excludedAdapterClasses|.
Declaration
Swift
var includedAdapterClasses: Set<String> { get set }Objective-C
@property (nonatomic, copy, nonnull) NSSet<NSString *> *includedAdapterClasses; -
The adapter classes to exclude from initialization. An adapter in this set will never be initialized, regardless of values set on |includedAdFormats|, |includedAdUnitIDs|, or |includedAdapterClasses|.
Declaration
Swift
var excludedAdapterClasses: Set<String> { get set }Objective-C
@property (nonatomic, copy, nonnull) NSSet<NSString *> *excludedAdapterClasses;
-
The maximum amount of time in seconds the SDK waits for initialization to complete before invoking |GADInitializationCompletionHandler|.
Declaration
Swift
var initializationTimeout: TimeInterval { get set }Objective-C
@property (nonatomic) NSTimeInterval initializationTimeout;