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.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance ofCampaign.
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 describes retrieving a YouTube campaign using a `GET` request to a specific URL. The request requires a `campaignId` path parameter to identify the campaign and an optional `onBehalfOfContentOwner` query parameter to specify the content owner. The request body must be empty. A successful response returns a `Campaign` object. It requires `https://www.googleapis.com/auth/youtubepartner` authorization scope. Additionally, it provides instructions and an active link for testing.\n"]]