Method: networks.privateAuctions.patch

  • This document provides information about the API used to update a PrivateAuction object.

  • The update is performed using an HTTP PATCH request to the specified URL, which includes the resource name of the PrivateAuction.

  • Required parameters for the request include the privateAuction.name path parameter and the updateMask query parameter.

  • The request and response bodies both contain an instance of the PrivateAuction object.

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

API to update a PrivateAuction object.

HTTP request

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

Path parameters

Parameters
privateAuction.name

string

Identifier. The resource name of the PrivateAuction. Format: networks/{networkCode}/privateAuctions/{privateAuctionId}

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 PrivateAuction.

Response body

If successful, the response body contains an 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.