Method: sellers.orders.lines.assignments.patch
Stay organized with collections
Save and categorize content based on your preferences.
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
and 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 |
string
The resource name of the creative assignment in the format: sellers/{seller}/orders/{order}/lines/{line}/assignments/{assignment} .
|
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 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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["TimeOfDay represents a time of day without specific date or timezone, potentially allowing for leap seconds."],["It is represented in JSON format with fields for hours, minutes, seconds, and nanoseconds."],["Hours are in 24-hour format (0-23, potentially allowing \"24:00:00\"), while minutes and seconds range from 0-59 (seconds might allow 60 for leap-seconds)."],["Nanoseconds provide fractional seconds precision, ranging from 0 to 999,999,999."],["Related types include google.type.Date and google.protobuf.Timestamp for handling dates and timestamps respectively."]]],["This describes updating an existing assignment via a `PATCH` request to a specific URL. The request utilizes path parameters like `assignment.name` to identify the target. It requires a `updateMask` query parameter to specify editable fields. The request body carries the updated `Assignment` data. Successful updates return the modified `Assignment`; otherwise, errors such as `NOT_FOUND` or `INVALID_ARGUMENT` may be returned. `Authorization Scopes` requires specific credentials. This uses `gRPC Transcoding` syntax.\n"]]