Name | Modifier & Defaults | Type | Description |
|---|---|---|---|
city_targeting | Default: | Targeting Object
| List of cities that the campaign will target or exclude. |
The city_targeting field is updated directly via the campaigns endpoint - and the targeted collection is stored directly in the value property:
{
"id": "1234",
//...
"city_targeting": {
"type": "INCLUDE",
"value": [
"229",
"301",
"149"
],
"href": null
}
//...
}
city_targetinguses numeric codes (not names). Use the Dictionary to fetch possible values.
Thehrefproperty is alwaysnull.
In order to applycity_targeting, you must target that country only.
You can apply city targeting or region targeting - but not both.
