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,
CreativePolicyViolation[] policyLabels,
AppliedLabel[] appliedLabels,
DateTime lastModifiedDateTime,
BaseCustomFieldValue[] customFieldValues,
ThirdPartyDataDeclaration thirdPartyDataDeclaration,
String destinationUrl,
DestinationUrlType destinationUrlType,
Boolean overrideSize,
CreativeAsset primaryImageAsset,
String altText,
String[] thirdPartyImpressionTrackingUrls,
CreativeAsset[] secondaryImageAssets) |
| 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
|
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[] |
getThirdPartyImpressionTrackingUrls()
Gets the thirdPartyImpressionTrackingUrls value for this ImageCreative.
|
String |
getThirdPartyImpressionTrackingUrls(int i) |
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 |
setSecondaryImageAssets(CreativeAsset[] secondaryImageAssets)
Sets the secondaryImageAssets value for this ImageCreative.
|
void |
setSecondaryImageAssets(int i,
CreativeAsset _value) |
void |
setThirdPartyImpressionTrackingUrls(int i,
String _value) |
void |
setThirdPartyImpressionTrackingUrls(String[] thirdPartyImpressionTrackingUrls)
Sets the thirdPartyImpressionTrackingUrls value for this ImageCreative.
|
String |
toString() |
getOverrideSize, getPrimaryImageAsset, setOverrideSize, setPrimaryImageAssetgetDestinationUrl, getDestinationUrlType, setDestinationUrl, setDestinationUrlTypegetAdvertiserId, getAppliedLabels, getAppliedLabels, getCustomFieldValues, getCustomFieldValues, getId, getLastModifiedDateTime, getName, getPolicyLabels, getPolicyLabels, getPreviewUrl, getSize, getThirdPartyDataDeclaration, setAdvertiserId, setAppliedLabels, setAppliedLabels, setCustomFieldValues, setCustomFieldValues, setId, setLastModifiedDateTime, setName, setPolicyLabels, setPolicyLabels, setPreviewUrl, setSize, setThirdPartyDataDeclarationpublic ImageCreative()
public ImageCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, CreativePolicyViolation[] policyLabels, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, BaseCustomFieldValue[] customFieldValues, ThirdPartyDataDeclaration thirdPartyDataDeclaration, String destinationUrl, DestinationUrlType destinationUrlType, Boolean overrideSize, CreativeAsset primaryImageAsset, String altText, String[] thirdPartyImpressionTrackingUrls, CreativeAsset[] secondaryImageAssets)
public String toString()
toString in class BaseImageCreativepublic 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[] getThirdPartyImpressionTrackingUrls()
public void setThirdPartyImpressionTrackingUrls(String[] thirdPartyImpressionTrackingUrls)
thirdPartyImpressionTrackingUrls - * A list of impression tracking URL to ping when this creative
is displayed. This field is
optional and each string has a maximum length
of 1024 characters.public String getThirdPartyImpressionTrackingUrls(int i)
public void setThirdPartyImpressionTrackingUrls(int i,
String _value)
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 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 © 2024. All rights reserved.