Browse the help center

Add a publishing category

Adds a publishing category to the network's list, the one sites and placements are classified with.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/categories/publishing/create.do

Adds a publishing category to the network's list, the one sites and placements are classified with. 'name' is required and must not be taken by another publishing category; 'type' defaults to PUBLIC. Invalid values come back per field in 'errors'. The answer is the stored category, in the shape the single-category read returns. Requires the PUBLISHER_CATEGORIES_MANAGEMENT admin permission (Admin -> Inventory Categories).

Form Params

name string required

Category name, unique within its list (advertising or publishing categories, compared without case), at most 128 characters

Automotive

type string

PUBLIC or INTERNAL (or their integer ids 1 and 2). Defaults to PUBLIC

PUBLIC

Responses

200

{success, category: {id, name, type}}

400

Invalid request, each problem named in errors by field (name, type)

401

Authentication error

403

Without the PUBLISHER_CATEGORIES_MANAGEMENT admin permission

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.