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[] policyViolations,
AppliedLabel[] appliedLabels,
DateTime lastModifiedDateTime,
BaseCustomFieldValue[] customFieldValues,
String destinationUrl,
DestinationUrlType destinationUrlType,
CreativeAsset[] imageAssets,
String altText,
String thirdPartyImpressionUrl,
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 |
getThirdPartyImpressionUrl()
Gets the thirdPartyImpressionUrl value for this AspectRatioImageCreative.
|
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 |
setThirdPartyImpressionUrl(String thirdPartyImpressionUrl)
Sets the thirdPartyImpressionUrl value for this AspectRatioImageCreative.
|
String |
toString() |
getDestinationUrl, getDestinationUrlType, setDestinationUrl, setDestinationUrlTypegetAdvertiserId, getAppliedLabels, getAppliedLabels, getCustomFieldValues, getCustomFieldValues, getId, getLastModifiedDateTime, getName, getPolicyViolations, getPolicyViolations, getPreviewUrl, getSize, setAdvertiserId, setAppliedLabels, setAppliedLabels, setCustomFieldValues, setCustomFieldValues, setId, setLastModifiedDateTime, setName, setPolicyViolations, setPolicyViolations, setPreviewUrl, setSizepublic AspectRatioImageCreative()
public AspectRatioImageCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, CreativePolicyViolation[] policyViolations, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, BaseCustomFieldValue[] customFieldValues, String destinationUrl, DestinationUrlType destinationUrlType, CreativeAsset[] imageAssets, String altText, String thirdPartyImpressionUrl, 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 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 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 © 2018. All Rights Reserved.