akamai.amp.Ad

The ad interface

Members

advertiser

(readonly) :string

The advertiser id.

companions

(readonly) :Array.<Object>

A list of companion ads associated with the current linear ad. The structure of the companion object is defined by the ad provider.

duration

(readonly) :number

The duration of the ad in seconds.

id

(readonly) :string

The ad identifier.

metadata

(readonly) :Object

The raw ad object returned from the ad provider.

partner

(readonly) :string

The ad provider, i.e. "ima" or "freewheel"

position

(readonly) :number

The position of the ad in the current ad break as a 0 based index.

title

(readonly) :string

The ad title

totalAds

(readonly) :number

The total number of ads for the current ad break.

type

(readonly) :string

The type of ad, i.e. "preroll", "midroll", or "postroll"