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,
AppliedLabel[] appliedLabels,
DateTime lastModifiedDateTime,
BaseCustomFieldValue[] customFieldValues,
String creativeType,
String destinationUrl,
CreativeAsset[] imageAssets,
String fallbackText) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
String |
getFallbackText()
Gets the fallbackText value for this AspectRatioImageCreative.
|
CreativeAsset[] |
getImageAssets()
Gets the imageAssets value for this AspectRatioImageCreative.
|
CreativeAsset |
getImageAssets(int i) |
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 |
setFallbackText(String fallbackText)
Sets the fallbackText value for this AspectRatioImageCreative.
|
void |
setImageAssets(CreativeAsset[] imageAssets)
Sets the imageAssets value for this AspectRatioImageCreative.
|
void |
setImageAssets(int i,
CreativeAsset _value) |
getDestinationUrl, setDestinationUrlgetAdvertiserId, getAppliedLabels, getAppliedLabels, getCreativeType, getCustomFieldValues, getCustomFieldValues, getId, getLastModifiedDateTime, getName, getPreviewUrl, getSize, setAdvertiserId, setAppliedLabels, setAppliedLabels, setCreativeType, setCustomFieldValues, setCustomFieldValues, setId, setLastModifiedDateTime, setName, setPreviewUrl, setSizepublic AspectRatioImageCreative()
public AspectRatioImageCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, BaseCustomFieldValue[] customFieldValues, String creativeType, String destinationUrl, CreativeAsset[] imageAssets, String fallbackText)
public 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 getFallbackText()
public void setFallbackText(String fallbackText)
fallbackText - * 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 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.