Edit Location Group
PUT {{campaign_url}}/locationGroups/:id
Edit an existing location group
You can edit settings for an existing location group by sending this PUT request. To update location group settings, open the body tab to edit the JSON object. See POST New Location Group documentation for information on field definitions and allowed values.
The following fields cannot be edited:
-
targetGeoType
For information on obtaining the location group's id, see GET Existing Location Group documentation.
Request Body
{"name"=>"locgroup 2 - renamed", "targetGeoType"=>"zipGlobal", "country"=>"us", "entries"=>[{"zipGlobal"=>"94704"}]}