- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates the advertising settings for the specified video.
HTTP request
PUT https://youtubepartner.googleapis.com/youtube/partner/v1/videoAdvertisingOptions/{videoId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
videoId |
The |
Query parameters
Parameters | |
---|---|
onBehalfOfContentOwner |
The |
Request body
The request body contains an instance of VideoAdvertisingOption
.
Response body
If successful, the response body contains an instance of VideoAdvertisingOption
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/youtubepartner
For more information, see the OAuth 2.0 Overview.