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 daiIngestStatus,
DaiIngestError[] daiIngestErrors,
DateTime lastDaiIngestDateTime,
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[] |
getDaiIngestErrors()
Gets the daiIngestErrors value for this Content.
|
DaiIngestError |
getDaiIngestErrors(int i) |
DaiIngestStatus |
getDaiIngestStatus()
Gets the daiIngestStatus value for this Content.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Long |
getId()
Gets the id value for this Content.
|
DateTime |
getImportDateTime()
Gets the importDateTime value for this Content.
|
DateTime |
getLastDaiIngestDateTime()
Gets the lastDaiIngestDateTime 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 |
setDaiIngestErrors(DaiIngestError[] daiIngestErrors)
Sets the daiIngestErrors value for this Content.
|
void |
setDaiIngestErrors(int i,
DaiIngestError _value) |
void |
setDaiIngestStatus(DaiIngestStatus daiIngestStatus)
Sets the daiIngestStatus 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 |
setLastDaiIngestDateTime(DateTime lastDaiIngestDateTime)
Sets the lastDaiIngestDateTime 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 daiIngestStatus, DaiIngestError[] daiIngestErrors, DateTime lastDaiIngestDateTime, 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 getDaiIngestStatus()
content. This attribute
is read-only and is null if the
content is not eligible for dynamic ad insertion.public void setDaiIngestStatus(DaiIngestStatus daiIngestStatus)
daiIngestStatus - * The DAI ingest status of the content. This attribute
is read-only and is null if the
content is not eligible for dynamic ad insertion.public DaiIngestError[] getDaiIngestErrors()
daiIngestStatus
is DaiIngestStatus#STATUS_SUCCESS or if the content
is not eligible for dynamic ad insertion.public void setDaiIngestErrors(DaiIngestError[] daiIngestErrors)
daiIngestErrors - * The list of any errors that occurred during the DAI ingestion
process. This attribute is
read-only and will be null if the daiIngestStatus
is DaiIngestStatus#STATUS_SUCCESS or if the content
is not eligible for dynamic ad insertion.public DaiIngestError getDaiIngestErrors(int i)
public void setDaiIngestErrors(int i,
DaiIngestError _value)
public DateTime getLastDaiIngestDateTime()
public void setLastDaiIngestDateTime(DateTime lastDaiIngestDateTime)
lastDaiIngestDateTime - * The date and time at which this content was last ingested for
DAI. This attribute is read-only
and will be null if the content is not eligible for
dynamic ad insertion.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 © 2018. All Rights Reserved.