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

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

public class CategoryProductsAndServicesSearchParameter
extends SearchParameter
implements Serializable

A SearchParameter for KEYWORD IdeaTypes that sets a keyword category that all search results should belong to. Uses the newer "Products and Services" taxonomy, unlike KeywordCategoryIdSearchParameter.

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.

This element is supported by following RequestTypes: IDEAS.

See Also:
Serialized Form

Constructor Summary
CategoryProductsAndServicesSearchParameter()
           
CategoryProductsAndServicesSearchParameter(String searchParameterType, Integer categoryId)
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getCategoryId()
          Gets the categoryId value for this CategoryProductsAndServicesSearchParameter.
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 setCategoryId(Integer categoryId)
          Sets the categoryId value for this CategoryProductsAndServicesSearchParameter.
 
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

CategoryProductsAndServicesSearchParameter

public CategoryProductsAndServicesSearchParameter()

CategoryProductsAndServicesSearchParameter

public CategoryProductsAndServicesSearchParameter(String searchParameterType,
                                                  Integer categoryId)
Method Detail

getCategoryId

public Integer getCategoryId()
Gets the categoryId value for this CategoryProductsAndServicesSearchParameter.

Returns:
categoryId * A keyword category ID in the "Products and Services" taxonomy that all search results should belong to. This field is required and should not be null.

setCategoryId

public void setCategoryId(Integer categoryId)
Sets the categoryId value for this CategoryProductsAndServicesSearchParameter.

Parameters:
categoryId - * A keyword category ID in the "Products and Services" taxonomy that all search results should belong to. This field is required and should not be null.

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.