Method: networks.privateAuctions.create

  • The content details how to create a PrivateAuction object using a REST API.

  • The creation uses an HTTP POST request to a specific Google Ad Manager endpoint.

  • The request requires a parent path parameter in the format networks/{networkCode}.

  • The request body contains an instance of a PrivateAuction object.

  • A successful response body returns the newly created PrivateAuction object.

  • Authorization requires the https://www.googleapis.com/auth/admanager OAuth scope.

API to create a PrivateAuction object.

HTTP request

POST https://admanager.googleapis.com/v1/{parent}/privateAuctions

Path parameters

Parameters
parent

string

Required. The parent resource where this PrivateAuction will be created. Format: networks/{networkCode}

Request body

The request body contains an instance of PrivateAuction.

Response body

If successful, the response body contains a newly created instance of PrivateAuction.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.