Interface Ad
Stay organized with collections
Save and categorize content based on your preferences.
An ad object for DAI streams.
Methods
getAdId
getAdId(): string
| Returns |
string
|
the ad ID. |
getAdSystem
getAdSystem(): string
| Returns |
string
|
the ad system. |
getAdvertiserName
getAdvertiserName(): string
| Returns |
string
|
the advertiser name. |
getApiFramework
getApiFramework(): string
| Returns |
string
|
the API framework. |
getCreativeAdId
getCreativeAdId(): string
| Returns |
string
|
the creative ad ID. |
getCreativeId
getCreativeId(): string
| Returns |
string
|
the creative ID. |
getDealId
getDealId(): string
| Returns |
string
|
the deal ID. |
getDescription
getDescription(): string
| Returns |
string
|
the description of the ad. |
getDuration
getDuration(): number
| Returns |
number
|
the duration of the ad. |
getSkipTimeOffset
getSkipTimeOffset(): number
| Returns |
number
|
the number of seconds of playback before the ad becomes skippable. |
getTitle
getTitle(): string
| Returns |
string
|
the title of the ad. |
getTraffickingParametersString(): string
| Returns |
string
|
ad traffic parameters. |
getVastMediaHeight(): number
| Returns |
number
|
the VAST media height. |
getVastMediaWidth(): number
| Returns |
number
|
the VAST media width. |
getWrapperAdIds
getWrapperAdIds(): string[]
| Returns |
string[]
|
the wrapper ad IDs. |
getWrapperAdSystems
getWrapperAdSystems(): string[]
| Returns |
string[]
|
the wrapper ad systems. |
getWrapperCreativeIds
getWrapperCreativeIds(): string[]
| Returns |
string[]
|
the wrapper creative IDs. |
isSkippable
isSkippable(): boolean
| Returns |
boolean
|
true if the ad is skippable, false otherwise. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.
[null,null,["Last updated 2026-05-27 UTC."],[],[]]