com.google.api.ads.adwords.v201109.o
Class RelatedToKeywordSearchParameter

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.o.SearchParameter
      extended by com.google.api.ads.adwords.v201109.o.RelatedToKeywordSearchParameter
All Implemented Interfaces:
Serializable

public class RelatedToKeywordSearchParameter
extends SearchParameter
implements Serializable

A SearchParameter for KEYWORD and PLACEMENT IdeaTypes that specifies a generic keyword that results should be related to.

This search parameter can be used in bulk keyword requests through the com.google.ads.api.services.targetingideas.TargetingIdeaService#getBulkKeywordIdeas(TargetingIdeaSelector) method.

This element is supported by following IdeaTypes: KEYWORD, PLACEMENT.

This element is supported by following RequestTypes: IDEAS, STATS.

See Also:
Serialized Form

Constructor Summary
RelatedToKeywordSearchParameter()
           
RelatedToKeywordSearchParameter(String searchParameterType, Keyword[] keywords)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Keyword[] getKeywords()
          Gets the keywords value for this RelatedToKeywordSearchParameter.
 Keyword getKeywords(int i)
           
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 setKeywords(int i, Keyword _value)
           
 void setKeywords(Keyword[] keywords)
          Sets the keywords value for this RelatedToKeywordSearchParameter.
 
Methods inherited from class com.google.api.ads.adwords.v201109.o.SearchParameter
getSearchParameterType, setSearchParameterType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelatedToKeywordSearchParameter

public RelatedToKeywordSearchParameter()

RelatedToKeywordSearchParameter

public RelatedToKeywordSearchParameter(String searchParameterType,
                                       Keyword[] keywords)
Method Detail

getKeywords

public Keyword[] getKeywords()
Gets the keywords value for this RelatedToKeywordSearchParameter.

Returns:
keywords * A List of Keywords that the search result should be related to. This field must contain distinct elements. This field must not contain null elements. This field must contain at least one element. This field is required and should not be null.

setKeywords

public void setKeywords(Keyword[] keywords)
Sets the keywords value for this RelatedToKeywordSearchParameter.

Parameters:
keywords - * A List of Keywords that the search result should be related to. This field must contain distinct elements. This field must not contain null elements. This field must contain at least one element. This field is required and should not be null.

getKeywords

public Keyword getKeywords(int i)

setKeywords

public void setKeywords(int i,
                        Keyword _value)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class SearchParameter

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.