AI-generated Key Takeaways
- 
          
This document details how to create a new inventory source using the Display & Video 360 API v2.
 - 
          
The request is a POST to
https://displayvideo.googleapis.com/v2/inventorySourcesand uses gRPC Transcoding syntax. - 
          
The request requires a required
accessorparameter, which is either apartnerIdor anadvertiserId, identifying the DV360 entity. - 
          
The request body should contain an instance of
InventorySource, and the successful response body will also contain a newInventorySourceinstance. - 
          
Authorization requires the
https://www.googleapis.com/auth/display-videoOAuth scope. 
Creates a new inventory source. Returns the newly created inventory source if successful.
HTTP request
POST https://displayvideo.googleapis.com/v2/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.