AI-generated Key Takeaways
-
This document outlines the process for updating an existing inventory source using the Display & Video 360 API.
-
The request requires specifying the inventory source ID and the fields to be updated using a field mask.
-
The request must be made within the context of a specific partner or advertiser, indicated by their respective IDs.
-
Successful execution results in a response containing the updated inventory source object.
-
Authorization is necessary using the
https://www.googleapis.com/auth/display-video
OAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates an existing inventory source. Returns the updated inventory source if successful.
HTTP request
PATCH https://displayvideo.googleapis.com/v2/inventorySources/{inventorySource.inventorySourceId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
inventorySource.inventorySourceId |
Output only. The unique ID of the inventory source. Assigned by the system. |
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: |
Union parameter Identifies which DV360 entity the request is being made within. |
|
partnerId |
The ID of the partner that the request is being made within. |
advertiserId |
The ID of the advertiser that the request is being made within. |
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/display-video
For more information, see the OAuth 2.0 Overview.