AI-generated Key Takeaways
-
Display & Video 360 API v1 is sunset and this documentation details the creation of a new inventory source using the v1 API.
-
The API endpoint to create an inventory source is
POST https://displayvideo.googleapis.com/v1/inventorySources
and utilizes gRPC Transcoding. -
The request must include either a
partnerId
oradvertiserId
to specify the context of the inventory source. -
Successful requests will receive a response containing the newly created
InventorySource
object. -
Authorization requires the
https://www.googleapis.com/auth/display-video
OAuth scope.
Creates a new inventory source. Returns the newly created inventory source if successful.
HTTP request
POST https://displayvideo.googleapis.com/v1/inventorySources
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
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 a newly created 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.