Method: orders.lines.assignments.patch

Updates an existing assignment.

  • Returns the updated assignment if successful.
  • Returns error code NOT_FOUND if the assignment does not exist.
  • Returns error code INVALID_ARGUMENT if an immutable field is specified in updateMask.

HTTP request

PATCH https://dv360outofhomeseller.googleapis.com/v1beta1/{assignment.name=orders/*/lines/*/assignments/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
assignment.name

string

Output only. The resource name of the creative assignment in the format: orders/{order_id}/lines/{line_id}/assignments/{id}.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The mask to control which fields to update. An immutable field cannot be specified here.

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

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.