Google Code offered in: English - Español - 日本語 - 한국어 - Português - Pусский - 中文(简体) - 中文(繁體)
Documentation for the requested version is not available.Documentation for the requested diff is not available.
Geographical targeting options for a campaign.
GeoTarget provides various levels of geographical
granularity for targeting:
cityTargetsmetroTargetsregionTargetscountryTargetsproximityTargetsGB-ENG (England) and region JP-13
(Tokyo) can be targeted in the same campaign.US-CA and
city Mountain View, CA US.RegionTargets.excludedRegions) to prevent an area from being
targeted.
For example, to target the United States except Alaska, a campaign
would positively target country US and negatively target
region US-AKTo clear a set of targeting options, set the corresponding
*Targets field to an empty data object.
For example, you can clear cityTargets
by passing in a CityTargets object with empty
cities and excludedCities (for v13) fields.
| Field name | Field type | Field description |
|---|---|---|
| cityTargets | CityTargets |
Targeting by city. |
| countryTargets | CountryTargets |
Targeting by country. |
| metroTargets | MetroTargets |
Targeting by metropolitan area. |
| proximityTargets | ProximityTargets |
Targeting by map coordinates and the surrounding circular area. |
| regionTargets | RegionTargets |
Targeting by region. |
| targetAll | boolean |
If set to true, the settings in the targeting fields
( cityTargets, countryTargets, etc.) are ignored,
and the associated campaign targets all available countries.
If set to false, at least one of the targeting fields must be defined.
If returned as false and all
If returned as false and some |