AI-generated Key Takeaways
-
This document outlines how to update an inventory source using a PATCH request to the specified URL.
-
The
inventorySource.name
path parameter identifies the specific inventory source to update, and it is an output-only string in the format "exchanges//inventorySources/". -
The
updateMask
query parameter is required and specifies which fields of the inventory source to update using a comma-separated list of field names. -
The request and response bodies both contain an instance of an InventorySource object, with the response reflecting the updated state.
-
Updating an inventory source requires authorization using the
https://www.googleapis.com/auth/doubleclickbidmanager
OAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
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 |
Output only. Relative resource name for order. Generated by server. Example: "exchanges/1234/inventorySources/5678". |
Query parameters
Parameters | |
---|---|
updateMask |
The mask to control which fields to update. Required. This is a comma-separated list of fully qualified names of fields. Example: |
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.