Skip to main content
PUT
Update a publisher

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.

Body

application/json
beta
boolean

Build from the beta tag branch instead of master. Ignored if the publisher is on any other branch.

third_party_adstxt
string

Publisher-specific ads.txt lines, one per line. Replaces the current lines.

third_party_app_adstxt
string

Publisher-specific app-ads.txt lines, one per line. Replaces the current lines.

deploy_freeze
Deployment freeze · object

Window during which tag builds are held back.

tags
string[]

Replaces your organisation's tags on this publisher. Tags from other organisations aren't changed.

config
Settings · object

Publisher settings to merge into the current ones. contextual is only changed for admins.

tier
integer

Publisher tier.

label
string

Label.

display_name
string

Display name. Emoji are removed.

Logo URL, or an SVG data URI to upload to the CDN.

logo_dark
string

Dark-mode logo URL, or an SVG data URI to upload to the CDN.

o&o
integer | null

Owned-and-operated organisation ID. Must be one of the IDs from the owners endpoint, or null.

organisation
integer

Move the publisher to another organisation. Admins only, ignored otherwise.

iabCategories
string

Comma-separated IAB categories. Admins only, ignored otherwise.

custom_kv
Custom key-values · object

Custom key-values for the tag, keyed by name. Admins only, ignored otherwise.

adagents_json
string

Hosted adagents.json content. Redeploys the file when it changes.

system_meta
System meta · object

System settings. Send null to remove a key. Unknown keys are ignored.

approved
enum<integer>

Set the approval state. When sent, only this is changed and the rest of the body is ignored. -2 (appeal) is open to anyone who can edit the publisher and posts to Slack; other values need extra access. 1 also approves the organisation. Values: 1 = Approved, -1 = Rejected (can appeal), -2 = Appeal requested, -3 = Rejected (final).

Available options:
1,
-1,
-2,
-3

Response

OK: The updated publisher record. When approved is sent, the response is just success.

success
boolean
required

Always true on success.

results
object