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

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

public class TextAd
extends Ad
implements Serializable

Represents a TextAd.

See Also:
Serialized Form

Constructor Summary
TextAd()
           
TextAd(Long id, String url, String displayUrl, AdApprovalStatus approvalStatus, String[] disapprovalReasons, Boolean trademarkDisapproved, String adType, String headline, String description1, String description2)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription1()
          Gets the description1 value for this TextAd.
 String getDescription2()
          Gets the description2 value for this TextAd.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getHeadline()
          Gets the headline value for this TextAd.
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 setDescription1(String description1)
          Sets the description1 value for this TextAd.
 void setDescription2(String description2)
          Sets the description2 value for this TextAd.
 void setHeadline(String headline)
          Sets the headline value for this TextAd.
 
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

TextAd

public TextAd()

TextAd

public TextAd(Long id,
              String url,
              String displayUrl,
              AdApprovalStatus approvalStatus,
              String[] disapprovalReasons,
              Boolean trademarkDisapproved,
              String adType,
              String headline,
              String description1,
              String description2)
Method Detail

getHeadline

public String getHeadline()
Gets the headline value for this TextAd.

Returns:
headline * The headline of the ad This field can be selected using the value "Headline".This field can be filtered on.

setHeadline

public void setHeadline(String headline)
Sets the headline value for this TextAd.

Parameters:
headline - * The headline of the ad This field can be selected using the value "Headline".This field can be filtered on.

getDescription1

public String getDescription1()
Gets the description1 value for this TextAd.

Returns:
description1 * The first description line This field can be selected using the value "Description1".This field can be filtered on.

setDescription1

public void setDescription1(String description1)
Sets the description1 value for this TextAd.

Parameters:
description1 - * The first description line This field can be selected using the value "Description1".This field can be filtered on.

getDescription2

public String getDescription2()
Gets the description2 value for this TextAd.

Returns:
description2 * The second description line This field can be selected using the value "Description2".This field can be filtered on.

setDescription2

public void setDescription2(String description2)
Sets the description2 value for this TextAd.

Parameters:
description2 - * The second description line This field can be selected using the value "Description2".This field can be filtered on.

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.