com.google.api.ads.adwords.v201109.cm
Class MobileImageAd

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.Ad
      extended by com.google.api.ads.adwords.v201109.cm.MobileImageAd
All Implemented Interfaces:
Serializable

public class MobileImageAd
extends Ad
implements Serializable

Represents a mobile image ad.

For more information, see the mobile ads guidelines.

See Also:
Serialized Form

Constructor Summary
MobileImageAd()
           
MobileImageAd(Long id, String url, String displayUrl, AdApprovalStatus approvalStatus, String[] disapprovalReasons, Boolean trademarkDisapproved, String adType, MarkupLanguageType[] markupLanguages, String[] mobileCarriers, Image image)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Image getImage()
          Gets the image value for this MobileImageAd.
 MarkupLanguageType[] getMarkupLanguages()
          Gets the markupLanguages value for this MobileImageAd.
 MarkupLanguageType getMarkupLanguages(int i)
           
 String[] getMobileCarriers()
          Gets the mobileCarriers value for this MobileImageAd.
 String getMobileCarriers(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 setImage(Image image)
          Sets the image value for this MobileImageAd.
 void setMarkupLanguages(int i, MarkupLanguageType _value)
           
 void setMarkupLanguages(MarkupLanguageType[] markupLanguages)
          Sets the markupLanguages value for this MobileImageAd.
 void setMobileCarriers(int i, String _value)
           
 void setMobileCarriers(String[] mobileCarriers)
          Sets the mobileCarriers value for this MobileImageAd.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.Ad
getAdType, getApprovalStatus, getDisapprovalReasons, getDisapprovalReasons, getDisplayUrl, getId, getTrademarkDisapproved, getUrl, setAdType, setApprovalStatus, setDisapprovalReasons, setDisapprovalReasons, setDisplayUrl, setId, setTrademarkDisapproved, setUrl
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobileImageAd

public MobileImageAd()

MobileImageAd

public MobileImageAd(Long id,
                     String url,
                     String displayUrl,
                     AdApprovalStatus approvalStatus,
                     String[] disapprovalReasons,
                     Boolean trademarkDisapproved,
                     String adType,
                     MarkupLanguageType[] markupLanguages,
                     String[] mobileCarriers,
                     Image image)
Method Detail

getMarkupLanguages

public MarkupLanguageType[] getMarkupLanguages()
Gets the markupLanguages value for this MobileImageAd.

Returns:
markupLanguages * The list of markup languages to use for the mobile ad. This field can be selected using the value "MobileImageAdMarkupLanguages".

setMarkupLanguages

public void setMarkupLanguages(MarkupLanguageType[] markupLanguages)
Sets the markupLanguages value for this MobileImageAd.

Parameters:
markupLanguages - * The list of markup languages to use for the mobile ad. This field can be selected using the value "MobileImageAdMarkupLanguages".

getMarkupLanguages

public MarkupLanguageType getMarkupLanguages(int i)

setMarkupLanguages

public void setMarkupLanguages(int i,
                               MarkupLanguageType _value)

getMobileCarriers

public String[] getMobileCarriers()
Gets the mobileCarriers value for this MobileImageAd.

Returns:
mobileCarriers * The list of mobile carriers to use for the mobile ad. Each string must be of the form 'CarrierName@CountryCode'. To specify that all available carriers are to be used, use the reserved keyword 'ALLCARRIERS'. See available mobile carriers. This field can be selected using the value "MobileImageAdMobileCarriers". This field is required and should not be null.

setMobileCarriers

public void setMobileCarriers(String[] mobileCarriers)
Sets the mobileCarriers value for this MobileImageAd.

Parameters:
mobileCarriers - * The list of mobile carriers to use for the mobile ad. Each string must be of the form 'CarrierName@CountryCode'. To specify that all available carriers are to be used, use the reserved keyword 'ALLCARRIERS'. See available mobile carriers. This field can be selected using the value "MobileImageAdMobileCarriers". This field is required and should not be null.

getMobileCarriers

public String getMobileCarriers(int i)

setMobileCarriers

public void setMobileCarriers(int i,
                              String _value)

getImage

public Image getImage()
Gets the image value for this MobileImageAd.

Returns:
image * Image to be used in the mobile image ad.

setImage

public void setImage(Image image)
Sets the image value for this MobileImageAd.

Parameters:
image - * Image to be used in the mobile image ad.

equals

public boolean equals(Object obj)
Overrides:
equals in class Ad

hashCode

public int hashCode()
Overrides:
hashCode in class Ad

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2011. All Rights Reserved.