AI-generated Key Takeaways
- 
          This API retrieves a list of AdBreakobjects using a GET request.
- 
          The request requires a parentpath parameter specifying the network and live stream event.
- 
          Optional query parameters like pageSize,pageToken,filter,orderBy, andskipcan be used to control the response.
- 
          Ad breaks are ordered reverse chronologically by default, with scheduled and decisioned ad breaks prioritized. 
- 
          The response body contains a ListAdBreaksResponseobject and requires thehttps://www.googleapis.com/auth/admanagerOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
API to retrieve a list of AdBreak objects.
By default, when no orderBy query parameter is specified, ad breaks are ordered reverse chronologically. However, ad breaks with a 'breakState' of 'SCHEDULED' or 'DECISIONED' are prioritized and appear first.
HTTP request
GET https://admanager.googleapis.com/v1/{parent}/adBreaks
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The parent, which owns this collection of AdBreaks. Formats:  | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 Optional. The maximum number of  | 
| pageToken | 
 Optional. A page token, received from a previous  When paginating, all other parameters provided to  | 
| filter | 
 Optional. Expression to filter the response. See syntax details at https://developers.google.com/ad-manager/api/beta/filters | 
| orderBy | 
 Optional. Expression to specify sorting order. See syntax details at https://developers.google.com/ad-manager/api/beta/filters#order | 
| skip | 
 Optional. Number of individual resources to skip while paginating. | 
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListAdBreaksResponse.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/admanager
For more information, see the OAuth 2.0 Overview.