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

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

public class LanguageSearchParameter
extends SearchParameter
implements Serializable

A SearchParameter for both PLACEMENT and KEYWORD IdeaTypes used to indicate the languages being targeted. This can be used, for example, to search for KEYWORD IdeaTypes that are best for Japanese and Korean languages.

This search parameter can be used in bulk keyword requests through the com.google.ads.api.services.targetingideas.TargetingIdeaService#getBulkKeywordIdeas(TargetingIdeaSelector) method. It must be single-valued when used in a call to that 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
LanguageSearchParameter()
           
LanguageSearchParameter(String searchParameterType, Language[] languages)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Language[] getLanguages()
          Gets the languages value for this LanguageSearchParameter.
 Language getLanguages(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 setLanguages(int i, Language _value)
           
 void setLanguages(Language[] languages)
          Sets the languages value for this LanguageSearchParameter.
 
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

LanguageSearchParameter

public LanguageSearchParameter()

LanguageSearchParameter

public LanguageSearchParameter(String searchParameterType,
                               Language[] languages)
Method Detail

getLanguages

public Language[] getLanguages()
Gets the languages value for this LanguageSearchParameter.

Returns:
languages * A set of Languages indicating the desired languages being targeted in the results. The maximum size of this collection is 200. 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.

setLanguages

public void setLanguages(Language[] languages)
Sets the languages value for this LanguageSearchParameter.

Parameters:
languages - * A set of Languages indicating the desired languages being targeted in the results. The maximum size of this collection is 200. 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.

getLanguages

public Language getLanguages(int i)

setLanguages

public void setLanguages(int i,
                         Language _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.