---
title: "POST /v4/partners/{partnersId}/channels"
method: POST
path: "/v4/partners/{partnersId}/channels"
tags: ["partners"]
---

# POST /v4/partners/{partnersId}/channels

`POST /v4/partners/{partnersId}/channels`

## Request

- Base URL: `https://displayvideo.googleapis.com`
- URL: `https://displayvideo.googleapis.com/v4/partners/{partnersId}/channels`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/display-video`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/display-video`
- TypeScript: <https://skmtc.dev/google/apis/displayvideo/docs/v4/partners/:partnersId/channels/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new channel. Returns the newly created channel if successful.

## Path parameters

- `partnersId` string, required

## Query parameters

- `advertiserId` string, int64

## Request body

- Channel: A single channel. Channels are custom groups of related websites and apps.
  - `advertiserId` string, int64: The ID of the advertiser that owns the channel.
  - `channelId` string, int64: 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.
  - `name` string: Output only. The resource name of the channel.
  - `negativelyTargetedLineItemCount` string, int64: Output only. Number of line items that are directly targeting this channel negatively.
  - `partnerId` string, int64: The ID of the partner that owns the channel.
  - `positivelyTargetedLineItemCount` string, int64: Output only. Number of line items that are directly targeting this channel positively.

## Response `200`

Successful response

- Channel: A single channel. Channels are custom groups of related websites and apps.
  - `advertiserId` string, int64: The ID of the advertiser that owns the channel.
  - `channelId` string, int64: 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.
  - `name` string: Output only. The resource name of the channel.
  - `negativelyTargetedLineItemCount` string, int64: Output only. Number of line items that are directly targeting this channel negatively.
  - `partnerId` string, int64: The ID of the partner that owns the channel.
  - `positivelyTargetedLineItemCount` string, int64: Output only. Number of line items that are directly targeting this channel positively.

---

[API](https://skmtc.dev/google/apis/displayvideo.md) - [All operations](https://skmtc.dev/google/apis/displayvideo/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/displayvideo/revisions/d80b56b6703a?raw)
