Navigate segment tree

Returns the hierarchical segment tree including segment categories and segments. Includes both locally owned and shared segments for the active account.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
number

Only return segments owned by a specific advertiser.

number

Only return segments with no owner or owned by a specific advertiser.

string

Only return segment tree nodes whose key exactly matches this value.

key__in
array of strings

Only return segment tree nodes whose key matches one of these values. Multiple values may be separated by commas.

key__in
boolean

When true, only return segment tree nodes with an empty or missing key. When false, exclude them.

string

Exclude segment tree nodes whose key exactly matches this value.

key__not_in
array of strings

Exclude segment tree nodes whose key matches one of these values. Multiple values may be separated by commas.

key__not_in
string

Only return segment tree nodes whose name exactly matches this value.

string

Which field to use when ordering the results.

string

Only return segment tree nodes whose parent key exactly matches this value.

parent_key__in
array of strings

Only return segment tree nodes whose parent key matches one of these values. Multiple values may be separated by commas.

parent_key__in
boolean

When true, only return segment tree nodes with an empty or missing parent key. When false, exclude them.

string

Exclude segment tree nodes whose parent key exactly matches this value.

parent_key__not_in
array of strings

Exclude segment tree nodes whose parent key matches one of these values. Multiple values may be separated by commas.

parent_key__not_in
string

Only return segment tree nodes whose type matches this value ('segment' or 'category').

boolean

When true, only return segment tree nodes with an empty or missing type. When false, exclude them.

string

Exclude segment tree nodes whose type matches this value ('segment' or 'category').

Responses

400

Invalid filter or query parameters.

401

Authentication credentials were not provided.

403

Permission denied.

500

Internal server error.

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