partners

PATCH /v4/partners/{partnersId}/channels/{channelId}

Updates a channel. Returns the updated 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
channelIdstring int64 required

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

Query parameters

advertiserIdstring int64

The ID of the advertiser 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.