|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfp.axis.v201208.Creative
com.google.api.ads.dfp.axis.v201208.HasDestinationUrlCreative
com.google.api.ads.dfp.axis.v201208.AspectRatioImageCreative
public class AspectRatioImageCreative
A 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 Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class com.google.api.ads.dfp.axis.v201208.HasDestinationUrlCreative |
|---|
getDestinationUrl, setDestinationUrl |
| Methods inherited from class com.google.api.ads.dfp.axis.v201208.Creative |
|---|
getAdvertiserId, getAppliedLabels, getAppliedLabels, getCreativeType, getCustomFieldValues, getCustomFieldValues, getId, getLastModifiedDateTime, getName, getPreviewUrl, getSize, setAdvertiserId, setAppliedLabels, setAppliedLabels, setCreativeType, setCustomFieldValues, setCustomFieldValues, setId, setLastModifiedDateTime, setName, setPreviewUrl, setSize |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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)
| Method Detail |
|---|
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)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||