public class Content extends Object implements Serializable
Content represents video metadata from a publisher's
Content Management System (CMS) that has been synced to
DFP.
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,
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) |
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 |
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 |
setId(Long id)
Sets the id 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.
|
public Content()
public Content(Long id, String name, ContentStatus status, ContentStatusDefinedBy statusDefinedBy, 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 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 © 2014. All Rights Reserved.