Method: networks.privateAuctionDeals.batchCreate

API to batch create PrivateAuctionDeal objects.

HTTP request

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

Path parameters

Parameters
parent

string

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

Request body

The request body contains data with the following structure:

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

object (CreatePrivateAuctionDealRequest)

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

Response body

Response object for privateAuctionDeals.batchCreate method.

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

JSON representation
{
  "privateAuctionDeals": [
    {
      object (PrivateAuctionDeal)
    }
  ]
}
Fields
privateAuctionDeals[]

object (PrivateAuctionDeal)

The PrivateAuctionDeal objects created.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

CreatePrivateAuctionDealRequest

Request object for privateAuctionDeals.create method.

JSON representation
{
  "parent": string,
  "privateAuctionDeal": {
    object (PrivateAuctionDeal)
  }
}
Fields
parent

string

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

privateAuctionDeal

object (PrivateAuctionDeal)

Required. The PrivateAuctionDeal to create.