Skip to main content
PUT
Update an audience

Authorizations

Authorization
string
header
required

A personal API token from the platform's settings page, or an OAuth access token.

Path Parameters

id
integer
required

Audience id.

Body

application/json
title
string

Audience title.

Maximum string length: 70
description
string | null

Audience description.

key
string

Targeting key sent to the ad server.

Maximum string length: 20
Pattern: ^[a-zA-Z][a-zA-Z0-9_]+$
name
string

Targeting value sent to the ad server.

Maximum string length: 70
Pattern: ^[a-zA-Z0-9_\- ]+$
enabled
boolean

Accepted but ignored. Use the enable and disable endpoints.

backfill_enabled
boolean

Accepted but ignored.

targets
Targets · object

Filters that define who is in it, one list per type. Rejected only when all seven lists are sent and every one is empty.

Response

OK: The updated audience.

results
object
required

The audience. Other columns of the audience record may also be present.

success
enum<boolean>
required

Always true on success.

Available options:
true