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

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

public class DeprecatedAd
extends Ad
implements Serializable

Represents a deprecated ad. Deprecated ads can be deleted, but cannot be created.

See Also:
Serialized Form

Constructor Summary
DeprecatedAd()
           
DeprecatedAd(Long id, String url, String displayUrl, AdApprovalStatus approvalStatus, String[] disapprovalReasons, Boolean trademarkDisapproved, String adType, String name, DeprecatedAdType type)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getName()
          Gets the name value for this DeprecatedAd.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 DeprecatedAdType getType()
          Gets the type value for this DeprecatedAd.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setName(String name)
          Sets the name value for this DeprecatedAd.
 void setType(DeprecatedAdType type)
          Sets the type value for this DeprecatedAd.
 
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

DeprecatedAd

public DeprecatedAd()

DeprecatedAd

public DeprecatedAd(Long id,
                    String url,
                    String displayUrl,
                    AdApprovalStatus approvalStatus,
                    String[] disapprovalReasons,
                    Boolean trademarkDisapproved,
                    String adType,
                    String name,
                    DeprecatedAdType type)
Method Detail

getName

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

Returns:
name * Name of the ad. This field can be selected using the value "Name".

setName

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

Parameters:
name - * Name of the ad. This field can be selected using the value "Name".

getType

public DeprecatedAdType getType()
Gets the type value for this DeprecatedAd.

Returns:
type * Type of the creative. This field can be selected using the value "Type".

setType

public void setType(DeprecatedAdType type)
Sets the type value for this DeprecatedAd.

Parameters:
type - * Type of the creative. This field can be selected using the value "Type".

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.