v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13177414729.5 KB
partners

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

post/v4/partners/{+partnerId}/channels

Path parameters

partnerIdstring required

The ID of the partner that owns the created channel.

Query parameters

advertiserIdstring

The ID of the advertiser that owns the created channel.

Request body

namestring

Output only. The resource name of 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.

positivelyTargetedLineItemCountstring int64

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

negativelyTargetedLineItemCountstring int64

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

advertiserIdstring int64

The ID of the advertiser that owns the channel.

partnerIdstring int64

The ID of the partner that owns the channel.

Response

Successful response