v1

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

Updates a channel. Returns the updated channel if successful.

patch/v4/advertisers/{+advertiserId}/channels/{channelId}

Path parameters

advertiserIdstring required

The ID of the advertiser that owns the created channel.

channelIdstring required

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

Query parameters

partnerIdstring

The ID of the partner that owns the created channel.

updateMaskstring

Required. The mask to control which fields to update.

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