Skip to main content
POST
Create an app placement

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).

Body

application/json
title
string
required

Name used to pick the placement in the app and in app- configs.

Maximum string length: 50
activation
integer

Percentage of app sessions (0–100) that use this placement, falling back to the app's own code otherwise. Stored as a fraction. The 0–100 range isn't enforced by the server today. Saved as 0 when left out.

Required range: 0 <= x <= 100
enabled
boolean

Turns the placement on or off in the app. Saved as off when left out.

Response

OK: The created placement.

results
object
required
success
boolean
required