REST Resource: contentCategories
Stay organized with collections
Save and categorize content based on your preferences.
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 |
|
Deletes an existing content category. |
|
Gets one content category by ID. |
|
Inserts a new content category. |
|
Retrieves a list of content categories, possibly filtered. |
|
Updates an existing content category. |
|
Updates an existing content category. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["\u003cp\u003eContentCategory resource allows you to manage categories for organizing your content within DoubleClick for Advertisers.\u003c/p\u003e\n"],["\u003cp\u003eEach category is identified by a unique ID and has a name, account ID, and kind.\u003c/p\u003e\n"],["\u003cp\u003eYou can create, retrieve, update, and delete content categories using the provided methods.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e field is required when creating a new ContentCategory and must be unique within the same account.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eid\u003c/code\u003e and \u003ccode\u003eaccountId\u003c/code\u003e are read-only fields automatically generated by the system.\u003c/p\u003e\n"]]],[],null,["# REST Resource: contentCategories\n\n- [Resource: ContentCategory](#ContentCategory)\n - [JSON representation](#ContentCategory.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: ContentCategory\n-------------------------\n\n| JSON representation |\n|-------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"name\": string, \"accountId\": string, \"kind\": string } ``` |\n\n| Fields ||\n|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` ID of this content category. This is a read-only, auto-generated field. |\n| `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. |\n| `account``Id` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Account ID of this content category. This is a read-only field that can be left blank. |\n| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `\"dfareporting#contentCategory\"` . |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------|------------------------------------------------------------|\n| ### [delete](/doubleclick-advertisers/rest/v4/contentCategories/delete) | Deletes an existing content category. |\n| ### [get](/doubleclick-advertisers/rest/v4/contentCategories/get) | Gets one content category by ID. |\n| ### [insert](/doubleclick-advertisers/rest/v4/contentCategories/insert) | Inserts a new content category. |\n| ### [list](/doubleclick-advertisers/rest/v4/contentCategories/list) | Retrieves a list of content categories, possibly filtered. |\n| ### [patch](/doubleclick-advertisers/rest/v4/contentCategories/patch) | Updates an existing content category. |\n| ### [update](/doubleclick-advertisers/rest/v4/contentCategories/update) | Updates an existing content category. |"]]