Method: campaigns.patchStay organized with collectionsSave and categorize content based on your preferences.
Page Summary
This page explains how to update data for a specific YouTube campaign using thecampaigns.patchmethod.
The request requires acampaignIdpath 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 theCampaignresource, and a successful response will return the updatedCampaignresource.
To use this method, you need to authorize your request with thehttps://www.googleapis.com/auth/youtubepartnerOAuth scope.
ThecampaignIdparameter specifies the YouTube campaign ID of the campaign being retrieved.
Query parameters
Parameters
onBehalfOfContentOwner
string
TheonBehalfOfContentOwnerparameter identifies the content owner that the user is acting on behalf of. This parameter supports users whose accounts are associated with multiple content owners.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],["This document outlines the process to update a specific YouTube campaign via a `PATCH` request to `https://youtubepartner.googleapis.com/youtube/partner/v1/campaigns/{campaignId}`. It uses the `campaignId` path parameter to identify the target campaign. The optional `onBehalfOfContentOwner` query parameter specifies the content owner. The request and response bodies both use the `Campaign` resource. Authorization requires the `https://www.googleapis.com/auth/youtubepartner` OAuth scope.\n"]]