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

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

public class GeoTargetTypeSetting
extends Setting
implements Serializable

Represents a collection of settings related to ads geotargeting.

AdWords ads can be geotargeted using Location of Presence (LOP), Area of Interest (AOI), or both. LOP is the physical location of the user performing the search; AOI is the geographical region in which the searcher is interested. For example, if a user in New York City performs a search "hotels california", their LOP is New York City and their AOI is California.

Additionally, ads can be positively or negatively geotargeted. An ad that is positively geotargeted to New York City only appears to users whose location is related (via AOI or LOP) to New York City. An ad that is negatively geotargeted to New York City appears for all users except those whose location is related to New York City. Ads can only be negatively geotargeted if a positive geotargeting is also supplied, and the negatively geotargeted region must be contained within the positive region.

Geotargeting settings allow ads to be targeted in the following way:

This setting applies only to ads shown on the search network, and does not affect ads shown on the Google Display Network.

See Also:
Serialized Form

Constructor Summary
GeoTargetTypeSetting()
           
GeoTargetTypeSetting(String settingType, GeoTargetTypeSettingPositiveGeoTargetType positiveGeoTargetType, GeoTargetTypeSettingNegativeGeoTargetType negativeGeoTargetType)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 GeoTargetTypeSettingNegativeGeoTargetType getNegativeGeoTargetType()
          Gets the negativeGeoTargetType value for this GeoTargetTypeSetting.
 GeoTargetTypeSettingPositiveGeoTargetType getPositiveGeoTargetType()
          Gets the positiveGeoTargetType value for this GeoTargetTypeSetting.
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 setNegativeGeoTargetType(GeoTargetTypeSettingNegativeGeoTargetType negativeGeoTargetType)
          Sets the negativeGeoTargetType value for this GeoTargetTypeSetting.
 void setPositiveGeoTargetType(GeoTargetTypeSettingPositiveGeoTargetType positiveGeoTargetType)
          Sets the positiveGeoTargetType value for this GeoTargetTypeSetting.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.Setting
getSettingType, setSettingType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoTargetTypeSetting

public GeoTargetTypeSetting()

GeoTargetTypeSetting

public GeoTargetTypeSetting(String settingType,
                            GeoTargetTypeSettingPositiveGeoTargetType positiveGeoTargetType,
                            GeoTargetTypeSettingNegativeGeoTargetType negativeGeoTargetType)
Method Detail

getPositiveGeoTargetType

public GeoTargetTypeSettingPositiveGeoTargetType getPositiveGeoTargetType()
Gets the positiveGeoTargetType value for this GeoTargetTypeSetting.

Returns:
positiveGeoTargetType * The setting used for positive geotargeting in this particular campaign.

Again, the campaign can be positively targeted using solely LOP, solely AOI, or either. Positive targeting triggers ads only for users whose location is related to the given locations.

The default value is DONT_CARE.


setPositiveGeoTargetType

public void setPositiveGeoTargetType(GeoTargetTypeSettingPositiveGeoTargetType positiveGeoTargetType)
Sets the positiveGeoTargetType value for this GeoTargetTypeSetting.

Parameters:
positiveGeoTargetType - * The setting used for positive geotargeting in this particular campaign.

Again, the campaign can be positively targeted using solely LOP, solely AOI, or either. Positive targeting triggers ads only for users whose location is related to the given locations.

The default value is DONT_CARE.


getNegativeGeoTargetType

public GeoTargetTypeSettingNegativeGeoTargetType getNegativeGeoTargetType()
Gets the negativeGeoTargetType value for this GeoTargetTypeSetting.

Returns:
negativeGeoTargetType * The setting used for negative geotargeting in this particular campaign.

Again, the campaign can be negatively targeted using solely LOP or both AOI and LOP. Negative targeting triggers ads for all users except those whose location is related to the given locations.

The default value is LOP.


setNegativeGeoTargetType

public void setNegativeGeoTargetType(GeoTargetTypeSettingNegativeGeoTargetType negativeGeoTargetType)
Sets the negativeGeoTargetType value for this GeoTargetTypeSetting.

Parameters:
negativeGeoTargetType - * The setting used for negative geotargeting in this particular campaign.

Again, the campaign can be negatively targeted using solely LOP or both AOI and LOP. Negative targeting triggers ads for all users except those whose location is related to the given locations.

The default value is LOP.


equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Setting

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.