API to retrieve a list of AdUnitSize objects.
HTTP request
GET https://admanager.googleapis.com/v1/{parent}/adUnitSizes
Path parameters
Parameters | |
---|---|
parent |
Required. The parent, which owns this collection of AdUnitSizes. Format: |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The maximum number of AdUnitSizes to return. The service may return fewer than this value. If unspecified, at most 50 ad unit sizes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
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 ListAdUnitSizesRequest containing matching AdUnitSizes.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"adUnitSizes": [
{
object ( |
Fields | |
---|---|
adUnitSizes[] |
The AdUnitSizes from the specified network. |
nextPageToken |
A token, which can be sent as |
totalSize |
Total number of AdUnitSizes. If a filter was included in the request, this reflects the total number after the filtering is applied.
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.