Skip to end of metadata
Go to start of metadata

Content Category Service

AppNexus provides a set of "universal" categories, which are commonly used categories that members can apply to their sites (placement groups) and placements for later targeting or informational purposes. You can also create your own custom categories by using this service.

You apply content categories to sites and placements through the Site Service and Placement Service using the content category ID, retrieved from this service. Content categories can then be used for site and placement targeting for direct campaigns through the Profile Service.

On This Page

REST API

View all standard custom content categories belonging to your member:

View a specific custom content category:

View multiple content categories by ID using a comma-separated list:

Add a custom content category:

Modify a custom content category:

Delete a custom content category:

You cannot add, modify, or delete universal content categories (where is_system is set to true). Universal content categories are managed by AppNexus.

JSON Fields

Field

Type (Length)

Description

Default

Required On

id

int

The ID of the category.

Auto-generated number

PUT, in querystring

name

string (100)

The name of the category.

 

POST

description

string (255)

The description of the content category

  

is_system

boolean

Read-only. If true, this is a "universal" content category created by AppNexus. You can apply universal content categories to your sites and placements, but you cannot edit them.

  

parent_category

object

If the category is the child of a parent category, the ID and name of the parent is listed here in the following format:

  

type

enum

The type of content category. Possible values are "standard", "deal", or "deal_priority".

  

last_modified

timestamp

Read-only. The date and time that this content category was last modified.

  
member_id
intRead-only. Your member ID.  
code
stringUsed only for deals.  

Examples

View all custom content categories belonging to your member
View all universal content categories
View a specific custom content category
View a specific universal content category