Method: inventorySources.create
Erstellt eine neue Inventarquelle. Gibt die neu erstellte Inventarquelle zurück, wenn der Vorgang erfolgreich war.
HTTP-Anfrage
POST https://displayvideo.googleapis.com/v3/inventorySources
Die URL verwendet die Syntax der gRPC-Transcodierung.
Abfrageparameter
Parameter |
Union-Parameter accessor . Erforderlich. Gibt an, für welche DV360-Entität die Anfrage gestellt wird. Für accessor ist nur einer der folgenden Werte zulässig: |
partnerId |
string (int64 format)
Die ID des Partners, in dessen Kontext die Anfrage gestellt wird.
|
advertiserId |
string (int64 format)
Die ID des Werbetreibenden, in dessen Kontext die Anfrage gestellt wird.
|
Anfragetext
Der Anfragetext enthält eine Instanz von InventorySource
.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von InventorySource
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/display-video
Weitere Informationen finden Sie unter OAuth 2.0 Overview.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-02-25 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]