Method: advertisers.insertionOrders.patch

  • This page details how to update an existing insertion order using an HTTP PATCH request.

  • The URL for the request uses gRPC Transcoding syntax and includes path parameters for the advertiser and insertion order IDs.

  • A required updateMask query parameter specifies which fields of the insertion order to update.

  • Both the request and successful response bodies contain an instance of the InsertionOrder object.

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

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

HTTP request

PATCH https://displayvideo.googleapis.com/v4/advertisers/{insertionOrder.advertiserId}/insertionOrders/{insertionOrder.insertionOrderId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
insertionOrder.advertiserId

string (int64 format)

Output only. The unique ID of the advertiser the insertion order belongs to.

insertionOrder.insertionOrderId

string (int64 format)

Output only. The unique ID of the insertion order. Assigned by the system.

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

Request body

The request body contains an instance of InsertionOrder.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.