Page Summary
-
This document outlines how to retrieve an individual ad unit using a GET request.
-
The request requires specifying the ad unit's resource name using path parameters.
-
The request body should be empty, and a successful response returns an
AdUnitinstance. -
Authorization is required using the
doubleclickbidmanagerOAuth scope.
Retrieves an individual ad unit.
- For example i.e. GET /v1/sellers/seller111/adUnits/123
- Returns the requested availability order if successful.
- Returns error code
PERMISSION_DENIEDif the user does not have access to the seller or seller id does not exist. - Returns error code
NOT_FOUNDif the ad unit does not exist.
HTTP request
GET https://dv360outofhomeseller.googleapis.com/v1/{name=sellers/*/adUnits/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The resource name of the ad unit to retrieve. Format: sellers/{seller}/adUnits/{adUnit} |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of AdUnit.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.