Page Summary
-
The API retrieves a list of
Siteobjects using a GET HTTP request. -
The request requires a parent path parameter specifying the network code.
-
Optional query parameters allow for filtering, ordering, pagination, and specifying page size.
-
The request body must be empty, and the response body contains the list of sites, a potential next page token, and the total size.
-
The API requires the
https://www.googleapis.com/auth/admanagerauthorization scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
API to retrieve a list of Site
objects.
HTTP request
GET https://admanager.googleapis.com/v1/{parent}/sites
Path parameters
| Parameters | |
|---|---|
parent
|
Required. The parent, which owns this collection of Sites. Format: |
Query parameters
pageSize
integer
Optional. The maximum number of Sites
to return. The service may return fewer than this value. If unspecified, at most 50 Sites
will be returned. The maximum value is 1000; values greater than 1000 will be coerced to 1000.
pageToken
string
Optional. A page token, received from a previous sites.list
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to sites.list
must match the call that provided the page token.
filter
string
Optional. Expression to filter the response. See syntax details at https://developers.google.com/ad-manager/api/beta/filters
Filterable fields:
-
approvalStatus -
approvalStatusUpdateTime -
childNetworkCode -
name -
url
orderBy
string
Optional. Expression to specify sorting order. See syntax details at https://developers.google.com/ad-manager/api/beta/filters#order
skip
integer
Optional. Number of individual resources to skip while paginating.
Request body
The request body must be empty.
Response body
Response object for ListSitesRequest
containing matching Site
objects.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"sites"
:
[
{
object (
|
| Fields | |
|---|---|
sites[]
|
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 one of the following OAuth scopes:
-
https://www.googleapis.com/auth/admanager -
https://www.googleapis.com/auth/admanager.readonly
For more information, see the OAuth 2.0 Overview .

