advertisers

PATCH /v4/advertisers/{advertisersId}/channels/{channelId}

Updates a channel. Returns the updated channel if successful.

Request

Path parameters

advertisersIdstring required
channelIdstring int64 required

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

Query parameters

partnerIdstring int64

The ID of the partner that owns the created channel.

updateMaskstring google-fieldmask

Required. The mask to control which fields to update.

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.