public class AspectRatioImageCreative extends HasDestinationUrlCreative implements Serializable
Creative intended for mobile platforms that displays
an image, whose size is defined as an aspect
ratio, i.e. Size.isAspectRatio. It can have multiple
images whose dimensions conform to
that aspect ratio.| Constructor and Description |
|---|
AspectRatioImageCreative() |
AspectRatioImageCreative(Long advertiserId,
Long id,
String name,
Size size,
String previewUrl,
CreativePolicyViolation[] policyLabels,
AppliedLabel[] appliedLabels,
DateTime lastModifiedDateTime,
BaseCustomFieldValue[] customFieldValues,
ThirdPartyDataDeclaration thirdPartyDataDeclaration,
String destinationUrl,
DestinationUrlType destinationUrlType,
CreativeAsset[] imageAssets,
String altText,
String[] thirdPartyImpressionTrackingUrls,
Boolean overrideSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAltText()
Gets the altText value for this AspectRatioImageCreative.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
CreativeAsset[] |
getImageAssets()
Gets the imageAssets value for this AspectRatioImageCreative.
|
CreativeAsset |
getImageAssets(int i) |
Boolean |
getOverrideSize()
Gets the overrideSize value for this AspectRatioImageCreative.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
String[] |
getThirdPartyImpressionTrackingUrls()
Gets the thirdPartyImpressionTrackingUrls value for this AspectRatioImageCreative.
|
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 AspectRatioImageCreative.
|
void |
setImageAssets(CreativeAsset[] imageAssets)
Sets the imageAssets value for this AspectRatioImageCreative.
|
void |
setImageAssets(int i,
CreativeAsset _value) |
void |
setOverrideSize(Boolean overrideSize)
Sets the overrideSize value for this AspectRatioImageCreative.
|
void |
setThirdPartyImpressionTrackingUrls(int i,
String _value) |
void |
setThirdPartyImpressionTrackingUrls(String[] thirdPartyImpressionTrackingUrls)
Sets the thirdPartyImpressionTrackingUrls value for this AspectRatioImageCreative.
|
String |
toString() |
getDestinationUrl, 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 AspectRatioImageCreative()
public AspectRatioImageCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, CreativePolicyViolation[] policyLabels, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, BaseCustomFieldValue[] customFieldValues, ThirdPartyDataDeclaration thirdPartyDataDeclaration, String destinationUrl, DestinationUrlType destinationUrlType, CreativeAsset[] imageAssets, String altText, String[] thirdPartyImpressionTrackingUrls, Boolean overrideSize)
public String toString()
toString in class HasDestinationUrlCreativepublic CreativeAsset[] getImageAssets()
Creative.size. This attribute is required
and must have at least one asset.public void setImageAssets(CreativeAsset[] imageAssets)
imageAssets - * The images associated with this creative. The ad server will
choose one based on the
capabilities of the device. Each asset should
have a size which is of the same aspect ratio as
the Creative.size. This attribute is required
and must have at least one asset.public CreativeAsset getImageAssets(int i)
public void setImageAssets(int i,
CreativeAsset _value)
public String getAltText()
public void setAltText(String altText)
altText - * The text that is served along with the image creative, primarily
for accessibility. If no
suitable image size is available for the device,
this text replaces the image completely. 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 Boolean getOverrideSize()
public void setOverrideSize(Boolean overrideSize)
overrideSize - * Allows the actual image asset sizes to differ from the creative
size. This attribute is
optional.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 © 2022. All rights reserved.