Class: Companion

Constructor

Companion

new Companion()

Contains information about companions of an ad.

Properties

adSlotId

static

String

The ad slot id of the companion. Empty if unavailable.

apiFramework

static

(String or Invalid)

The API needed to execute this ad, or Invalid if unavailable.

companionClickThrough

static

String

Click through URL of the companion.

creativeType

static

String

Represents the creativetype typically a mimetype.

height

static

Integer

The height of the companion in pixels. 0 if unavailable.

trackingEvents

static

Array of Array of String

A map of tracking events where the key is the event and the value is a list of urls to ping upon that event.

url

static

String

The URL for the static resource of this companion.

width

static

Integer

The width of the companion in pixels. 0 if unavailable.

Method

createCompanion

static

createCompanion() returns ima.Companion

Returns

ima.Companion