public class AdBreak extends Object implements Serializable
| Constructor and Description |
|---|
AdBreak() |
AdBreak(AdResponse[] rootAdResponses,
AdDecisionCreative[] adDecisionCreatives,
Integer podNum,
Integer linearAbsolutePodNum,
Long adBreakDurationMillis,
Long filledDurationMillis,
Long servedDurationMillis,
DateTime startDateTime,
Long startTimeOffsetMillis,
SamError samError,
Integer midrollIndex,
Boolean decisionedAds,
TrackingEvent[] trackingEvents) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getAdBreakDurationMillis()
Gets the adBreakDurationMillis value for this AdBreak.
|
AdDecisionCreative[] |
getAdDecisionCreatives()
Gets the adDecisionCreatives value for this AdBreak.
|
AdDecisionCreative |
getAdDecisionCreatives(int i) |
Boolean |
getDecisionedAds()
Gets the decisionedAds value for this AdBreak.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Long |
getFilledDurationMillis()
Gets the filledDurationMillis value for this AdBreak.
|
Integer |
getLinearAbsolutePodNum()
Gets the linearAbsolutePodNum value for this AdBreak.
|
Integer |
getMidrollIndex()
Gets the midrollIndex value for this AdBreak.
|
Integer |
getPodNum()
Gets the podNum value for this AdBreak.
|
AdResponse[] |
getRootAdResponses()
Gets the rootAdResponses value for this AdBreak.
|
AdResponse |
getRootAdResponses(int i) |
SamError |
getSamError()
Gets the samError value for this AdBreak.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
Long |
getServedDurationMillis()
Gets the servedDurationMillis value for this AdBreak.
|
DateTime |
getStartDateTime()
Gets the startDateTime value for this AdBreak.
|
Long |
getStartTimeOffsetMillis()
Gets the startTimeOffsetMillis value for this AdBreak.
|
TrackingEvent[] |
getTrackingEvents()
Gets the trackingEvents value for this AdBreak.
|
TrackingEvent |
getTrackingEvents(int i) |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setAdBreakDurationMillis(Long adBreakDurationMillis)
Sets the adBreakDurationMillis value for this AdBreak.
|
void |
setAdDecisionCreatives(AdDecisionCreative[] adDecisionCreatives)
Sets the adDecisionCreatives value for this AdBreak.
|
void |
setAdDecisionCreatives(int i,
AdDecisionCreative _value) |
void |
setDecisionedAds(Boolean decisionedAds)
Sets the decisionedAds value for this AdBreak.
|
void |
setFilledDurationMillis(Long filledDurationMillis)
Sets the filledDurationMillis value for this AdBreak.
|
void |
setLinearAbsolutePodNum(Integer linearAbsolutePodNum)
Sets the linearAbsolutePodNum value for this AdBreak.
|
void |
setMidrollIndex(Integer midrollIndex)
Sets the midrollIndex value for this AdBreak.
|
void |
setPodNum(Integer podNum)
Sets the podNum value for this AdBreak.
|
void |
setRootAdResponses(AdResponse[] rootAdResponses)
Sets the rootAdResponses value for this AdBreak.
|
void |
setRootAdResponses(int i,
AdResponse _value) |
void |
setSamError(SamError samError)
Sets the samError value for this AdBreak.
|
void |
setServedDurationMillis(Long servedDurationMillis)
Sets the servedDurationMillis value for this AdBreak.
|
void |
setStartDateTime(DateTime startDateTime)
Sets the startDateTime value for this AdBreak.
|
void |
setStartTimeOffsetMillis(Long startTimeOffsetMillis)
Sets the startTimeOffsetMillis value for this AdBreak.
|
void |
setTrackingEvents(int i,
TrackingEvent _value) |
void |
setTrackingEvents(TrackingEvent[] trackingEvents)
Sets the trackingEvents value for this AdBreak.
|
String |
toString() |
public AdBreak()
public AdBreak(AdResponse[] rootAdResponses, AdDecisionCreative[] adDecisionCreatives, Integer podNum, Integer linearAbsolutePodNum, Long adBreakDurationMillis, Long filledDurationMillis, Long servedDurationMillis, DateTime startDateTime, Long startTimeOffsetMillis, SamError samError, Integer midrollIndex, Boolean decisionedAds, TrackingEvent[] trackingEvents)
public AdResponse[] getRootAdResponses()
adRequest. If this is
a staged request, there may be two
root ad responses - one for the prefetch stage and
another if there is a follow up request at
the ad break.
A VAST redirect response triggers another ad request (that is not recorded), and thus a response for that request, which is why there can be multiple ad responses nested within an ad response.
For more information, see https://support.google.com/admanager/answer/7009058
public void setRootAdResponses(AdResponse[] rootAdResponses)
rootAdResponses - * The root ad responses to the adRequest. If this is
a staged request, there may be two
root ad responses - one for the prefetch stage and
another if there is a follow up request at
the ad break.
A VAST redirect response triggers another ad request (that is not recorded), and thus a response for that request, which is why there can be multiple ad responses nested within an ad response.
For more information, see https://support.google.com/admanager/answer/7009058
public AdResponse getRootAdResponses(int i)
public void setRootAdResponses(int i,
AdResponse _value)
public AdDecisionCreative[] getAdDecisionCreatives()
public void setAdDecisionCreatives(AdDecisionCreative[] adDecisionCreatives)
adDecisionCreatives - * Contains information about the creatives that were served in
the ad break, such as the ad
system that served them and whether they were transcoded
by Truman already.public AdDecisionCreative getAdDecisionCreatives(int i)
public void setAdDecisionCreatives(int i,
AdDecisionCreative _value)
public Integer getPodNum()
public void setPodNum(Integer podNum)
podNum - * 1-based index of this pod within the whole stream.public Integer getLinearAbsolutePodNum()
public void setLinearAbsolutePodNum(Integer linearAbsolutePodNum)
linearAbsolutePodNum - * Pod number of the ad break, for "ad break specific" records
like AdRequest, AdResponse,
AdDecision, etc. This field is only used for Linear
streams.public Long getAdBreakDurationMillis()
public void setAdBreakDurationMillis(Long adBreakDurationMillis)
adBreakDurationMillis - * The duration in milliseconds of the entire ad break, from when
content stops playing until it
resumes.public Long getFilledDurationMillis()
If the ad break is 60 seconds and two 25 second ads are returned in an ad response the filled time would be 50000 milliseconds.
public void setFilledDurationMillis(Long filledDurationMillis)
filledDurationMillis - * The sum of the durations in milliseconds of the ads within
this ad break.
If the ad break is 60 seconds and two 25 second ads are returned in an ad response the filled time would be 50000 milliseconds.
public Long getServedDurationMillis()
If the ad break is 60 seconds and two 25 second ads are returned but one of these ads wasn't transcoded so a slate was used, the served time would be 25 seconds.
public void setServedDurationMillis(Long servedDurationMillis)
servedDurationMillis - * The amount of ad time in milliseconds a user actually sees.
If the ad break is 60 seconds and two 25 second ads are returned but one of these ads wasn't transcoded so a slate was used, the served time would be 25 seconds.
public DateTime getStartDateTime()
public void setStartDateTime(DateTime startDateTime)
startDateTime - * The date and time this ad break started (the time the ad request
was made).public Long getStartTimeOffsetMillis()
public void setStartTimeOffsetMillis(Long startTimeOffsetMillis)
startTimeOffsetMillis - * The offset of the ad break within the content in milliseconds.
Used for VOD sessions only.public SamError getSamError()
public void setSamError(SamError samError)
samError - * Any error that occurred while attempting to stitch the ad break
into the stream.public Integer getMidrollIndex()
public void setMidrollIndex(Integer midrollIndex)
midrollIndex - * For break type MIDROLL, the 1-based index of the mid-roll position.
Only applies to VOD VMAP ad
breaks.public Boolean getDecisionedAds()
public void setDecisionedAds(Boolean decisionedAds)
decisionedAds - * Whether ads were decisioned for this ad break.public TrackingEvent[] getTrackingEvents()
public void setTrackingEvents(TrackingEvent[] trackingEvents)
trackingEvents - * The list of tracking events associated with this ad break.public TrackingEvent getTrackingEvents(int i)
public void setTrackingEvents(int i,
TrackingEvent _value)
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2026. All rights reserved.