Page Summary
-
This endpoint retrieves a list of campaigns associated with a specific content owner via a
GETrequest to the provided URL. -
The
onBehalfOfContentOwnerquery parameter is used to specify the content owner for whom the campaigns are being retrieved. -
The
pageTokenquery parameter allows for the retrieval of paginated results, referencing thenextPageTokenfrom prior requests. -
The request body must be empty, and the response will be a JSON object containing a list of campaigns under the
itemsfield. -
Authorization for this operation requires the
https://www.googleapis.com/auth/youtubepartnerOAuth scope.
Retrieves a list of campaigns for an owner.
HTTP request
GET https://youtubepartner.googleapis.com/youtube/partner/v1/campaigns
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
onBehalfOfContentOwner |
The |
pageToken |
The |
Request body
The request body must be empty.
Response body
campaigns.list campaigns associated with the content owner.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"kind": string,
"items": [
{
object ( |
| Fields | |
|---|---|
kind |
The type of the API response. For this operation, the value is |
items[] |
A list of campaigns. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/youtubepartner
For more information, see the OAuth 2.0 Overview.