Method: inventorySources.create
Stay organized with collections
Save and categorize content based on your preferences.
Creates a new inventory source. Returns the newly created inventory source if successful.
HTTP request
POST https://displayvideo.googleapis.com/v1beta2/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 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["Creates a new inventory source within a specified Display & Video 360 partner or advertiser."],["The request must include an `InventorySource` object in the request body and specify either a `partnerId` or `advertiserId` as a query parameter."],["A successful response will return the newly created `InventorySource` object."],["Requires authorization with the `https://www.googleapis.com/auth/display-video` scope."]]],["A new inventory source is created via a `POST` request to `https://displayvideo.googleapis.com/v1beta2/inventorySources`. The request must include an `accessor` query parameter, specifying either a `partnerId` or `advertiserId`. The request body contains an `InventorySource` instance. Successful requests return the newly created `InventorySource` in the response body. This operation requires the `https://www.googleapis.com/auth/display-video` OAuth scope. The URL utilizes gRPC Transcoding syntax.\n"]]