Method: networks.privateAuctions.batchCreate

API to batch create PrivateAuction objects.

HTTP request

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

Path parameters

Parameters
parent

string

Required. The parent resource where PrivateAuctions will be created. Format: networks/{networkCode} The parent field in the CreatePrivateAuctionRequest must match this field.

Request body

The request body contains data with the following structure:

JSON representation
{
  "requests": [
    {
      object (CreatePrivateAuctionRequest)
    }
  ]
}
Fields
requests[]

object (CreatePrivateAuctionRequest)

Required. The PrivateAuction objects to create. A maximum of 100 objects can be created in a batch.

Response body

Response object for privateAuctions.batchCreate method.

If successful, the response body contains data with the following structure:

JSON representation
{
  "privateAuctions": [
    {
      object (PrivateAuction)
    }
  ]
}
Fields
privateAuctions[]

object (PrivateAuction)

The PrivateAuction objects created.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

CreatePrivateAuctionRequest

Request object for privateAuctions.create method.

JSON representation
{
  "parent": string,
  "privateAuction": {
    object (PrivateAuction)
  }
}
Fields
parent

string

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

privateAuction

object (PrivateAuction)

Required. The PrivateAuction to create.