Page Summary
-
This page explains how to update data for a specific YouTube campaign using the
campaigns.patchmethod. -
The request requires a
campaignIdpath parameter to identify the campaign and an optionalonBehalfOfContentOwnerquery parameter for multi-content owner accounts. -
The request body should contain the updated campaign data as defined in the
Campaignresource, and a successful response will return the updatedCampaignresource. -
To use this method, you need to authorize your request with the
https://www.googleapis.com/auth/youtubepartnerOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
campaigns.patch the data for a specific campaign.
HTTP request
PATCH https://youtubepartner.googleapis.com/youtube/partner/v1/campaigns/{campaignId}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
campaignId |
The |
Query parameters
| Parameters | |
|---|---|
onBehalfOfContentOwner |
The |
Request body
The request body contains an instance of Campaign.
Response body
If successful, the response body contains an instance of Campaign.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/youtubepartner
For more information, see the OAuth 2.0 Overview.