|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfp.axis.v201208.Creative
com.google.api.ads.dfp.axis.v201208.HasDestinationUrlCreative
com.google.api.ads.dfp.axis.v201208.BaseImageCreative
public abstract class BaseImageCreative
The base type for creatives that display an image.
| Constructor Summary | |
|---|---|
BaseImageCreative()
|
|
BaseImageCreative(Long advertiserId,
Long id,
String name,
Size size,
String previewUrl,
AppliedLabel[] appliedLabels,
DateTime lastModifiedDateTime,
BaseCustomFieldValue[] customFieldValues,
String creativeType,
String destinationUrl,
String imageName,
byte[] imageByteArray,
Boolean overrideSize,
Size assetSize,
String imageUrl)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Size |
getAssetSize()
Gets the assetSize value for this BaseImageCreative. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
byte[] |
getImageByteArray()
Gets the imageByteArray value for this BaseImageCreative. |
String |
getImageName()
Gets the imageName value for this BaseImageCreative. |
String |
getImageUrl()
Gets the imageUrl value for this BaseImageCreative. |
Boolean |
getOverrideSize()
Gets the overrideSize value for this BaseImageCreative. |
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
int |
hashCode()
|
void |
setAssetSize(Size assetSize)
Sets the assetSize value for this BaseImageCreative. |
void |
setImageByteArray(byte[] imageByteArray)
Sets the imageByteArray value for this BaseImageCreative. |
void |
setImageName(String imageName)
Sets the imageName value for this BaseImageCreative. |
void |
setImageUrl(String imageUrl)
Sets the imageUrl value for this BaseImageCreative. |
void |
setOverrideSize(Boolean overrideSize)
Sets the overrideSize value for this BaseImageCreative. |
| Methods inherited from class com.google.api.ads.dfp.axis.v201208.HasDestinationUrlCreative |
|---|
getDestinationUrl, setDestinationUrl |
| Methods inherited from class com.google.api.ads.dfp.axis.v201208.Creative |
|---|
getAdvertiserId, getAppliedLabels, getAppliedLabels, getCreativeType, getCustomFieldValues, getCustomFieldValues, getId, getLastModifiedDateTime, getName, getPreviewUrl, getSize, setAdvertiserId, setAppliedLabels, setAppliedLabels, setCreativeType, setCustomFieldValues, setCustomFieldValues, setId, setLastModifiedDateTime, setName, setPreviewUrl, setSize |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseImageCreative()
public BaseImageCreative(Long advertiserId,
Long id,
String name,
Size size,
String previewUrl,
AppliedLabel[] appliedLabels,
DateTime lastModifiedDateTime,
BaseCustomFieldValue[] customFieldValues,
String creativeType,
String destinationUrl,
String imageName,
byte[] imageByteArray,
Boolean overrideSize,
Size assetSize,
String imageUrl)
| Method Detail |
|---|
public String getImageName()
public void setImageName(String imageName)
imageName - * The name of the image asset. This attribute is required and
has a maximum
length of 248 characters.public byte[] getImageByteArray()
imageByteArray will be null
when the ImageCreative is retrieved. To view the image,
use the previewUrl.public void setImageByteArray(byte[] imageByteArray)
imageByteArray - * The content of the image asset as a byte array. This attribute
is required.
The imageByteArray will be null
when the ImageCreative is retrieved. To view the image,
use the previewUrl.public Boolean getOverrideSize()
public void setOverrideSize(Boolean overrideSize)
overrideSize - * Allows the creative size to differ from the actual image asset
size. This
attribute is optional.public Size getAssetSize()
size if users
set overrideSize to true. This attribute
read-only and is populated
by Google.public void setAssetSize(Size assetSize)
assetSize - * The image asset size. Note that this may differ from size if users
set overrideSize to true. This attribute
read-only and is populated
by Google.public String getImageUrl()
public void setImageUrl(String imageUrl)
imageUrl - * The URL where the actual asset resides. This attribute is read-only
and
has a maximum length of 1024 characters.public boolean equals(Object obj)
equals in class HasDestinationUrlCreativepublic int hashCode()
hashCode in class HasDestinationUrlCreativepublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||