Method: exchanges.inventorySources.patch
Stay organized with collections
Save and categorize content based on your preferences.
Updates an inventory source.
HTTP request
PATCH https://dv360seller.googleapis.com/v1beta1/{inventorySource.name=exchanges/*/inventorySources/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
inventorySource.name |
string
Output only. Relative resource name for order. Generated by server. Example: "exchanges/1234/inventorySources/5678".
|
Query parameters
Parameters |
updateMask |
string (FieldMask format)
The mask to control which fields to update. Required. 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 InventorySource
.
Response body
If successful, the response body contains an instance of InventorySource
.
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 2025-05-21 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 2025-05-21 UTC."],[[["\u003cp\u003eThis operation updates an existing inventory source using an HTTP PATCH request to a specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the inventory source name in the URL path and fields to update using the \u003ccode\u003eupdateMask\u003c/code\u003e query parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain the updated \u003ccode\u003eInventorySource\u003c/code\u003e object, and a successful response will return the updated \u003ccode\u003eInventorySource\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization using the \u003ccode\u003ehttps://www.googleapis.com/auth/doubleclickbidmanager\u003c/code\u003e OAuth scope is necessary to execute this operation.\u003c/p\u003e\n"]]],["This document outlines the process for updating an inventory source via a PATCH request to the specified URL: `https://dv360seller.googleapis.com/v1beta1/{inventorySource.name=exchanges/*/inventorySources/*}`. It uses gRPC Transcoding syntax. The request requires a `inventorySource.name` path parameter. The `updateMask` query parameter controls which fields are modified. The request and response bodies both utilize the `InventorySource` instance. Authorization requires the `https://www.googleapis.com/auth/doubleclickbidmanager` OAuth scope.\n"],null,["# Method: exchanges.inventorySources.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nUpdates an inventory source.\n\n### HTTP request\n\n`PATCH https://dv360seller.googleapis.com/v1beta1/{inventorySource.name=exchanges/*/inventorySources/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------------------|-------------------------------------------------------------------------------------------------------------------------------|\n| `inventorySource.name` | `string` Output only. Relative resource name for order. Generated by server. Example: \"exchanges/1234/inventorySources/5678\". |\n\n### Query parameters\n\n| Parameters ||\n|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` The mask to control which fields to update. Required. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body contains an instance of [InventorySource](/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#InventorySource).\n\n### Response body\n\nIf successful, the response body contains an instance of [InventorySource](/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#InventorySource).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/doubleclickbidmanager`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]