THEOplayer > GoogleImaAd
Inherits from Ad . See parent page for inherited properties and methods.
Represents a Google IMA creative compliant to the VAST specification.
Signature:
export interface GoogleImaAd extends Ad
- Available since v2.60.0.
Property |
Type |
Description |
---|---|---|
|
The source ad server information included in the ad response. |
|
|
The identifier of the API framework needed to execute the ad. |
|
|
The bitrate of the currently playing creative as listed in the VAST response or 0. |
|
|
The content type of the ad. |
|
|
The identifier of the selected creative for the ad. |
|
|
The url of the chosen media file. |
|
|
Return title of the advertisement. |
|
|
Record of custom parameters for the ad at the time of ad trafficking. Each entry contains a parameter name with associated value. |
|
|
The custom parameters for the ad at the time of ad trafficking, as a string. |
|
|
List of wrapper ad identifiers as specified in the VAST response. |
|
|
List of wrapper ad systems as specified in the VAST response. |
|
|
List of wrapper creative identifiers. |
The source ad server information included in the ad response.
Signature:
adSystem: string | undefined;
- Available when the Ad.readyState is 'ready'
.
The identifier of the API framework needed to execute the ad.
Signature:
apiFramework: string | undefined;
- Available when the Ad.readyState is 'ready'
.
- This corresponds with the apiFramework specified in vast.
The bitrate of the currently playing creative as listed in the VAST response or 0.
Signature:
readonly bitrate: number;
The content type of the ad.
Signature:
contentType: string | undefined;
- Available when the Ad.readyState is 'ready'
.
- For linear ads, the content type is only going to be available after the 'adbegin'
event, when the media file is selected.
The identifier of the selected creative for the ad.
Signature:
creativeId: string | undefined;
- Available when the Ad.readyState is 'ready'
.
The url of the chosen media file.
Signature:
mediaUrl: string | undefined;
- Available when the Ad.readyState is 'ready'
.
Return title of the advertisement.
Signature:
title: string | undefined;
- Available when the Ad.readyState is 'ready'
.
Record of custom parameters for the ad at the time of ad trafficking. Each entry contains a parameter name with associated value.
Signature:
traffickingParameters: {
[parameterKey: string]: string;
} | undefined;
- Available when the Ad.readyState is 'ready'
.
The custom parameters for the ad at the time of ad trafficking, as a string.
Signature:
traffickingParametersString: string | undefined;
- A parsed version is available as GoogleImaAd.traffickingParameters.
- Available when the Ad.readyState is 'ready'
.
List of wrapper ad identifiers as specified in the VAST response.
Signature:
wrapperAdIds: string[];
List of wrapper ad systems as specified in the VAST response.
Signature:
wrapperAdSystems: string[];
List of wrapper creative identifiers.
Signature:
wrapperCreativeIds: string[];
- Starts with the first wrapper ad.