partners

Updates a channel. Returns the updated channel if successful.

patch/v4/partners/{+partnerId}/channels/{channelId}

Request

  • Base URL: https://displayvideo.googleapis.com
  • URL: https://displayvideo.googleapis.com/v4/partners/{+partnerId}/channels/{channelId}
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/display-video) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/display-video)

Path parameters

partnerIdstring required

The ID of the partner that owns the created channel.

channelIdstring required

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

Query parameters

advertiserIdstring

The ID of the advertiser that owns the created channel.

updateMaskstring

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

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status