Class AdInit
-
-
Field Summary
Fields Modifier and Type Field Description private Stringtypeprivate IntegertimeOffsetprivate IntegerskipOffsetprivate Stringidprivate Integerdurationprivate StringclickThroughprivate StringresourceURIprivate List<MediaFile>mediaFilesprivate ObjectcustomData
-
Constructor Summary
Constructors Constructor Description AdInit(String type, Integer timeOffset, Integer skipOffset, String id, Integer duration, String clickThrough, String resourceURI, List<MediaFile> mediaFiles, Object customData)AdInit(String type, Integer timeOffset, Integer skipOffset, String id, Integer duration, String clickThrough, String resourceURI, List<MediaFile> mediaFiles)AdInit(String type, Integer timeOffset, Integer skipOffset, String id, Integer duration, String clickThrough, String resourceURI)AdInit(String type, Integer timeOffset, Integer skipOffset, String id, Integer duration, String clickThrough)AdInit(String type, Integer timeOffset, Integer skipOffset, String id, Integer duration)AdInit(String type, Integer timeOffset, Integer skipOffset, String id)AdInit(String type, Integer timeOffset, Integer skipOffset)AdInit(String type, Integer timeOffset)AdInit(String type)AdInit()
-
Method Summary
Modifier and Type Method Description final StringgetType()The type of the ad. final UnitsetType(String type)The type of the ad. final IntegergetTimeOffset()The time offset at which content will be paused to play the ad, in seconds. final UnitsetTimeOffset(Integer timeOffset)The time offset at which content will be paused to play the ad, in seconds. final IntegergetSkipOffset()The number of seconds after which the ad can be skipped, in seconds. final UnitsetSkipOffset(Integer skipOffset)The number of seconds after which the ad can be skipped, in seconds. final StringgetId()The identifier of the ad. final UnitsetId(String id)The identifier of the ad. final IntegergetDuration()The duration of the ad, in seconds. final UnitsetDuration(Integer duration)The duration of the ad, in seconds. final StringgetClickThrough()The website of the advertiser. final UnitsetClickThrough(String clickThrough)The website of the advertiser. final StringgetResourceURI()The URI of the the ad content. final UnitsetResourceURI(String resourceURI)The URI of the the ad content. final List<MediaFile>getMediaFiles()The list of media files which contain metadata about ad video files. final UnitsetMediaFiles(List<MediaFile> mediaFiles)The list of media files which contain metadata about ad video files. final ObjectgetCustomData()Additional integration-specific data associated with this ad. final UnitsetCustomData(Object customData)Additional integration-specific data associated with this ad. -
-
Constructor Detail
-
AdInit
AdInit(String type, Integer timeOffset, Integer skipOffset, String id, Integer duration, String clickThrough, String resourceURI, List<MediaFile> mediaFiles, Object customData)
-
AdInit
AdInit(String type, Integer timeOffset, Integer skipOffset, String id, Integer duration, String clickThrough, String resourceURI, List<MediaFile> mediaFiles)
-
AdInit
AdInit(String type, Integer timeOffset, Integer skipOffset, String id, Integer duration, String clickThrough, String resourceURI)
-
AdInit
AdInit(String type, Integer timeOffset, Integer skipOffset, String id, Integer duration, String clickThrough)
-
AdInit
AdInit(String type)
-
AdInit
AdInit()
-
-
Method Detail
-
getTimeOffset
final Integer getTimeOffset()
The time offset at which content will be paused to play the ad, in seconds.
Optional when used in ServerSideAdIntegrationController.createAd with an existing AdBreak.
-
setTimeOffset
final Unit setTimeOffset(Integer timeOffset)
The time offset at which content will be paused to play the ad, in seconds.
Optional when used in ServerSideAdIntegrationController.createAd with an existing AdBreak.
-
getSkipOffset
final Integer getSkipOffset()
The number of seconds after which the ad can be skipped, in seconds.
-
setSkipOffset
final Unit setSkipOffset(Integer skipOffset)
The number of seconds after which the ad can be skipped, in seconds.
-
getDuration
final Integer getDuration()
The duration of the ad, in seconds.
Only applicable to linear ads.
-
setDuration
final Unit setDuration(Integer duration)
The duration of the ad, in seconds.
Only applicable to linear ads.
-
getClickThrough
final String getClickThrough()
The website of the advertiser.
-
setClickThrough
final Unit setClickThrough(String clickThrough)
The website of the advertiser.
-
getResourceURI
final String getResourceURI()
The URI of the the ad content.
-
setResourceURI
final Unit setResourceURI(String resourceURI)
The URI of the the ad content.
-
getMediaFiles
final List<MediaFile> getMediaFiles()
The list of media files which contain metadata about ad video files.
Only applicable to linear ads.
-
setMediaFiles
final Unit setMediaFiles(List<MediaFile> mediaFiles)
The list of media files which contain metadata about ad video files.
Only applicable to linear ads.
-
getCustomData
final Object getCustomData()
Additional integration-specific data associated with this ad.
-
setCustomData
final Unit setCustomData(Object customData)
Additional integration-specific data associated with this ad.
-
-
-
-