Partial update a segment

Performs a partial update on the specified segment. All fields are optional; only provided fields are modified.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The unique ID of the segment

Body Params
integer

Defaults to the account in the active session

integer | null

The advertiser that owns the segment, if any.

string
length ≤ 255
^[\w[('-]

The name of the segment

string | null

The description of the segment

string | null
^-?\d{0,2}(?:\.\d{0,3})?$

The CPM cost to target this segment.

string
enum
Defaults to ALL

Restricted way segment can be applied to a targeting expression.

  • ALL - All
  • INCLUDE - Include
  • EXCLUDE - Exclude
  • REQUIRE - Require
Allowed:
integer
0 to 90

How long a user stays in the segment, in days (0-90). Defaults to the account's DEFAULT_SEGMENT_TTL_DAYS setting, or 30 if that is unset.

boolean
Defaults to true

Whether the segment extends across devices.

boolean
Defaults to false
category_keys
array of strings

Keys of the segment categories this segment belongs to, e.g. 'mybuzzkey-1234'. Pass an empty list for an uncategorized segment.

category_keys
boolean
Defaults to true

Whether the segment is active.

string | null

An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.

string | null

Free-form notes of up to 255 characters.

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

400

Validation error or invalid parameters.

401

Authentication credentials were not provided.

403

Permission denied.

404

Segment not found.

Language
Credentials
:
URL
LoadingLoading…
Response
Choose an example:
application/json