public abstract class Creative extends Object implements Serializable
Creative represents the media for the ad being served.| Constructor and Description |
|---|
Creative() |
Creative(Long advertiserId,
Long id,
String name,
Size size,
String previewUrl,
AppliedLabel[] appliedLabels,
DateTime lastModifiedDateTime,
BaseCustomFieldValue[] customFieldValues,
String creativeType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getAdvertiserId()
Gets the advertiserId value for this Creative.
|
AppliedLabel[] |
getAppliedLabels()
Gets the appliedLabels value for this Creative.
|
AppliedLabel |
getAppliedLabels(int i) |
String |
getCreativeType()
Gets the creativeType value for this Creative.
|
BaseCustomFieldValue[] |
getCustomFieldValues()
Gets the customFieldValues value for this Creative.
|
BaseCustomFieldValue |
getCustomFieldValues(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 Creative.
|
DateTime |
getLastModifiedDateTime()
Gets the lastModifiedDateTime value for this Creative.
|
String |
getName()
Gets the name value for this Creative.
|
String |
getPreviewUrl()
Gets the previewUrl value for this Creative.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
Size |
getSize()
Gets the size value for this Creative.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setAdvertiserId(Long advertiserId)
Sets the advertiserId value for this Creative.
|
void |
setAppliedLabels(AppliedLabel[] appliedLabels)
Sets the appliedLabels value for this Creative.
|
void |
setAppliedLabels(int i,
AppliedLabel _value) |
void |
setCreativeType(String creativeType)
Sets the creativeType value for this Creative.
|
void |
setCustomFieldValues(BaseCustomFieldValue[] customFieldValues)
Sets the customFieldValues value for this Creative.
|
void |
setCustomFieldValues(int i,
BaseCustomFieldValue _value) |
void |
setId(Long id)
Sets the id value for this Creative.
|
void |
setLastModifiedDateTime(DateTime lastModifiedDateTime)
Sets the lastModifiedDateTime value for this Creative.
|
void |
setName(String name)
Sets the name value for this Creative.
|
void |
setPreviewUrl(String previewUrl)
Sets the previewUrl value for this Creative.
|
void |
setSize(Size size)
Sets the size value for this Creative.
|
public Creative()
public Creative(Long advertiserId, Long id, String name, Size size, String previewUrl, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, BaseCustomFieldValue[] customFieldValues, String creativeType)
public Long getAdvertiserId()
public void setAdvertiserId(Long advertiserId)
advertiserId - * The ID of the advertiser that owns the creative. This attribute
is
required.public Long getId()
Creative. This value is read-only
and is
assigned by Google when the creative is created. This
attribute is required
for updates.public void setId(Long id)
id - * Uniquely identifies the Creative. This value is read-only
and is
assigned by Google when the creative is created. This
attribute is required
for updates.public String getName()
public void setName(String name)
name - * The name of the creative. This attribute is required and has
a maximum
length of 255 characters.public Size getSize()
Size of the creative. This attribute is required.public void setSize(Size size)
size - * The Size of the creative. This attribute is required.public String getPreviewUrl()
public void setPreviewUrl(String previewUrl)
previewUrl - * The URL of the creative for previewing the media. This attribute
is
read-only and is assigned by Google when a creative
is created.public AppliedLabel[] getAppliedLabels()
public void setAppliedLabels(AppliedLabel[] appliedLabels)
appliedLabels - * The set of labels applied to this creative.public AppliedLabel getAppliedLabels(int i)
public void setAppliedLabels(int i,
AppliedLabel _value)
public DateTime getLastModifiedDateTime()
public void setLastModifiedDateTime(DateTime lastModifiedDateTime)
lastModifiedDateTime - * The date and time this creative was last modified.public BaseCustomFieldValue[] getCustomFieldValues()
public void setCustomFieldValues(BaseCustomFieldValue[] customFieldValues)
customFieldValues - * The values of the custom fields associated with this creative.public BaseCustomFieldValue getCustomFieldValues(int i)
public void setCustomFieldValues(int i,
BaseCustomFieldValue _value)
public String getCreativeType()
public void setCreativeType(String creativeType)
creativeType - * Indicates that this instance is a subtype of Creative.
Although this field is returned in the response, it
is ignored on input
and cannot be selected. Specify xsi:type instead.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.