Page Summary
-
This webpage documents the process for deleting a YouTube campaign via an HTTP DELETE request to the
https://youtubepartner.googleapis.com/youtube/partner/v1/campaigns/{campaignId}endpoint. -
The
campaignIdpath parameter is a required string representing the ID of the YouTube campaign to be deleted. -
The
onBehalfOfContentOwnerquery parameter, also a string, is used to specify the content owner on whose behalf the user is acting. -
The request body must be empty for this API call, and the response body will be an empty JSON object upon successful deletion.
-
Deleting a campaign requires the OAuth scope
https://www.googleapis.com/auth/youtubepartner.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Deletes a specified campaign for an owner.
HTTP request
DELETE 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 must be empty.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/youtubepartner
For more information, see the OAuth 2.0 Overview .

