Method: networks.liveStreamEventsByAssetKey.adBreaks.delete

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.