Method: adUnits.list

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

integer

The maximum number of items to return.

pageToken

string

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 (AdUnit)
    }
  ],
  "nextPageToken": string
}
Fields
adUnits[]

object (AdUnit)

The list of ad units.

nextPageToken

string

A token to retrieve the next page of results. Pass this value in the pageToken field in the subsequent call to adUnits.list method to retrieve the next page of results.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/doubleclickbidmanager

For more information, see the OAuth 2.0 Overview.