Interface AdapterInitializationConfig

Configuration for the initialization process of third-party SDK adapters.

By default, the SDK initializes all adapters associated with your application. Use this configuration to limit which adapters are initialized in the initialize call.
Properties
allowedAdapterClasses?
The specific adapter classes that are initialized.
allowedAdFormats?
The ad formats for which the SDK initializes adapters.
allowedAdUnitIds?
The ad units for which the SDK initializes adapters.
excludedAdapterClasses?
The specific adapter classes that aren't initialized.
initializationTimeoutMs?
The amount of time, in milliseconds, that the SDK waits for the requested set of adapters to initialize before invoking the initialization complete listener.

Properties


Optional Readonly allowedAdapterClasses

allowedAdapterClasses?: readonly string[]
The specific adapter classes that are initialized.

An adapter in this set is always initialized, regardless of ad unit and format settings, unless it's present in excludedAdapterClasses.

Optional Readonly allowedAdFormats

allowedAdFormats?: readonly AdFormat[]
The ad formats for which the SDK initializes adapters.

If you specify both, an adapter must be associated with both an allowed ad format and an allowed ad unit.

Optional Readonly allowedAdUnitIds

allowedAdUnitIds?: readonly string[]
The ad units for which the SDK initializes adapters.

If you specify both, an adapter must be associated with both an allowed ad format and an allowed ad unit.

Optional Readonly excludedAdapterClasses

excludedAdapterClasses?: readonly string[]
The specific adapter classes that aren't initialized.

An adapter in this set is never initialized, regardless of ad formats, ad units, or allowed adapter classes.

Optional Readonly initializationTimeoutMs

initializationTimeoutMs?: number
The amount of time, in milliseconds, that the SDK waits for the requested set of adapters to initialize before invoking the initialization complete listener.

This time includes the time it takes to fetch your mediation configuration from Google's servers, if one isn't cached already, but doesn't include the time it takes for the SDK to minimally get ready and start processing adapter initialization.