Method: guaranteedOrders.patch

  • Display & Video 360 API v2 is sunset and this page documents how to update an existing guaranteed order using the API.

  • The API request uses the PATCH method and requires specifying the guaranteed order ID in the URL path.

  • To make the request, you will need to provide an update mask, and identify the request using either a partner ID or advertiser ID.

  • The request body should contain the updated guaranteed order details, and a successful response will return the updated guaranteed order object.

  • Authorization requires the https://www.googleapis.com/auth/display-video OAuth scope.

Updates an existing guaranteed order. Returns the updated guaranteed order if successful.

HTTP request

PATCH https://displayvideo.googleapis.com/v2/guaranteedOrders/{guaranteedOrder.guaranteedOrderId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
guaranteedOrder.guaranteedOrderId

string

Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format {exchange}-{legacyGuaranteedOrderId}.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The mask to control which fields to update.

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

Union parameter accessor. Required.

Identifies which DV360 entity the request is being made within. accessor can be only one of the following:

partnerId

string (int64 format)

The ID of the partner that the request is being made within.

advertiserId

string (int64 format)

The ID of the advertiser that the request is being made within.

Request body

The request body contains an instance of GuaranteedOrder.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/display-video

For more information, see the OAuth 2.0 Overview.