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

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

public class AdGroupAd
extends Object
implements Serializable

Represents an ad in an ad group.

See Also:
Serialized Form

Constructor Summary
AdGroupAd()
           
AdGroupAd(Long adGroupId, Ad ad, AdGroupAdExperimentData experimentData, AdGroupAdStatus status, AdStats stats)
           
 
Method Summary
 boolean equals(Object obj)
           
 Ad getAd()
          Gets the ad value for this AdGroupAd.
 Long getAdGroupId()
          Gets the adGroupId value for this AdGroupAd.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 AdGroupAdExperimentData getExperimentData()
          Gets the experimentData value for this AdGroupAd.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 AdStats getStats()
          Gets the stats value for this AdGroupAd.
 AdGroupAdStatus getStatus()
          Gets the status value for this AdGroupAd.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAd(Ad ad)
          Sets the ad value for this AdGroupAd.
 void setAdGroupId(Long adGroupId)
          Sets the adGroupId value for this AdGroupAd.
 void setExperimentData(AdGroupAdExperimentData experimentData)
          Sets the experimentData value for this AdGroupAd.
 void setStats(AdStats stats)
          Sets the stats value for this AdGroupAd.
 void setStatus(AdGroupAdStatus status)
          Sets the status value for this AdGroupAd.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdGroupAd

public AdGroupAd()

AdGroupAd

public AdGroupAd(Long adGroupId,
                 Ad ad,
                 AdGroupAdExperimentData experimentData,
                 AdGroupAdStatus status,
                 AdStats stats)
Method Detail

getAdGroupId

public Long getAdGroupId()
Gets the adGroupId value for this AdGroupAd.

Returns:
adGroupId * The id of the adgroup containing this ad. This field can be selected using the value "AdGroupId".This field can be filtered on. This field is required and should not be null.

setAdGroupId

public void setAdGroupId(Long adGroupId)
Sets the adGroupId value for this AdGroupAd.

Parameters:
adGroupId - * The id of the adgroup containing this ad. This field can be selected using the value "AdGroupId".This field can be filtered on. This field is required and should not be null.

getAd

public Ad getAd()
Gets the ad value for this AdGroupAd.

Returns:
ad * The contents of the ad itself. This field is required and should not be null.

setAd

public void setAd(Ad ad)
Sets the ad value for this AdGroupAd.

Parameters:
ad - * The contents of the ad itself. This field is required and should not be null.

getExperimentData

public AdGroupAdExperimentData getExperimentData()
Gets the experimentData value for this AdGroupAd.

Returns:
experimentData * Experiment data associated with this AdGroupAd.

setExperimentData

public void setExperimentData(AdGroupAdExperimentData experimentData)
Sets the experimentData value for this AdGroupAd.

Parameters:
experimentData - * Experiment data associated with this AdGroupAd.

getStatus

public AdGroupAdStatus getStatus()
Gets the status value for this AdGroupAd.

Returns:
status * The status of the ad. This field can be selected using the value "Status".This field can be filtered on. This field is required and should not be null when it is contained within Operators : SET.

setStatus

public void setStatus(AdGroupAdStatus status)
Sets the status value for this AdGroupAd.

Parameters:
status - * The status of the ad. This field can be selected using the value "Status".This field can be filtered on. This field is required and should not be null when it is contained within Operators : SET.

getStats

public AdStats getStats()
Gets the stats value for this AdGroupAd.

Returns:
stats * Statistics about this ad. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setStats

public void setStats(AdStats stats)
Sets the stats value for this AdGroupAd.

Parameters:
stats - * Statistics about this ad. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

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.