partners

POST /v4/partners/{partnersId}/channels

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

Request

  • Base URL
    https://displayvideo.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/display-video
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/display-video
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

partnersIdstring required

Query parameters

advertiserIdstring int64

The ID of the advertiser that owns the created channel.

Request body

advertiserIdstring int64

The ID of the advertiser that owns the channel.

channelIdstring int64

Output only. The unique ID of the channel. Assigned by the system.

displayNamestring

Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes.

namestring

Output only. The resource name of the channel.

negativelyTargetedLineItemCountstring int64

Output only. Number of line items that are directly targeting this channel negatively.

partnerIdstring int64

The ID of the partner that owns the channel.

positivelyTargetedLineItemCountstring int64

Output only. Number of line items that are directly targeting this channel positively.

Response

Successful response

advertiserIdstring int64

The ID of the advertiser that owns the channel.

channelIdstring int64

Output only. The unique ID of the channel. Assigned by the system.

displayNamestring

Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes.

namestring

Output only. The resource name of the channel.

negativelyTargetedLineItemCountstring int64

Output only. Number of line items that are directly targeting this channel negatively.

partnerIdstring int64

The ID of the partner that owns the channel.

positivelyTargetedLineItemCountstring int64

Output only. Number of line items that are directly targeting this channel positively.

Changes

No recorded changes to this operation across all 7 revisions of this API.