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

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.CampaignCriterion
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NegativeCampaignCriterion

public class CampaignCriterion
extends Object
implements Serializable

Represents a campaign level criterion (either keyword or placement).

See Also:
Serialized Form

Constructor Summary
CampaignCriterion()
           
CampaignCriterion(Long campaignId, Criterion criterion, String campaignCriterionType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCampaignCriterionType()
          Gets the campaignCriterionType value for this CampaignCriterion.
 Long getCampaignId()
          Gets the campaignId value for this CampaignCriterion.
 Criterion getCriterion()
          Gets the criterion value for this CampaignCriterion.
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 setCampaignCriterionType(String campaignCriterionType)
          Sets the campaignCriterionType value for this CampaignCriterion.
 void setCampaignId(Long campaignId)
          Sets the campaignId value for this CampaignCriterion.
 void setCriterion(Criterion criterion)
          Sets the criterion value for this CampaignCriterion.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CampaignCriterion

public CampaignCriterion()

CampaignCriterion

public CampaignCriterion(Long campaignId,
                         Criterion criterion,
                         String campaignCriterionType)
Method Detail

getCampaignId

public Long getCampaignId()
Gets the campaignId value for this CampaignCriterion.

Returns:
campaignId * The campaign that the criterion is in. This field can be selected using the value "CampaignId".This field can be filtered on. This field is required and should not be null.

setCampaignId

public void setCampaignId(Long campaignId)
Sets the campaignId value for this CampaignCriterion.

Parameters:
campaignId - * The campaign that the criterion is in. This field can be selected using the value "CampaignId".This field can be filtered on. This field is required and should not be null.

getCriterion

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

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

setCriterion

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

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

getCampaignCriterionType

public String getCampaignCriterionType()
Gets the campaignCriterionType value for this CampaignCriterion.

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

setCampaignCriterionType

public void setCampaignCriterionType(String campaignCriterionType)
Sets the campaignCriterionType value for this CampaignCriterion.

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