Browse the help center

Add an advertising category

Adds an advertising category to the network's list, the one advertisers are classified with.

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

Adds an advertising category to the network's list, the one advertisers are classified with. 'name' is required and must not be taken by another advertising 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 ADVERTISING_CATEGORIES_MANAGEMENT admin permission (Admin -> Advertising 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 ADVERTISING_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.