CompanionAd
class
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)
Parameter |
|
---|---|
companion |
Value must not be null. |
Methods
getAdSlotId
getAdSlotId() returns string
- Returns
-
nullable string
getContent
getContent() returns string
- Returns
-
string
getContentType
getContentType() returns string
- Returns
-
nullable string
getHeight
getHeight() returns number
- Returns
-
number
getWidth
getWidth() returns number
- Returns
-
number