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

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

public class RelatedToUrlSearchParameter
extends SearchParameter
implements Serializable

A SearchParameter for KEYWORD and PLACEMENT IdeaTypes that specifies a set of URLs that results should in some way be related too. For example, keyword results would be similar to content keywords found on the related URLs.

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
RelatedToUrlSearchParameter()
           
RelatedToUrlSearchParameter(String searchParameterType, String[] urls, Boolean includeSubUrls)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Boolean getIncludeSubUrls()
          Gets the includeSubUrls value for this RelatedToUrlSearchParameter.
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
 String[] getUrls()
          Gets the urls value for this RelatedToUrlSearchParameter.
 String getUrls(int i)
           
 int hashCode()
           
 void setIncludeSubUrls(Boolean includeSubUrls)
          Sets the includeSubUrls value for this RelatedToUrlSearchParameter.
 void setUrls(int i, String _value)
           
 void setUrls(String[] urls)
          Sets the urls value for this RelatedToUrlSearchParameter.
 
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

RelatedToUrlSearchParameter

public RelatedToUrlSearchParameter()

RelatedToUrlSearchParameter

public RelatedToUrlSearchParameter(String searchParameterType,
                                   String[] urls,
                                   Boolean includeSubUrls)
Method Detail

getUrls

public String[] getUrls()
Gets the urls value for this RelatedToUrlSearchParameter.

Returns:
urls * A set of URL strings to which search results should be related. For PLACEMENT queries, up to five URLs may be submitted. For KEYWORD queries, only one URL may be submitted. 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.

setUrls

public void setUrls(String[] urls)
Sets the urls value for this RelatedToUrlSearchParameter.

Parameters:
urls - * A set of URL strings to which search results should be related. For PLACEMENT queries, up to five URLs may be submitted. For KEYWORD queries, only one URL may be submitted. 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.

getUrls

public String getUrls(int i)

setUrls

public void setUrls(int i,
                    String _value)

getIncludeSubUrls

public Boolean getIncludeSubUrls()
Gets the includeSubUrls value for this RelatedToUrlSearchParameter.

Returns:
includeSubUrls * Whether to crawl links off of the urls for the same domain. Default is false. Ignored on KEYWORD queries,

setIncludeSubUrls

public void setIncludeSubUrls(Boolean includeSubUrls)
Sets the includeSubUrls value for this RelatedToUrlSearchParameter.

Parameters:
includeSubUrls - * Whether to crawl links off of the urls for the same domain. Default is false. Ignored on KEYWORD queries,

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.