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

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

public class ImageAd
extends Ad
implements Serializable

Represents an ImageAd.

See Also:
Serialized Form

Constructor Summary
ImageAd()
           
ImageAd(Long id, String url, String displayUrl, AdApprovalStatus approvalStatus, String[] disapprovalReasons, Boolean trademarkDisapproved, String adType, Image image, String name, Long adToCopyImageFrom)
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getAdToCopyImageFrom()
          Gets the adToCopyImageFrom value for this ImageAd.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Image getImage()
          Gets the image value for this ImageAd.
 String getName()
          Gets the name value for this ImageAd.
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 setAdToCopyImageFrom(Long adToCopyImageFrom)
          Sets the adToCopyImageFrom value for this ImageAd.
 void setImage(Image image)
          Sets the image value for this ImageAd.
 void setName(String name)
          Sets the name value for this ImageAd.
 
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

ImageAd

public ImageAd()

ImageAd

public ImageAd(Long id,
               String url,
               String displayUrl,
               AdApprovalStatus approvalStatus,
               String[] disapprovalReasons,
               Boolean trademarkDisapproved,
               String adType,
               Image image,
               String name,
               Long adToCopyImageFrom)
Method Detail

getImage

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

Returns:
image * The image data for the ad

setImage

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

Parameters:
image - * The image data for the ad

getName

public String getName()
Gets the name value for this ImageAd.

Returns:
name * The name label for this ad This field can be selected using the value "ImageCreativeName".This field can be filtered on. This field is required and should not be null.

setName

public void setName(String name)
Sets the name value for this ImageAd.

Parameters:
name - * The name label for this ad This field can be selected using the value "ImageCreativeName".This field can be filtered on. This field is required and should not be null.

getAdToCopyImageFrom

public Long getAdToCopyImageFrom()
Gets the adToCopyImageFrom value for this ImageAd.

Returns:
adToCopyImageFrom * For ADD operations only: use this field to specify an existing image ad to copy the image from, in which case the "image" field can be left empty. This is the preferred way of copying images over re-uploading the same image. This field is read only and should not be set for following Operators : SET, REMOVE. If this field is sent to the API, it will be ignored.

setAdToCopyImageFrom

public void setAdToCopyImageFrom(Long adToCopyImageFrom)
Sets the adToCopyImageFrom value for this ImageAd.

Parameters:
adToCopyImageFrom - * For ADD operations only: use this field to specify an existing image ad to copy the image from, in which case the "image" field can be left empty. This is the preferred way of copying images over re-uploading the same image. This field is read only and should not be set for following Operators : SET, REMOVE. If this field is sent to the API, it will be ignored.

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.