Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class VodSessionAd.
Metadata for an inserted ad in a VOD session.
Generated from protobuf message google.cloud.video.stitcher.v1.VodSessionAd
Namespace
Google \ Cloud \ Video \ Stitcher \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ duration
↳ companion_ads
↳ activity_events
array< Event
>
The list of progress tracking events for the ad break. These can be of the following IAB types: MUTE
, UNMUTE
, PAUSE
, CLICK
, CLICK_THROUGH
, REWIND
, RESUME
, ERROR
, FULLSCREEN
, EXIT_FULLSCREEN
, EXPAND
, COLLAPSE
, ACCEPT_INVITATION_LINEAR
, CLOSE_LINEAR
, SKIP
.
getDuration
Duration in seconds of the ad.
hasDuration
clearDuration
setDuration
Duration in seconds of the ad.
$this
getCompanionAds
Metadata of companion ads associated with the ad.
hasCompanionAds
clearCompanionAds
setCompanionAds
Metadata of companion ads associated with the ad.
$this
getActivityEvents
The list of progress tracking events for the ad break. These can be of
the following IAB types: MUTE
, UNMUTE
, PAUSE
, CLICK
, CLICK_THROUGH
, REWIND
, RESUME
, ERROR
, FULLSCREEN
, EXIT_FULLSCREEN
, EXPAND
, COLLAPSE
, ACCEPT_INVITATION_LINEAR
, CLOSE_LINEAR
, SKIP
.
setActivityEvents
The list of progress tracking events for the ad break. These can be of
the following IAB types: MUTE
, UNMUTE
, PAUSE
, CLICK
, CLICK_THROUGH
, REWIND
, RESUME
, ERROR
, FULLSCREEN
, EXIT_FULLSCREEN
, EXPAND
, COLLAPSE
, ACCEPT_INVITATION_LINEAR
, CLOSE_LINEAR
, SKIP
.
$this