ListAdBreaksResponse

  • The ListAdBreaksResponse object contains a list of AdBreak objects, a nextPageToken for pagination, and the totalSize of matching AdBreak objects.

  • The adBreaks field is an array of AdBreak objects relevant to the specified network.

  • The nextPageToken is a string used to fetch the subsequent page of results and expires after five minutes if present.

  • The totalSize is an integer representing the total count of AdBreak objects after filtering, and it is included in the response only if specified in a response field mask.

Response object for ListAdBreaksRequest containing matching AdBreak objects.

JSON representation
{
  "adBreaks": [
    {
      object (AdBreak)
    }
  ],
  "nextPageToken": string,
  "totalSize": integer
}
Fields
adBreaks[]

object (AdBreak)

The AdBreak objects from the specified network.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages. This field expires after five minutes.

totalSize

integer

Total number of AdBreak objects. If a filter was included in the request, this reflects the total number after the filtering is applied.

totalSize won't be calculated in the response unless it has been included in a response field mask. The response field mask can be provided to the method by using the URL parameter $fields or fields, or by using the HTTP/gRPC header X-Goog-FieldMask.

For more information, see https://developers.google.com/ad-manager/api/beta/field-masks