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

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.AdGroupCriterion
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BiddableAdGroupCriterion, NegativeAdGroupCriterion

public class AdGroupCriterion
extends Object
implements Serializable

Represents a criterion in an ad group, used with AdGroupCriterionService.

See Also:
Serialized Form

Constructor Summary
AdGroupCriterion()
           
AdGroupCriterion(Long adGroupId, CriterionUse criterionUse, Criterion criterion, String adGroupCriterionType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAdGroupCriterionType()
          Gets the adGroupCriterionType value for this AdGroupCriterion.
 Long getAdGroupId()
          Gets the adGroupId value for this AdGroupCriterion.
 Criterion getCriterion()
          Gets the criterion value for this AdGroupCriterion.
 CriterionUse getCriterionUse()
          Gets the criterionUse value for this AdGroupCriterion.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
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 setAdGroupCriterionType(String adGroupCriterionType)
          Sets the adGroupCriterionType value for this AdGroupCriterion.
 void setAdGroupId(Long adGroupId)
          Sets the adGroupId value for this AdGroupCriterion.
 void setCriterion(Criterion criterion)
          Sets the criterion value for this AdGroupCriterion.
 void setCriterionUse(CriterionUse criterionUse)
          Sets the criterionUse value for this AdGroupCriterion.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdGroupCriterion

public AdGroupCriterion()

AdGroupCriterion

public AdGroupCriterion(Long adGroupId,
                        CriterionUse criterionUse,
                        Criterion criterion,
                        String adGroupCriterionType)
Method Detail

getAdGroupId

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

Returns:
adGroupId * The ad group this criterion is in. 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 AdGroupCriterion.

Parameters:
adGroupId - * The ad group this criterion is in. This field can be selected using the value "AdGroupId".This field can be filtered on. This field is required and should not be null.

getCriterionUse

public CriterionUse getCriterionUse()
Gets the criterionUse value for this AdGroupCriterion.

Returns:
criterionUse * This field can be selected using the value "CriterionUse".This field can be filtered on. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setCriterionUse

public void setCriterionUse(CriterionUse criterionUse)
Sets the criterionUse value for this AdGroupCriterion.

Parameters:
criterionUse - * This field can be selected using the value "CriterionUse".This field can be filtered on. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

getCriterion

public Criterion getCriterion()
Gets the criterion value for this AdGroupCriterion.

Returns:
criterion * The criterion part of the ad group criterion. This field is required and should not be null.

setCriterion

public void setCriterion(Criterion criterion)
Sets the criterion value for this AdGroupCriterion.

Parameters:
criterion - * The criterion part of the ad group criterion. This field is required and should not be null.

getAdGroupCriterionType

public String getAdGroupCriterionType()
Gets the adGroupCriterionType value for this AdGroupCriterion.

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

setAdGroupCriterionType

public void setAdGroupCriterionType(String adGroupCriterionType)
Sets the adGroupCriterionType value for this AdGroupCriterion.

Parameters:
adGroupCriterionType - * Indicates that this instance is a subtype of AdGroupCriterion. 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.