public class LiveStreamEvent extends Object
LiveStreamEvent encapsulates all the information necessary
to enable DAI (Dynamic Ad Insertion) into a live video stream.
This includes information such as the start and expected end time of the event, the URL of the actual content for DFP to pull and insert ads into, as well as the metadata necessary to generate ad requests during the event.
Java class for LiveStreamEvent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LiveStreamEvent">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201708}LiveStreamEventStatus" minOccurs="0"/>
<element name="creationDateTime" type="{https://www.google.com/apis/ads/publisher/v201708}DateTime" minOccurs="0"/>
<element name="lastModifiedDateTime" type="{https://www.google.com/apis/ads/publisher/v201708}DateTime" minOccurs="0"/>
<element name="startDateTime" type="{https://www.google.com/apis/ads/publisher/v201708}DateTime" minOccurs="0"/>
<element name="endDateTime" type="{https://www.google.com/apis/ads/publisher/v201708}DateTime" minOccurs="0"/>
<element name="totalEstimatedConcurrentUsers" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="contentUrls" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="adTags" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="liveStreamEventCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="authenticationService" type="{https://www.google.com/apis/ads/publisher/v201708}AuthenticationService" minOccurs="0"/>
<element name="authenticationKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="tokenAuthenticationUnsigned" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="originForwardingType" type="{https://www.google.com/apis/ads/publisher/v201708}OriginForwardingType" minOccurs="0"/>
<element name="originPathPrefix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="dvrWindowSeconds" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="adBreakFillType" type="{https://www.google.com/apis/ads/publisher/v201708}AdBreakFillType" minOccurs="0"/>
<element name="adHolidayDuration" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="enableDurationlessAdBreaks" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="defaultAdBreakDuration" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AdBreakFillType |
adBreakFillType |
protected Long |
adHolidayDuration |
protected List<String> |
adTags |
protected String |
authenticationKey |
protected AuthenticationService |
authenticationService |
protected List<String> |
contentUrls |
protected DateTime |
creationDateTime |
protected Long |
defaultAdBreakDuration |
protected String |
description |
protected Integer |
dvrWindowSeconds |
protected Boolean |
enableDurationlessAdBreaks |
protected DateTime |
endDateTime |
protected Long |
id |
protected DateTime |
lastModifiedDateTime |
protected String |
liveStreamEventCode |
protected String |
name |
protected OriginForwardingType |
originForwardingType |
protected String |
originPathPrefix |
protected DateTime |
startDateTime |
protected LiveStreamEventStatus |
status |
protected Boolean |
tokenAuthenticationUnsigned |
protected Long |
totalEstimatedConcurrentUsers |
| Constructor and Description |
|---|
LiveStreamEvent() |
| Modifier and Type | Method and Description |
|---|---|
AdBreakFillType |
getAdBreakFillType()
Gets the value of the adBreakFillType property.
|
Long |
getAdHolidayDuration()
Gets the value of the adHolidayDuration property.
|
List<String> |
getAdTags()
Gets the value of the adTags property.
|
String |
getAuthenticationKey()
Gets the value of the authenticationKey property.
|
AuthenticationService |
getAuthenticationService()
Gets the value of the authenticationService property.
|
List<String> |
getContentUrls()
Gets the value of the contentUrls property.
|
DateTime |
getCreationDateTime()
Gets the value of the creationDateTime property.
|
Long |
getDefaultAdBreakDuration()
Gets the value of the defaultAdBreakDuration property.
|
String |
getDescription()
Gets the value of the description property.
|
Integer |
getDvrWindowSeconds()
Gets the value of the dvrWindowSeconds property.
|
DateTime |
getEndDateTime()
Gets the value of the endDateTime property.
|
Long |
getId()
Gets the value of the id property.
|
DateTime |
getLastModifiedDateTime()
Gets the value of the lastModifiedDateTime property.
|
String |
getLiveStreamEventCode()
Gets the value of the liveStreamEventCode property.
|
String |
getName()
Gets the value of the name property.
|
OriginForwardingType |
getOriginForwardingType()
Gets the value of the originForwardingType property.
|
String |
getOriginPathPrefix()
Gets the value of the originPathPrefix property.
|
DateTime |
getStartDateTime()
Gets the value of the startDateTime property.
|
LiveStreamEventStatus |
getStatus()
Gets the value of the status property.
|
Long |
getTotalEstimatedConcurrentUsers()
Gets the value of the totalEstimatedConcurrentUsers property.
|
Boolean |
isEnableDurationlessAdBreaks()
Gets the value of the enableDurationlessAdBreaks property.
|
Boolean |
isTokenAuthenticationUnsigned()
Gets the value of the tokenAuthenticationUnsigned property.
|
void |
setAdBreakFillType(AdBreakFillType value)
Sets the value of the adBreakFillType property.
|
void |
setAdHolidayDuration(Long value)
Sets the value of the adHolidayDuration property.
|
void |
setAuthenticationKey(String value)
Sets the value of the authenticationKey property.
|
void |
setAuthenticationService(AuthenticationService value)
Sets the value of the authenticationService property.
|
void |
setCreationDateTime(DateTime value)
Sets the value of the creationDateTime property.
|
void |
setDefaultAdBreakDuration(Long value)
Sets the value of the defaultAdBreakDuration property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDvrWindowSeconds(Integer value)
Sets the value of the dvrWindowSeconds property.
|
void |
setEnableDurationlessAdBreaks(Boolean value)
Sets the value of the enableDurationlessAdBreaks property.
|
void |
setEndDateTime(DateTime value)
Sets the value of the endDateTime property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setLastModifiedDateTime(DateTime value)
Sets the value of the lastModifiedDateTime property.
|
void |
setLiveStreamEventCode(String value)
Sets the value of the liveStreamEventCode property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOriginForwardingType(OriginForwardingType value)
Sets the value of the originForwardingType property.
|
void |
setOriginPathPrefix(String value)
Sets the value of the originPathPrefix property.
|
void |
setStartDateTime(DateTime value)
Sets the value of the startDateTime property.
|
void |
setStatus(LiveStreamEventStatus value)
Sets the value of the status property.
|
void |
setTokenAuthenticationUnsigned(Boolean value)
Sets the value of the tokenAuthenticationUnsigned property.
|
void |
setTotalEstimatedConcurrentUsers(Long value)
Sets the value of the totalEstimatedConcurrentUsers property.
|
protected Long id
protected String name
protected String description
protected LiveStreamEventStatus status
protected DateTime creationDateTime
protected DateTime lastModifiedDateTime
protected DateTime startDateTime
protected DateTime endDateTime
protected Long totalEstimatedConcurrentUsers
protected String liveStreamEventCode
protected AuthenticationService authenticationService
protected String authenticationKey
protected Boolean tokenAuthenticationUnsigned
protected OriginForwardingType originForwardingType
protected String originPathPrefix
protected Integer dvrWindowSeconds
protected AdBreakFillType adBreakFillType
protected Long adHolidayDuration
protected Boolean enableDurationlessAdBreaks
protected Long defaultAdBreakDuration
public void setId(Long value)
value - allowed object is
Longpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic LiveStreamEventStatus getStatus()
LiveStreamEventStatuspublic void setStatus(LiveStreamEventStatus value)
value - allowed object is
LiveStreamEventStatuspublic DateTime getCreationDateTime()
DateTimepublic void setCreationDateTime(DateTime value)
value - allowed object is
DateTimepublic DateTime getLastModifiedDateTime()
DateTimepublic void setLastModifiedDateTime(DateTime value)
value - allowed object is
DateTimepublic DateTime getStartDateTime()
DateTimepublic void setStartDateTime(DateTime value)
value - allowed object is
DateTimepublic DateTime getEndDateTime()
DateTimepublic void setEndDateTime(DateTime value)
value - allowed object is
DateTimepublic Long getTotalEstimatedConcurrentUsers()
Longpublic void setTotalEstimatedConcurrentUsers(Long value)
value - allowed object is
Longpublic List<String> getContentUrls()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the contentUrls property.
For example, to add a new item, do as follows:
getContentUrls().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<String> getAdTags()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the adTags property.
For example, to add a new item, do as follows:
getAdTags().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getLiveStreamEventCode()
Stringpublic void setLiveStreamEventCode(String value)
value - allowed object is
Stringpublic AuthenticationService getAuthenticationService()
AuthenticationServicepublic void setAuthenticationService(AuthenticationService value)
value - allowed object is
AuthenticationServicepublic String getAuthenticationKey()
Stringpublic void setAuthenticationKey(String value)
value - allowed object is
Stringpublic Boolean isTokenAuthenticationUnsigned()
Booleanpublic void setTokenAuthenticationUnsigned(Boolean value)
value - allowed object is
Booleanpublic OriginForwardingType getOriginForwardingType()
OriginForwardingTypepublic void setOriginForwardingType(OriginForwardingType value)
value - allowed object is
OriginForwardingTypepublic String getOriginPathPrefix()
Stringpublic void setOriginPathPrefix(String value)
value - allowed object is
Stringpublic Integer getDvrWindowSeconds()
Integerpublic void setDvrWindowSeconds(Integer value)
value - allowed object is
Integerpublic AdBreakFillType getAdBreakFillType()
AdBreakFillTypepublic void setAdBreakFillType(AdBreakFillType value)
value - allowed object is
AdBreakFillTypepublic Long getAdHolidayDuration()
Longpublic void setAdHolidayDuration(Long value)
value - allowed object is
Longpublic Boolean isEnableDurationlessAdBreaks()
Booleanpublic void setEnableDurationlessAdBreaks(Boolean value)
value - allowed object is
Booleanpublic Long getDefaultAdBreakDuration()
LongCopyright © 2018. All Rights Reserved.