Method: adUnits.list
Stay organized with collections
Save and categorize content based on your preferences.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["Lists existing ad units with details like pagination for navigating through results."],["Allows specifying the maximum number of items returned using the `pageSize` parameter."],["Employs the `nextPageToken` for retrieving subsequent pages of results in the response."],["Requires authorization with the `https://www.googleapis.com/auth/doubleclickbidmanager` scope."],["Provides comprehensive ad unit information within the response, including a list of ad units and a token for pagination."]]],[]]