public class Content extends Object implements Serializable
Content represents video metadata from a publisher's
Content Management System (CMS) that has been synced to
Ad Manager.
Video line items can be targeted to Content
to indicate what ads should match when the Content
is being played.
| Constructor and Description |
|---|
Content() |
Content(Long id,
String name,
ContentStatus status,
ContentStatusDefinedBy statusDefinedBy,
DaiIngestStatus hlsIngestStatus,
DaiIngestError[] hlsIngestErrors,
DateTime lastHlsIngestDateTime,
DaiIngestStatus dashIngestStatus,
DaiIngestError[] dashIngestErrors,
DateTime lastDashIngestDateTime,
DateTime importDateTime,
DateTime lastModifiedDateTime,
long[] userDefinedCustomTargetingValueIds,
long[] mappingRuleDefinedCustomTargetingValueIds,
CmsContent[] cmsSources) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CmsContent[] |
getCmsSources()
Gets the cmsSources value for this Content.
|
CmsContent |
getCmsSources(int i) |
DaiIngestError[] |
getDashIngestErrors()
Gets the dashIngestErrors value for this Content.
|
DaiIngestError |
getDashIngestErrors(int i) |
DaiIngestStatus |
getDashIngestStatus()
Gets the dashIngestStatus value for this Content.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
DaiIngestError[] |
getHlsIngestErrors()
Gets the hlsIngestErrors value for this Content.
|
DaiIngestError |
getHlsIngestErrors(int i) |
DaiIngestStatus |
getHlsIngestStatus()
Gets the hlsIngestStatus value for this Content.
|
Long |
getId()
Gets the id value for this Content.
|
DateTime |
getImportDateTime()
Gets the importDateTime value for this Content.
|
DateTime |
getLastDashIngestDateTime()
Gets the lastDashIngestDateTime value for this Content.
|
DateTime |
getLastHlsIngestDateTime()
Gets the lastHlsIngestDateTime value for this Content.
|
DateTime |
getLastModifiedDateTime()
Gets the lastModifiedDateTime value for this Content.
|
long[] |
getMappingRuleDefinedCustomTargetingValueIds()
Gets the mappingRuleDefinedCustomTargetingValueIds value for this Content.
|
long |
getMappingRuleDefinedCustomTargetingValueIds(int i) |
String |
getName()
Gets the name value for this Content.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
ContentStatus |
getStatus()
Gets the status value for this Content.
|
ContentStatusDefinedBy |
getStatusDefinedBy()
Gets the statusDefinedBy value for this Content.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
long[] |
getUserDefinedCustomTargetingValueIds()
Gets the userDefinedCustomTargetingValueIds value for this Content.
|
long |
getUserDefinedCustomTargetingValueIds(int i) |
int |
hashCode() |
void |
setCmsSources(CmsContent[] cmsSources)
Sets the cmsSources value for this Content.
|
void |
setCmsSources(int i,
CmsContent _value) |
void |
setDashIngestErrors(DaiIngestError[] dashIngestErrors)
Sets the dashIngestErrors value for this Content.
|
void |
setDashIngestErrors(int i,
DaiIngestError _value) |
void |
setDashIngestStatus(DaiIngestStatus dashIngestStatus)
Sets the dashIngestStatus value for this Content.
|
void |
setHlsIngestErrors(DaiIngestError[] hlsIngestErrors)
Sets the hlsIngestErrors value for this Content.
|
void |
setHlsIngestErrors(int i,
DaiIngestError _value) |
void |
setHlsIngestStatus(DaiIngestStatus hlsIngestStatus)
Sets the hlsIngestStatus value for this Content.
|
void |
setId(Long id)
Sets the id value for this Content.
|
void |
setImportDateTime(DateTime importDateTime)
Sets the importDateTime value for this Content.
|
void |
setLastDashIngestDateTime(DateTime lastDashIngestDateTime)
Sets the lastDashIngestDateTime value for this Content.
|
void |
setLastHlsIngestDateTime(DateTime lastHlsIngestDateTime)
Sets the lastHlsIngestDateTime value for this Content.
|
void |
setLastModifiedDateTime(DateTime lastModifiedDateTime)
Sets the lastModifiedDateTime value for this Content.
|
void |
setMappingRuleDefinedCustomTargetingValueIds(int i,
long _value) |
void |
setMappingRuleDefinedCustomTargetingValueIds(long[] mappingRuleDefinedCustomTargetingValueIds)
Sets the mappingRuleDefinedCustomTargetingValueIds value for this Content.
|
void |
setName(String name)
Sets the name value for this Content.
|
void |
setStatus(ContentStatus status)
Sets the status value for this Content.
|
void |
setStatusDefinedBy(ContentStatusDefinedBy statusDefinedBy)
Sets the statusDefinedBy value for this Content.
|
void |
setUserDefinedCustomTargetingValueIds(int i,
long _value) |
void |
setUserDefinedCustomTargetingValueIds(long[] userDefinedCustomTargetingValueIds)
Sets the userDefinedCustomTargetingValueIds value for this Content.
|
String |
toString() |
public Content()
public Content(Long id, String name, ContentStatus status, ContentStatusDefinedBy statusDefinedBy, DaiIngestStatus hlsIngestStatus, DaiIngestError[] hlsIngestErrors, DateTime lastHlsIngestDateTime, DaiIngestStatus dashIngestStatus, DaiIngestError[] dashIngestErrors, DateTime lastDashIngestDateTime, DateTime importDateTime, DateTime lastModifiedDateTime, long[] userDefinedCustomTargetingValueIds, long[] mappingRuleDefinedCustomTargetingValueIds, CmsContent[] cmsSources)
public Long getId()
Content. This attribute is
read-only and
is assigned by Google when the content is created.public void setId(Long id)
id - * Uniquely identifies the Content. This attribute is
read-only and
is assigned by Google when the content is created.public String getName()
Content. This attribute is read-only.public void setName(String name)
name - * The name of the Content. This attribute is read-only.public ContentStatus getStatus()
Content. This attribute is read-only.public void setStatus(ContentStatus status)
status - * The status of this Content. This attribute is read-only.public ContentStatusDefinedBy getStatusDefinedBy()
public void setStatusDefinedBy(ContentStatusDefinedBy statusDefinedBy)
statusDefinedBy - * Whether the content status was defined by the user, or by the
source CMS
from which the content was ingested. This attribute
is read-only.public DaiIngestStatus getHlsIngestStatus()
content. This attribute is
read-only and is null if the content is not eligible
for dynamic ad insertion or if the content
does not have HLS media.public void setHlsIngestStatus(DaiIngestStatus hlsIngestStatus)
hlsIngestStatus - * The current DAI ingest status of the HLS media for the content. This attribute is
read-only and is null if the content is not eligible
for dynamic ad insertion or if the content
does not have HLS media.public DaiIngestError[] getHlsIngestErrors()
hlsIngestStatus is DaiIngestStatus#STATUS_SUCCESS or if the content
is not eligible for dynamic ad insertion or
if the content does not have HLS media.public void setHlsIngestErrors(DaiIngestError[] hlsIngestErrors)
hlsIngestErrors - * The list of any errors that occurred during the most recent
DAI ingestion process of the HLS
media. This attribute is read-only and will be null
if the hlsIngestStatus is DaiIngestStatus#STATUS_SUCCESS or if the content
is not eligible for dynamic ad insertion or
if the content does not have HLS media.public DaiIngestError getHlsIngestErrors(int i)
public void setHlsIngestErrors(int i,
DaiIngestError _value)
public DateTime getLastHlsIngestDateTime()
public void setLastHlsIngestDateTime(DateTime lastHlsIngestDateTime)
lastHlsIngestDateTime - * The date and time at which this content's HLS media was last
ingested for DAI. This attribute
is read-only and will be null if the content is not
eligible for dynamic ad insertion or if the
content does not have HLS media.public DaiIngestStatus getDashIngestStatus()
content. This attribute is
read-only and is null if the content is not eligible
for dynamic ad insertion or if the content
does not have DASH media.public void setDashIngestStatus(DaiIngestStatus dashIngestStatus)
dashIngestStatus - * The current DAI ingest status of the DASH media for the content. This attribute is
read-only and is null if the content is not eligible
for dynamic ad insertion or if the content
does not have DASH media.public DaiIngestError[] getDashIngestErrors()
hlsIngestStatus is DaiIngestStatus#STATUS_SUCCESS or if the content
is not eligible for dynamic ad insertion or
if the content does not have DASH media.public void setDashIngestErrors(DaiIngestError[] dashIngestErrors)
dashIngestErrors - * The list of any errors that occurred during the most recent
DAI ingestion process of the DASH
media. This attribute is read-only and will be null
if the hlsIngestStatus is DaiIngestStatus#STATUS_SUCCESS or if the content
is not eligible for dynamic ad insertion or
if the content does not have DASH media.public DaiIngestError getDashIngestErrors(int i)
public void setDashIngestErrors(int i,
DaiIngestError _value)
public DateTime getLastDashIngestDateTime()
public void setLastDashIngestDateTime(DateTime lastDashIngestDateTime)
lastDashIngestDateTime - * The date and time at which this content's DASH media was last
ingested for DAI. This attribute
is read-only and will be null if the content is not
eligible for dynamic ad insertion or if the
content does not have DASH media.public DateTime getImportDateTime()
public void setImportDateTime(DateTime importDateTime)
importDateTime - * The date and time at which this content was published. This
attribute is read-only.public DateTime getLastModifiedDateTime()
public void setLastModifiedDateTime(DateTime lastModifiedDateTime)
lastModifiedDateTime - * The date and time at which this content was last modified.
This attribute is read-only.public long[] getUserDefinedCustomTargetingValueIds()
public void setUserDefinedCustomTargetingValueIds(long[] userDefinedCustomTargetingValueIds)
userDefinedCustomTargetingValueIds - * A collection of custom targeting value IDs manually assigned
to this content
by the user. This attribute is optional.public long getUserDefinedCustomTargetingValueIds(int i)
public void setUserDefinedCustomTargetingValueIds(int i,
long _value)
public long[] getMappingRuleDefinedCustomTargetingValueIds()
public void setMappingRuleDefinedCustomTargetingValueIds(long[] mappingRuleDefinedCustomTargetingValueIds)
mappingRuleDefinedCustomTargetingValueIds - * A collection of custom targeting value IDs automatically targeted
to this
content via metadata mapping rules. This attribute
is read-only.public long getMappingRuleDefinedCustomTargetingValueIds(int i)
public void setMappingRuleDefinedCustomTargetingValueIds(int i,
long _value)
public CmsContent[] getCmsSources()
public void setCmsSources(CmsContent[] cmsSources)
cmsSources - * Information about the content from the CMS it was ingested
from.
This attribute is read-only.public CmsContent getCmsSources(int i)
public void setCmsSources(int i,
CmsContent _value)
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2019. All rights reserved.