AI-generated Key Takeaways
-
Display & Video 360 API v2 has sunset.
-
This page provides documentation for creating a new inventory source group using a POST request to the
/v2/inventorySourceGroups
endpoint. -
Creating an inventory source group requires specifying either a partner ID or an advertiser ID as the owner in the query parameters.
-
The request body should contain an instance of an InventorySourceGroup object, and a successful response will return a newly created InventorySourceGroup.
-
Authorization requires the
https://www.googleapis.com/auth/display-video
OAuth scope.
Creates a new inventory source group. Returns the newly created inventory source group if successful.
HTTP request
POST https://displayvideo.googleapis.com/v2/inventorySourceGroups
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
Union parameter owner . Required. Identifies the DV360 entity that owns the inventory source group. It can be either a partner or an advertiser. owner can be only one of the following: |
|
partnerId |
The ID of the partner that owns the inventory source group. Only this partner will have write access to this group. Only advertisers to which this group is explicitly shared will have read access to this group. |
advertiserId |
The ID of the advertiser that owns the inventory source group. The parent partner will not have access to this group. |
Request body
The request body contains an instance of InventorySourceGroup
.
Response body
If successful, the response body contains a newly created instance of InventorySourceGroup
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.