Page Summary
-
This documentation details how to update an existing assignment using a PATCH request.
-
The update uses a
updateMaskquery parameter to specify the fields to be modified. -
Successful requests return the updated assignment, while specific error codes are returned for non-existent assignments or attempts to modify immutable fields.
-
The request body and response body both contain an instance of an
Assignmentobject. -
This operation requires the
https://www.googleapis.com/auth/doubleclickbidmanagerOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Examples
Updates an existing assignment.
- Returns the updated assignment if successful.
- Returns error code
NOT_FOUNDif the assignment does not exist. - Returns error code
INVALID_ARGUMENTif an immutable field is specified inupdateMaskand a change is requested.
HTTP request
PATCH https://dv360outofhomeseller.googleapis.com/v1/{assignment.name=sellers/*/orders/*/lines/*/assignments/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
assignment.name |
The resource name of the creative assignment in the format: |
Query parameters
| Parameters | |
|---|---|
updateMask |
Required. The mask to control which fields to update. This is a comma-separated list of fully qualified names of fields. Example: |
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.