Method: networks.privateAuctionDeals.patch

  • This API updates a PrivateAuctionDeal object using a PATCH request to the specified resource name.

  • The API requires a privateAuctionDeal.name path parameter to identify the specific deal and an updateMask query parameter listing the fields to update.

  • The request body should contain an instance of the PrivateAuctionDeal object with the updated fields.

  • A successful response will return the updated PrivateAuctionDeal object in the response body.

  • The API requires the https://www.googleapis.com/auth/admanager OAuth scope for authorization.

API to update a PrivateAuctionDeal object.

HTTP request

PATCH https://admanager.googleapis.com/v1/{privateAuctionDeal.name}

Path parameters

Parameters
privateAuctionDeal.name

string

Identifier. The resource name of the PrivateAuctionDeal. Format: networks/{networkCode}/privateAuctionDeals/{privateAuctionDealId}

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of PrivateAuctionDeal.

Response body

If successful, the response body contains an instance of PrivateAuctionDeal.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.