AI-generated Key Takeaways
-
This method updates a custom channel and can only be called by a restricted set of projects, usually owned by AdSense for Platforms publishers.
-
The HTTP request uses a PATCH method to update the custom channel resource via its specified name in the URL.
-
The request includes path parameters for the custom channel name and an optional query parameter,
updateMask, to specify fields for partial updates. -
The request body contains a
CustomChannelinstance with the updated information, and a successful response returns an instance ofCustomChannel. -
Authorization requires the
https://www.googleapis.com/auth/adsenseOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates a custom channel.
This method can be called only by a restricted set of projects, which are usually owned by AdSense for Platforms publishers. Contact your account manager if you need to use this method.
HTTP request
PATCH https://adsense.googleapis.com/v2/{customChannel.name=accounts/*/adclients/*/customchannels/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
customChannel.name |
Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel} |
Query parameters
| Parameters | |
|---|---|
updateMask |
The list of fields to update. If empty, a full update is performed. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of CustomChannel.
Response body
If successful, the response body contains an instance of CustomChannel.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adsense