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

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.AdExtension
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LocationExtension, LocationSyncExtension, MobileExtension, ProductExtension, SitelinksExtension

public class AdExtension
extends Object
implements Serializable

Base class for AdExtension objects. An AdExtension is an extension to an existing ad or metadata that will process into an extension. The class is concrete, so ad extensions can be added/removed to campaigns by referring to the id.

See Also:
Serialized Form

Constructor Summary
AdExtension()
           
AdExtension(Long id, String adExtensionType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAdExtensionType()
          Gets the adExtensionType value for this AdExtension.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Long getId()
          Gets the id value for this AdExtension.
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 setAdExtensionType(String adExtensionType)
          Sets the adExtensionType value for this AdExtension.
 void setId(Long id)
          Sets the id value for this AdExtension.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdExtension

public AdExtension()

AdExtension

public AdExtension(Long id,
                   String adExtensionType)
Method Detail

getId

public Long getId()
Gets the id value for this AdExtension.

Returns:
id * Id of ad extension This field can be selected using the value "AdExtensionId".This field can be filtered on. This field is required and should not be null when it is contained within Operators : REMOVE.

setId

public void setId(Long id)
Sets the id value for this AdExtension.

Parameters:
id - * Id of ad extension This field can be selected using the value "AdExtensionId".This field can be filtered on. This field is required and should not be null when it is contained within Operators : REMOVE.

getAdExtensionType

public String getAdExtensionType()
Gets the adExtensionType value for this AdExtension.

Returns:
adExtensionType * Indicates that this instance is a subtype of AdExtension. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

setAdExtensionType

public void setAdExtensionType(String adExtensionType)
Sets the adExtensionType value for this AdExtension.

Parameters:
adExtensionType - * Indicates that this instance is a subtype of AdExtension. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

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.