Send feedback
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.
Send feedback
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.
Need to tell us more?
[[["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-05-27 UTC."],[],[]]