Skip to main content
POST
Add Locations

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

customer_id
integer
required
token_id
integer | null

Optional specific Token ID

Body

application/json

Request to add location targeting to a campaign.

campaign_id
integer
required

Campaign to add locations to

locations
LocationTargetingEntry · object[]
required

Locations to add

Minimum array length: 1

Response

Successful Response

Result of a campaign criteria mutation.

success
boolean
required
successful_count
integer
default:0
failed_count
integer
default:0
errors
Errors · object[] | null