Skip to main content
PUT
Update an ad unit

Authorizations

Authorization
string
header
required

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

Path Parameters

uid
integer
required

Publisher ID (uid).

id
integer
required

Config (ad unit) ID.

Body

application/json

Turns the config on or off. Any other fields sent are ignored.

enabled
boolean
required

True makes the config active, false pauses it.

Response

OK: The updated config.

results
object
required
success
boolean
required