AI-generated Key Takeaways
- 
          
This page details how to update a channel using a PATCH request to the specified Google Display & Video 360 API endpoint.
 - 
          
Updating a channel requires specifying the channel ID and either a partner ID or advertiser ID as path and query parameters, respectively.
 - 
          
A required
updateMaskquery parameter is used to control which fields of the channel are updated. - 
          
The request and response bodies both contain an instance of a Channel object.
 - 
          
Authorization to update a channel requires the
https://www.googleapis.com/auth/display-videoOAuth scope. 
- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization scopes
 - Try it!
 
Updates a channel. Returns the updated channel if successful.
HTTP request
PATCH https://displayvideo.googleapis.com/v4/partners/{partnerId}/channels/{channel.channelId}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
channel.channelId | 
                
                   
 Output only. The unique ID of the channel. Assigned by the system.  | 
              
Union parameter owner. Required. Identifies which DV360 entity owns the channel. owner can be only one of the following: | 
              |
partnerId | 
                
                   
 The ID of the partner that owns the created channel.  | 
              
Query parameters
| Parameters | |
|---|---|
updateMask | 
                
                   
 Required. The mask to control which fields to update. This is a comma-separated list of fully qualified names of fields. Example:   | 
              
Union parameter owner. Required. Identifies which DV360 entity owns the channel. owner can be only one of the following: | 
              |
advertiserId | 
                
                   
 The ID of the advertiser that owns the created channel.  | 
              
Request body
The request body contains an instance of Channel.
Response body
If successful, the response body contains an instance of Channel.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.