public class ImageCreative extends BaseImageCreative implements Serializable
Creative that displays an image.| Constructor and Description |
|---|
ImageCreative() |
ImageCreative(Long advertiserId,
Long id,
String name,
Size size,
String previewUrl,
AppliedLabel[] appliedLabels,
DateTime lastModifiedDateTime,
BaseCustomFieldValue[] customFieldValues,
String creativeType,
String destinationUrl,
Boolean overrideSize,
CreativeAsset primaryImageAsset,
String altText,
String thirdPartyImpressionUrl,
CreativeAsset[] secondaryImageAssets,
LockedOrientation lockedOrientation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAltText()
Gets the altText value for this ImageCreative.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
LockedOrientation |
getLockedOrientation()
Gets the lockedOrientation value for this ImageCreative.
|
CreativeAsset[] |
getSecondaryImageAssets()
Gets the secondaryImageAssets value for this ImageCreative.
|
CreativeAsset |
getSecondaryImageAssets(int i) |
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
String |
getThirdPartyImpressionUrl()
Gets the thirdPartyImpressionUrl value for this ImageCreative.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setAltText(String altText)
Sets the altText value for this ImageCreative.
|
void |
setLockedOrientation(LockedOrientation lockedOrientation)
Sets the lockedOrientation value for this ImageCreative.
|
void |
setSecondaryImageAssets(CreativeAsset[] secondaryImageAssets)
Sets the secondaryImageAssets value for this ImageCreative.
|
void |
setSecondaryImageAssets(int i,
CreativeAsset _value) |
void |
setThirdPartyImpressionUrl(String thirdPartyImpressionUrl)
Sets the thirdPartyImpressionUrl value for this ImageCreative.
|
getOverrideSize, getPrimaryImageAsset, setOverrideSize, setPrimaryImageAssetgetDestinationUrl, setDestinationUrlgetAdvertiserId, getAppliedLabels, getAppliedLabels, getCreativeType, getCustomFieldValues, getCustomFieldValues, getId, getLastModifiedDateTime, getName, getPreviewUrl, getSize, setAdvertiserId, setAppliedLabels, setAppliedLabels, setCreativeType, setCustomFieldValues, setCustomFieldValues, setId, setLastModifiedDateTime, setName, setPreviewUrl, setSizepublic ImageCreative()
public ImageCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, BaseCustomFieldValue[] customFieldValues, String creativeType, String destinationUrl, Boolean overrideSize, CreativeAsset primaryImageAsset, String altText, String thirdPartyImpressionUrl, CreativeAsset[] secondaryImageAssets, LockedOrientation lockedOrientation)
public String getAltText()
public void setAltText(String altText)
altText - * Alternative text to be rendered along with the creative used
mainly for accessibility.
This field is optional and has a maximum length
of 500 characters.public String getThirdPartyImpressionUrl()
public void setThirdPartyImpressionUrl(String thirdPartyImpressionUrl)
thirdPartyImpressionUrl - * An impression tracking URL to ping when this creative is displayed.
This field is optional has
a maximum length of 1024 characters.public CreativeAsset[] getSecondaryImageAssets()
Secondary image assets can be used to store different resolution versions of the primary asset for use on non-standard density screens.
public void setSecondaryImageAssets(CreativeAsset[] secondaryImageAssets)
secondaryImageAssets - * The list of secondary image assets associated with this creative.
This attribute is optional.
Secondary image assets can be used to store different resolution versions of the primary asset for use on non-standard density screens.
public CreativeAsset getSecondaryImageAssets(int i)
public void setSecondaryImageAssets(int i,
CreativeAsset _value)
public LockedOrientation getLockedOrientation()
public void setLockedOrientation(LockedOrientation lockedOrientation)
lockedOrientation - * A locked orientation for this creative to be displayed in.public boolean equals(Object obj)
equals in class BaseImageCreativepublic int hashCode()
hashCode in class BaseImageCreativepublic 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.