Method: networks.liveStreamEventsByAssetKey.adBreaks.patch

API to update an AdBreak object. Modify an ad break when its state is SCHEDULED.

HTTP request

PATCH https://admanager.googleapis.com/v1/{adBreak.name}

Path parameters

Parameters
adBreak.name

string

Identifier. The resource name of the AdBreak. This field uses the LiveStreamEvent resource's asset key in the URI, even if the ad break was created, updated, or queried using the custom asset key.

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

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of AdBreak.

Response body

If successful, the response body contains an instance of AdBreak.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/admanager

For more information, see the OAuth 2.0 Overview.