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

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

public class LocationCriterion
extends Object
implements Serializable

Represents data that encapsulates a location criterion.

See Also:
Serialized Form

Constructor Summary
LocationCriterion()
           
LocationCriterion(Location location, String canonicalName, Long reach, String locale, String searchTerm)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCanonicalName()
          Gets the canonicalName value for this LocationCriterion.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getLocale()
          Gets the locale value for this LocationCriterion.
 Location getLocation()
          Gets the location value for this LocationCriterion.
 Long getReach()
          Gets the reach value for this LocationCriterion.
 String getSearchTerm()
          Gets the searchTerm value for this LocationCriterion.
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 setCanonicalName(String canonicalName)
          Sets the canonicalName value for this LocationCriterion.
 void setLocale(String locale)
          Sets the locale value for this LocationCriterion.
 void setLocation(Location location)
          Sets the location value for this LocationCriterion.
 void setReach(Long reach)
          Sets the reach value for this LocationCriterion.
 void setSearchTerm(String searchTerm)
          Sets the searchTerm value for this LocationCriterion.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationCriterion

public LocationCriterion()

LocationCriterion

public LocationCriterion(Location location,
                         String canonicalName,
                         Long reach,
                         String locale,
                         String searchTerm)
Method Detail

getLocation

public Location getLocation()
Gets the location value for this LocationCriterion.

Returns:
location * Location criterion

setLocation

public void setLocation(Location location)
Sets the location value for this LocationCriterion.

Parameters:
location - * Location criterion

getCanonicalName

public String getCanonicalName()
Gets the canonicalName value for this LocationCriterion.

Returns:
canonicalName * Canonical name of the location criterion. * This field can be selected using the value "CanonicalName". This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setCanonicalName

public void setCanonicalName(String canonicalName)
Sets the canonicalName value for this LocationCriterion.

Parameters:
canonicalName - * Canonical name of the location criterion. * This field can be selected using the value "CanonicalName". This field is read only and should not be set. If this field is sent to the API, it will be ignored.

getReach

public Long getReach()
Gets the reach value for this LocationCriterion.

Returns:
reach * Approximate user population that will be targeted, rounded to the nearest 100. * This field can be selected using the value "Reach". This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setReach

public void setReach(Long reach)
Sets the reach value for this LocationCriterion.

Parameters:
reach - * Approximate user population that will be targeted, rounded to the nearest 100. * This field can be selected using the value "Reach". This field is read only and should not be set. If this field is sent to the API, it will be ignored.

getLocale

public String getLocale()
Gets the locale value for this LocationCriterion.

Returns:
locale * Locale of the name, as specified in the request. Note: If the specified locale filter is invalid, or not supported, en_US will be used by default. This field can be filtered on using the value "Locale". This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setLocale

public void setLocale(String locale)
Sets the locale value for this LocationCriterion.

Parameters:
locale - * Locale of the name, as specified in the request. Note: If the specified locale filter is invalid, or not supported, en_US will be used by default. This field can be filtered on using the value "Locale". This field is read only and should not be set. If this field is sent to the API, it will be ignored.

getSearchTerm

public String getSearchTerm()
Gets the searchTerm value for this LocationCriterion.

Returns:
searchTerm * Original search term, as specified in the input request for search by name. Note: This field is useful in the case that the original search name does not match the official name of the location, for example, Florence -> Firenze. * This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setSearchTerm

public void setSearchTerm(String searchTerm)
Sets the searchTerm value for this LocationCriterion.

Parameters:
searchTerm - * Original search term, as specified in the input request for search by name. Note: This field is useful in the case that the original search name does not match the official name of the location, for example, Florence -> Firenze. * This field is read only and should not be set. If this field is sent to the API, it will be ignored.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

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.