-
public final class Audio
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerminDurationprivate IntegermaxDurationprivate Array<Protocol>protocolsprivate IntegerstartDelayprivate Integersequenceprivate Array<CreativeAttribute>attributesprivate IntegermaxExtendedprivate IntegerminBitrateprivate IntegermaxBitrateprivate Array<DeliveryMethod>deliveryMethodprivate Array<Banner>companionAdsprivate Array<ApiFramework>apisprivate Array<CompanionType>companionTypesprivate IntegermaxSequenceprivate FeedTypefeedprivate Integerstitchedprivate VolumeModevolumeModeprivate Objectextensionprivate final Array<String>mines
-
Method Summary
Modifier and Type Method Description final IntegergetMinDuration()Minimum audio ad duration in seconds. final UnitsetMinDuration(@SerializedName(value = minduration) Integer minDuration)Minimum audio ad duration in seconds. final IntegergetMaxDuration()Maximum audio ad duration in seconds. final UnitsetMaxDuration(@SerializedName(value = maxduration) Integer maxDuration)Maximum audio ad duration in seconds. final Array<Protocol>getProtocols()Array of supported audio protocols. final UnitsetProtocols(@SerializedName(value = protocols) Array<Protocol> protocols)Array of supported audio protocols. final IntegergetStartDelay()Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements. final UnitsetStartDelay(@SerializedName(value = startdelay) Integer startDelay)Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements. final IntegergetSequence()If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives. final UnitsetSequence(@SerializedName(value = sequence) Integer sequence)If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives. final Array<CreativeAttribute>getAttributes()Blocked creative attributes. final UnitsetAttributes(@SerializedName(value = battr) Array<CreativeAttribute> attributes)Blocked creative attributes. final IntegergetMaxExtended()Maximum extended ad duration if extension is allowed. final UnitsetMaxExtended(@SerializedName(value = maxextended) Integer maxExtended)Maximum extended ad duration if extension is allowed. final IntegergetMinBitrate()Minimum bit rate in Kbps. final UnitsetMinBitrate(@SerializedName(value = minbitrate) Integer minBitrate)Minimum bit rate in Kbps. final IntegergetMaxBitrate()Maximum bit rate in Kbps. final UnitsetMaxBitrate(@SerializedName(value = maxbitrate) Integer maxBitrate)Maximum bit rate in Kbps. final Array<DeliveryMethod>getDeliveryMethod()Supported delivery methods (e.g., streaming, progressive). final UnitsetDeliveryMethod(@SerializedName(value = delivery) Array<DeliveryMethod> deliveryMethod)Supported delivery methods (e.g., streaming, progressive). final Array<Banner>getCompanionAds()Array of Banner objects if companion ads are available. final UnitsetCompanionAds(@SerializedName(value = companionad) Array<Banner> companionAds)Array of Banner objects if companion ads are available. final Array<ApiFramework>getApis()List of supported ApiFramework for this impression. final UnitsetApis(@SerializedName(value = api) Array<ApiFramework> apis)List of supported ApiFramework for this impression. final Array<CompanionType>getCompanionTypes()Supported DAAST companion ad types. final UnitsetCompanionTypes(@SerializedName(value = companiontype) Array<CompanionType> companionTypes)Supported DAAST companion ad types. final IntegergetMaxSequence()The maximum number of ads that can be played in an ad pod. final UnitsetMaxSequence(@SerializedName(value = maxseq) Integer maxSequence)The maximum number of ads that can be played in an ad pod. final FeedTypegetFeed()Type of audio feed. final UnitsetFeed(@SerializedName(value = feed) FeedType feed)Type of audio feed. final IntegergetStitched()Indicates if the ad is stitched with audio content or delivered independently, where 0 = no, 1 = yes. final UnitsetStitched(@SerializedName(value = stitched) Integer stitched)Indicates if the ad is stitched with audio content or delivered independently, where 0 = no, 1 = yes. final VolumeModegetVolumeMode()Volume normalization mode. final UnitsetVolumeMode(@SerializedName(value = nvol) VolumeMode volumeMode)Volume normalization mode. final ObjectgetExtension()Placeholder for exchange-specific extensions to OpenRTB. final UnitsetExtension(@SerializedName(value = ext) Object extension)Placeholder for exchange-specific extensions to OpenRTB. final Array<String>getMines()Content MIME types supported (e.g., “audio/mp4”). -
-
Method Detail
-
getMinDuration
final Integer getMinDuration()
Minimum audio ad duration in seconds.
-
setMinDuration
final Unit setMinDuration(@SerializedName(value = minduration) Integer minDuration)
Minimum audio ad duration in seconds.
-
getMaxDuration
final Integer getMaxDuration()
Maximum audio ad duration in seconds.
-
setMaxDuration
final Unit setMaxDuration(@SerializedName(value = maxduration) Integer maxDuration)
Maximum audio ad duration in seconds.
-
getProtocols
final Array<Protocol> getProtocols()
Array of supported audio protocols.
-
setProtocols
final Unit setProtocols(@SerializedName(value = protocols) Array<Protocol> protocols)
Array of supported audio protocols.
-
getStartDelay
final Integer getStartDelay()
Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements.
-
setStartDelay
final Unit setStartDelay(@SerializedName(value = startdelay) Integer startDelay)
Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements.
-
getSequence
final Integer getSequence()
If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.
-
setSequence
final Unit setSequence(@SerializedName(value = sequence) Integer sequence)
If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.
-
getAttributes
final Array<CreativeAttribute> getAttributes()
Blocked creative attributes.
-
setAttributes
final Unit setAttributes(@SerializedName(value = battr) Array<CreativeAttribute> attributes)
Blocked creative attributes.
-
getMaxExtended
final Integer getMaxExtended()
Maximum extended ad duration if extension is allowed. If blank or 0, extension is not allowed. If -1, extension is allowed, and there is no time limit imposed. If greater than 0, then the value represents the number of seconds of extended play supported beyond the maxDuration value.
-
setMaxExtended
final Unit setMaxExtended(@SerializedName(value = maxextended) Integer maxExtended)
Maximum extended ad duration if extension is allowed. If blank or 0, extension is not allowed. If -1, extension is allowed, and there is no time limit imposed. If greater than 0, then the value represents the number of seconds of extended play supported beyond the maxDuration value.
-
getMinBitrate
final Integer getMinBitrate()
Minimum bit rate in Kbps.
-
setMinBitrate
final Unit setMinBitrate(@SerializedName(value = minbitrate) Integer minBitrate)
Minimum bit rate in Kbps.
-
getMaxBitrate
final Integer getMaxBitrate()
Maximum bit rate in Kbps.
-
setMaxBitrate
final Unit setMaxBitrate(@SerializedName(value = maxbitrate) Integer maxBitrate)
Maximum bit rate in Kbps.
-
getDeliveryMethod
final Array<DeliveryMethod> getDeliveryMethod()
Supported delivery methods (e.g., streaming, progressive). If none specified, assume all are supported.
-
setDeliveryMethod
final Unit setDeliveryMethod(@SerializedName(value = delivery) Array<DeliveryMethod> deliveryMethod)
Supported delivery methods (e.g., streaming, progressive). If none specified, assume all are supported.
-
getCompanionAds
final Array<Banner> getCompanionAds()
Array of Banner objects if companion ads are available.
-
setCompanionAds
final Unit setCompanionAds(@SerializedName(value = companionad) Array<Banner> companionAds)
Array of Banner objects if companion ads are available.
-
getApis
final Array<ApiFramework> getApis()
List of supported ApiFramework for this impression. If an API is not explicitly listed, it is assumed not to be supported.
-
setApis
final Unit setApis(@SerializedName(value = api) Array<ApiFramework> apis)
List of supported ApiFramework for this impression. If an API is not explicitly listed, it is assumed not to be supported.
-
getCompanionTypes
final Array<CompanionType> getCompanionTypes()
Supported DAAST companion ad types. Recommended if companion Banner objects are included via the companionAds.
-
setCompanionTypes
final Unit setCompanionTypes(@SerializedName(value = companiontype) Array<CompanionType> companionTypes)
Supported DAAST companion ad types. Recommended if companion Banner objects are included via the companionAds.
-
getMaxSequence
final Integer getMaxSequence()
The maximum number of ads that can be played in an ad pod.
-
setMaxSequence
final Unit setMaxSequence(@SerializedName(value = maxseq) Integer maxSequence)
The maximum number of ads that can be played in an ad pod.
-
getStitched
final Integer getStitched()
Indicates if the ad is stitched with audio content or delivered independently, where 0 = no, 1 = yes.
-
setStitched
final Unit setStitched(@SerializedName(value = stitched) Integer stitched)
Indicates if the ad is stitched with audio content or delivered independently, where 0 = no, 1 = yes.
-
getVolumeMode
final VolumeMode getVolumeMode()
Volume normalization mode.
-
setVolumeMode
final Unit setVolumeMode(@SerializedName(value = nvol) VolumeMode volumeMode)
Volume normalization mode.
-
getExtension
final Object getExtension()
Placeholder for exchange-specific extensions to OpenRTB.
-
setExtension
final Unit setExtension(@SerializedName(value = ext) Object extension)
Placeholder for exchange-specific extensions to OpenRTB.
-
-
-
-