city_targeting
| Name | Modifier & Defaults | Type | Description |
|---|---|---|---|
| city_targeting | Default: Targeting Object with type = ALL and value = [] (empty collection) | Targeting Object Use the Dictionary to fetch possible values.
| List of cities that the campaign will target or exclude.city_targeting uses numeric codes (not names). Use the Dictionary to fetch possible values. |
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.
Updated 21 days ago
Did this page help you?
