Skip to main content
PATCH
Add or remove targeting

Authorizations

Authorization
string
header
required

An API key from Settings → API access, starting with fnd_.

Headers

Idempotency-Key
string

Any unique string. Repeating a request with the same key returns the first result instead of doing it twice.

Maximum string length: 200

Path Parameters

campaignId
string
required

Campaign id.

Pattern: ^[a-f0-9]{24}$

Body

application/json
audienceId
string
required

The audience slot (the id in Get targeting).

Required string length: 1 - 200
add
object[]
Maximum array length: 200
remove
object[]
Maximum array length: 200

Response

Success

added
number
required
updated
number
required
removed
number
required
audience
object
required