Interface CompanionAd
Stay organized with collections
Save and categorize content based on your preferences.
A companion ad object for DAI streams. This class exposes a subset of the
ima.CompanionAd interface properties.
Methods
getAdSlotId
getAdSlotId(): string
| Returns |
string
|
the ad slot ID. |
getContent
getContent(): string
| Returns |
string
|
the content of the companion ad. |
getContentType
getContentType(): string
| Returns |
string
|
the content type of the companion ad. |
getHeight
getHeight(): number
| Returns |
number
|
the height of the companion ad. |
getWidth
getWidth(): number
| Returns |
number
|
the width of the companion ad. |
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-07-30 UTC."],[],[]]