Skip to main content
POST
Create an ad stack

Authorizations

Authorization
string
header
required

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

Query Parameters

uid
integer
required

Publisher ID. The stack is created in this publisher's organisation

Body

application/json
integration
Integrations · object[]
required

Integrations in the stack, in order. IDs that aren't available to the publisher's organisation are dropped; at least one must be valid. Get the options from GET /v1/integration?target=ad_stack

name
string | null

Ad stack name. Left out, empty or null sets no name

Maximum string length: 70
global
Global settings · object[]

Global settings per type, keyed by the encoded ID of that type with ID 0 (for example the ad_demand global block)

Response

OK: The new ad stack.

results
object
required
success
boolean
required

Always true