com.google.api.adwords.v10
Class Ad

java.lang.Object
  extended by com.google.api.adwords.v10.Ad
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CommerceAd, ImageAd, LocalBusinessAd, MobileAd, TextAd, VideoAd

public abstract class Ad
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Ad()
           
Ad(int adGroupId, AdType adType, java.lang.String destinationUrl, boolean disapproved, java.lang.String displayUrl, java.lang.String exemptionRequest, long id, AdStatus status)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getAdGroupId()
          Gets the adGroupId value for this Ad.
 AdType getAdType()
          Gets the adType value for this Ad.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getDestinationUrl()
          Gets the destinationUrl value for this Ad.
 java.lang.String getDisplayUrl()
          Gets the displayUrl value for this Ad.
 java.lang.String getExemptionRequest()
          Gets the exemptionRequest value for this Ad.
 long getId()
          Gets the id value for this Ad.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 AdStatus getStatus()
          Gets the status value for this Ad.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 boolean isDisapproved()
          Gets the disapproved value for this Ad.
 void setAdGroupId(int adGroupId)
          Sets the adGroupId value for this Ad.
 void setAdType(AdType adType)
          Sets the adType value for this Ad.
 void setDestinationUrl(java.lang.String destinationUrl)
          Sets the destinationUrl value for this Ad.
 void setDisapproved(boolean disapproved)
          Sets the disapproved value for this Ad.
 void setDisplayUrl(java.lang.String displayUrl)
          Sets the displayUrl value for this Ad.
 void setExemptionRequest(java.lang.String exemptionRequest)
          Sets the exemptionRequest value for this Ad.
 void setId(long id)
          Sets the id value for this Ad.
 void setStatus(AdStatus status)
          Sets the status value for this Ad.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ad

public Ad()

Ad

public Ad(int adGroupId,
          AdType adType,
          java.lang.String destinationUrl,
          boolean disapproved,
          java.lang.String displayUrl,
          java.lang.String exemptionRequest,
          long id,
          AdStatus status)
Method Detail

getAdGroupId

public int getAdGroupId()
Gets the adGroupId value for this Ad.

Returns:
adGroupId

setAdGroupId

public void setAdGroupId(int adGroupId)
Sets the adGroupId value for this Ad.

Parameters:
adGroupId -

getAdType

public AdType getAdType()
Gets the adType value for this Ad.

Returns:
adType

setAdType

public void setAdType(AdType adType)
Sets the adType value for this Ad.

Parameters:
adType -

getDestinationUrl

public java.lang.String getDestinationUrl()
Gets the destinationUrl value for this Ad.

Returns:
destinationUrl

setDestinationUrl

public void setDestinationUrl(java.lang.String destinationUrl)
Sets the destinationUrl value for this Ad.

Parameters:
destinationUrl -

isDisapproved

public boolean isDisapproved()
Gets the disapproved value for this Ad.

Returns:
disapproved

setDisapproved

public void setDisapproved(boolean disapproved)
Sets the disapproved value for this Ad.

Parameters:
disapproved -

getDisplayUrl

public java.lang.String getDisplayUrl()
Gets the displayUrl value for this Ad.

Returns:
displayUrl

setDisplayUrl

public void setDisplayUrl(java.lang.String displayUrl)
Sets the displayUrl value for this Ad.

Parameters:
displayUrl -

getExemptionRequest

public java.lang.String getExemptionRequest()
Gets the exemptionRequest value for this Ad.

Returns:
exemptionRequest

setExemptionRequest

public void setExemptionRequest(java.lang.String exemptionRequest)
Sets the exemptionRequest value for this Ad.

Parameters:
exemptionRequest -

getId

public long getId()
Gets the id value for this Ad.

Returns:
id

setId

public void setId(long id)
Sets the id value for this Ad.

Parameters:
id -

getStatus

public AdStatus getStatus()
Gets the status value for this Ad.

Returns:
status

setStatus

public void setStatus(AdStatus status)
Sets the status value for this Ad.

Parameters:
status -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

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


getSerializer

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


getDeserializer

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



Copyright © 2005 Google Corp. All Rights Reserved.