- [Resource: Channel](https://developers.google.com/display-video/api/reference/rest/v4/partners.channels#Channel)
  - [JSON representation](https://developers.google.com/display-video/api/reference/rest/v4/partners.channels#Channel.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/display-video/api/reference/rest/v4/partners.channels#METHODS_SUMMARY)

## Resource: Channel

A single channel. Channels are custom groups of related websites and apps.

| JSON representation |
|---|
| ``` { "name": string, "channelId": string, "displayName": string, "positivelyTargetedLineItemCount": string, "negativelyTargetedLineItemCount": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "partnerId": string, "advertiserId": string // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. The resource name of the channel. |
| `channelId` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The unique ID of the channel. Assigned by the system. |
| `displayName` | `string` Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes. |
| `positivelyTargetedLineItemCount` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. Number of line items that are directly targeting this channel positively. |
| `negativelyTargetedLineItemCount` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. Number of line items that are directly targeting this channel negatively. |
| Identifies the DV360 entity that owns the channel. It can be either a partner or an advertiser. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `partnerId` | `string (https://developers.google.com/discovery/v1/type-format format)` The ID of the partner that owns the channel. |
| `advertiserId` | `string (https://developers.google.com/discovery/v1/type-format format)` The ID of the advertiser that owns the channel. |
| End of mutually exclusive fields. ||

| ## Methods ||
|---|---|
| ### `https://developers.google.com/display-video/api/reference/rest/v4/partners.channels/create` | Creates a new channel. |
| ### `https://developers.google.com/display-video/api/reference/rest/v4/partners.channels/get` | Gets a channel for a partner or advertiser. |
| ### `https://developers.google.com/display-video/api/reference/rest/v4/partners.channels/list` | Lists channels for a partner or advertiser. |
| ### `https://developers.google.com/display-video/api/reference/rest/v4/partners.channels/patch` | Updates a channel. |