Interface GoogleImaConfiguration

Describes the configuration of Google IMA.

interface GoogleImaConfiguration {
    bitrate?: number;
    language?: string;
    uiElements?: string[];
}

Properties

bitrate?: number

The maximum recommended bitrate in kbit/s. Ads with a bitrate below the specified maximum will be picked.

Remarks


- When set to -1, it will select the ad with the highest bitrate.
- If there is no ad below the specified maximum, the ad closest to the bitrate will be picked.

Default Value

-1

language?: string

The language code of the UI elements. See localization docs for more information.

Remarks


- This will default to UIConfiguration.language when not specified.

uiElements?: string[]

The UI elements passed to Google IMA. See Google IMA docs for more information.

Remarks


- Available since v6.13.0.