public abstract class BaseImageCreative extends HasDestinationUrlCreative implements Serializable
| Constructor and Description |
|---|
BaseImageCreative() |
BaseImageCreative(Long advertiserId,
Long id,
String name,
Size size,
String previewUrl,
AppliedLabel[] appliedLabels,
DateTime lastModifiedDateTime,
String creativeType,
String destinationUrl,
String imageName,
byte[] imageByteArray,
Boolean overrideSize,
Size assetSize,
String imageUrl) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getDestinationUrl, setDestinationUrlgetAdvertiserId, getAppliedLabels, getAppliedLabels, getCreativeType, getId, getLastModifiedDateTime, getName, getPreviewUrl, getSize, setAdvertiserId, setAppliedLabels, setAppliedLabels, setCreativeType, setId, setLastModifiedDateTime, setName, setPreviewUrl, setSizepublic BaseImageCreative()
public BaseImageCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, String creativeType, String destinationUrl, String imageName, byte[] imageByteArray, Boolean overrideSize, Size assetSize, String imageUrl)
public String getImageName()
primaryImageAsset attribute.public void setImageName(String imageName)
imageName - * The name of the image asset. This attribute is required and
has a maximum
length of 248 characters.
This attribute has been encapsulated into, and
deprecated in favour of, the
primaryImageAsset attribute.public byte[] getImageByteArray()
imageByteArray will be null
when the ImageCreative is retrieved. To view the image,
use the previewUrl.
This attribute has been encapsulated into, and
deprecated in favour of, the
primaryImageAsset attribute.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.
This attribute has been encapsulated into, and
deprecated in favour of, the
primaryImageAsset attribute.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.
This attribute has been encapsulated into, and
deprecated in favour of, the
primaryImageAsset attribute.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.
This attribute has been encapsulated into, and
deprecated in favour of, the
primaryImageAsset attribute.public String getImageUrl()
primaryImageAsset attribute.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.
This attribute has been encapsulated into, and
deprecated in favour of, the
primaryImageAsset attribute.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)
Copyright © 2013. All Rights Reserved.