AI-generated Key Takeaways
-
The API allows retrieval of a list of
Company
objects from a specified network using an HTTP GET request. -
The request requires a
parent
path parameter identifying the network and supports optional query parameters for pagination, filtering, and sorting. -
The request body must be empty, and the response body contains a list of
Company
objects, a token for the next page, and the total size. -
To use this API, the requesting application must have the
https://www.googleapis.com/auth/admanager
authorization scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
API to retrieve a list of Company
objects.
HTTP request
GET https://admanager.googleapis.com/v1/{parent}/companies
Path parameters
Parameters | |
---|---|
parent |
Required. The parent, which owns this collection of Companies. Format: |
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
Response object for ListCompaniesRequest
containing matching Company
objects.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"companies": [
{
object ( |
Fields | |
---|---|
companies[] |
The |
nextPageToken |
A token, which can be sent as |
totalSize |
Total number of
For more information, see https://developers.google.com/ad-manager/api/beta/field-masks |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admanager
For more information, see the OAuth 2.0 Overview.