AI-generated Key Takeaways
- 
          This API retrieves a list of AdBreakobjects.
- 
          By default, ad breaks are ordered reverse chronologically, but scheduled or decisioned ad breaks appear first. 
- 
          The API uses a GET request with specific path and optional query parameters. 
- 
          The request body must be empty, and a successful response returns a ListAdBreaksResponse.
- 
          Authorization requires the https://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.