Method: inventorySources.create
Creates a new inventory source. Returns the newly created inventory source if successful.
HTTP request
POST https://displayvideo.googleapis.com/v3/inventorySources
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters |
Union parameter accessor . Required. Identifies which DV360 entity the request is being made within. accessor can be only one of the following: |
partnerId |
string (int64 format)
The ID of the partner that the request is being made within.
|
advertiserId |
string (int64 format)
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-25 UTC.
[null,null,["Last updated 2025-02-25 UTC."],[[["Creates a new inventory source within a specified Display & Video 360 partner or advertiser."],["Sends an HTTP POST request to the provided URL with the new inventory source details in the request body."],["Requires authorization with the `https://www.googleapis.com/auth/display-video` scope."],["Returns the newly created inventory source object in the response body upon successful completion."]]],["This documentation details how to create a new inventory source via a POST request to `https://displayvideo.googleapis.com/v3/inventorySources`. The request must include a `accessor` parameter, specifying either a `partnerId` or `advertiserId`. The request body contains an `InventorySource` instance. Successful requests return the created `InventorySource` in the response body. The request uses gRPC Transcoding and requires the `https://www.googleapis.com/auth/display-video` OAuth scope. There is also an option to test it with \"Try it!\" functionality.\n"]]