AI-generated Key Takeaways
-
The API allows for deleting an
AdBreakobject, specifically incomplete ad breaks that have not started serving or been seen in manifests. -
Only ad breaks with a state of
SCHEDULEDorDECISIONEDcan be deleted. -
The HTTP request uses the
DELETEmethod with a specific URL format includingnetworkCode,assetKey, andadBreak. -
The request body must be empty, and a successful response body will also be an empty JSON object.
-
The API call requires the
https://www.googleapis.com/auth/admanagerOAuth scope for authorization.
API to delete an AdBreak object.
Deletes and cancels an incomplete ad break, mitigating the need to wait for the current break to serve before recreating an ad break. You can delete an ad break that has not started serving or seen in manifests, indicated by its state being or SCHEDULED.DECISIONED
HTTP request
DELETE https://admanager.googleapis.com/v1/{name}
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the ad break to delete. Format: |
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/admanager
For more information, see the OAuth 2.0 Overview.