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

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

public class Keyword
extends Criterion
implements Serializable

Represents a keyword.

See Also:
Serialized Form

Constructor Summary
Keyword()
           
Keyword(Long id, CriterionType type, String criterionType, String text, KeywordMatchType matchType)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 KeywordMatchType getMatchType()
          Gets the matchType value for this Keyword.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String getText()
          Gets the text value for this Keyword.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setMatchType(KeywordMatchType matchType)
          Sets the matchType value for this Keyword.
 void setText(String text)
          Sets the text value for this Keyword.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.Criterion
getCriterionType, getId, getType, setCriterionType, setId, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Keyword

public Keyword()

Keyword

public Keyword(Long id,
               CriterionType type,
               String criterionType,
               String text,
               KeywordMatchType matchType)
Method Detail

getText

public String getText()
Gets the text value for this Keyword.

Returns:
text * Text of this keyword (at most 80 characters and ten words). This field can be selected using the value "KeywordText".This field can be filtered on. This string must match the regular expression '[^\x00]*' This field is required and should not be null when it is contained within Operators : ADD.

setText

public void setText(String text)
Sets the text value for this Keyword.

Parameters:
text - * Text of this keyword (at most 80 characters and ten words). This field can be selected using the value "KeywordText".This field can be filtered on. This string must match the regular expression '[^\x00]*' This field is required and should not be null when it is contained within Operators : ADD.

getMatchType

public KeywordMatchType getMatchType()
Gets the matchType value for this Keyword.

Returns:
matchType * Match type of this keyword. This field can be selected using the value "KeywordMatchType".This field can be filtered on. This field is required and should not be null when it is contained within Operators : ADD.

setMatchType

public void setMatchType(KeywordMatchType matchType)
Sets the matchType value for this Keyword.

Parameters:
matchType - * Match type of this keyword. This field can be selected using the value "KeywordMatchType".This field can be filtered on. This field is required and should not be null when it is contained within Operators : ADD.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Criterion

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.