Method: networks.liveStreamEventsByAssetKey.adBreaks.delete

  • The API allows for deleting an AdBreak object, specifically incomplete ad breaks that have not started serving or been seen in manifests.

  • Only ad breaks with a state of SCHEDULED or DECISIONED can be deleted.

  • The HTTP request uses the DELETE method with a specific URL format including networkCode, assetKey, and adBreak.

  • 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/admanager OAuth 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 SCHEDULED or DECISIONED.

HTTP request

DELETE https://admanager.googleapis.com/v1/{name}

Path parameters

Parameters
name

string

Required. The name of the ad break to delete.

Format: networks/{networkCode}/liveStreamEventsByAssetKey/{assetKey}/adBreaks/{adBreak}

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.