Page Summary
-
This document details how to list ad units using a GET request to the specified API endpoint.
-
The request utilizes query parameters for pagination, specifically
pageSizeandpageToken. -
The request body must be empty for this specific operation.
-
The response body contains a list of
adUnitsobjects and anextPageTokenfor retrieving subsequent results. -
The method requires authorization using the
https://www.googleapis.com/auth/doubleclickbidmanagerOAuth scope.
Lists ad units.
- For example GET /v1beta1/adUnits
HTTP request
GET https://dv360outofhomeseller.googleapis.com/v1beta1/adUnits
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
pageSize |
The maximum number of items to return. |
pageToken |
The nextPageToken value returned from a previous List request, if any. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response message for AdUnitService.ListAdUnits.
| JSON representation |
|---|
{
"adUnits": [
{
object ( |
| Fields | |
|---|---|
adUnits[] |
The list of ad units. |
nextPageToken |
A token to retrieve the next page of results. Pass this value in the |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.