CompanionAd
A class representing a companion ad object during dynamic ad insertion. This class exposes a subset of the ima.CompanionAd properties.
Constructor
CompanionAd
new CompanionAd(companion)
Constructor.
Parameter |
|
---|---|
companion |
Value must not be null. |
Methods
getAdSlotId
getAdSlotId() returns (null or string)
- Returns
-
(null or string)
getContent
getContent() returns string
- Returns
-
string
getContentType
getContentType() returns (null or string)
- Returns
-
(null or string)
getHeight
getHeight() returns number
- Returns
-
number
getWidth
getWidth() returns number
- Returns
-
number