Page Summary
-
This page details how to create a new ad unit using a POST request to the specified URL.
-
The request requires a
parentpath parameter, which is the seller resource name. -
The request body should contain an instance of an
AdUnitobject. -
A successful response will return the newly created
AdUnitinstance. -
Authorization requires the
https://www.googleapis.com/auth/doubleclickbidmanagerOAuth scope.
Creates a new ad unit.
- Returns the newly created ad unit if successful.
HTTP request
POST https://dv360outofhomeseller.googleapis.com/v1/{parent=sellers/*}/adUnits
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The seller resource name. Format: sellers/{seller} |
Request body
The request body contains an instance of AdUnit.
Response body
If successful, the response body contains a newly created 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.