Method: sellers.adUnits.create

  • This page details how to create a new ad unit using a POST request to the specified URL.

  • The request requires a parent path parameter, which is the seller resource name.

  • The request body should contain an instance of an AdUnit object.

  • A successful response will return the newly created AdUnit instance.

  • Authorization requires the https://www.googleapis.com/auth/doubleclickbidmanager OAuth 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

string

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.