public class GeoTargetTypeSetting extends Setting
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:
Java class for GeoTargetTypeSetting complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GeoTargetTypeSetting">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}Setting">
<sequence>
<element name="positiveGeoTargetType" type="{https://adwords.google.com/api/adwords/cm/v201809}GeoTargetTypeSetting.PositiveGeoTargetType" minOccurs="0"/>
<element name="negativeGeoTargetType" type="{https://adwords.google.com/api/adwords/cm/v201809}GeoTargetTypeSetting.NegativeGeoTargetType" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected GeoTargetTypeSettingNegativeGeoTargetType |
negativeGeoTargetType |
protected GeoTargetTypeSettingPositiveGeoTargetType |
positiveGeoTargetType |
settingType| Constructor and Description |
|---|
GeoTargetTypeSetting() |
| Modifier and Type | Method and Description |
|---|---|
GeoTargetTypeSettingNegativeGeoTargetType |
getNegativeGeoTargetType()
Gets the value of the negativeGeoTargetType property.
|
GeoTargetTypeSettingPositiveGeoTargetType |
getPositiveGeoTargetType()
Gets the value of the positiveGeoTargetType property.
|
void |
setNegativeGeoTargetType(GeoTargetTypeSettingNegativeGeoTargetType value)
Sets the value of the negativeGeoTargetType property.
|
void |
setPositiveGeoTargetType(GeoTargetTypeSettingPositiveGeoTargetType value)
Sets the value of the positiveGeoTargetType property.
|
getSettingType, setSettingTypeprotected GeoTargetTypeSettingPositiveGeoTargetType positiveGeoTargetType
protected GeoTargetTypeSettingNegativeGeoTargetType negativeGeoTargetType
public GeoTargetTypeSettingPositiveGeoTargetType getPositiveGeoTargetType()
GeoTargetTypeSettingPositiveGeoTargetTypepublic void setPositiveGeoTargetType(GeoTargetTypeSettingPositiveGeoTargetType value)
value - allowed object is
GeoTargetTypeSettingPositiveGeoTargetTypepublic GeoTargetTypeSettingNegativeGeoTargetType getNegativeGeoTargetType()
GeoTargetTypeSettingNegativeGeoTargetTypepublic void setNegativeGeoTargetType(GeoTargetTypeSettingNegativeGeoTargetType value)
value - allowed object is
GeoTargetTypeSettingNegativeGeoTargetTypeCopyright © 2023. All rights reserved.