REST Resource: contentCategories

  • A ContentCategory resource is identified by an ID, name, accountId, and kind.

  • The ID is read-only and auto-generated, the name is required and unique per account, the accountId is read-only, and the kind is a fixed string.

  • The available methods for ContentCategory resources include delete, get, insert, list, patch, and update.

Resource: ContentCategory

JSON representation
{
  "id": string,
  "name": string,
  "accountId": string,
  "kind": string
}
Fields
id

string (int64 format)

ID of this content category. This is a read-only, auto-generated field.

name

string

Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account.

accountId

string (int64 format)

Account ID of this content category. This is a read-only field that can be left blank.

kind

string

Identifies what kind of resource this is. Value: the fixed string

"dfareporting#contentCategory"

.

Methods

delete

Deletes an existing content category.

get

Gets one content category by ID.

insert

Inserts a new content category.

list

Retrieves a list of content categories, possibly filtered.

patch

Updates an existing content category.

update

Updates an existing content category.