Method: sellers.products.create
Stay organized with collections
Save and categorize content based on your preferences.
Creates a new product.
- Returns the newly created product if successful.
HTTP request
POST https://dv360outofhomeseller.googleapis.com/v1/{parent=sellers/*}/products
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The seller resource name. Format: sellers/{seller}
|
Request body
The request body contains an instance of Product
.
Response body
If successful, the response body contains a newly created instance of Product
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
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."],[[["\u003cp\u003eCreates a new product for a specified seller using an HTTP POST request.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003ehttps://www.googleapis.com/auth/doubleclickbidmanager\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a \u003ccode\u003eProduct\u003c/code\u003e object and a successful response will return the newly created \u003ccode\u003eProduct\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes gRPC Transcoding syntax for the URL structure, including a required \u003ccode\u003eparent\u003c/code\u003e path parameter representing the seller.\u003c/p\u003e\n"]]],[],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [Examples](#examples)\n\nCreates a new product.\n\n- Returns the newly created product if successful.\n\nHTTP request\n\n`POST https://dv360outofhomeseller.googleapis.com/v1/{parent=sellers/*}/products`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|----------|-----------------------------------------------------------------------|\n| `parent` | `string` Required. The seller resource name. Format: sellers/{seller} |\n\nRequest body\n\nThe request body contains an instance of [Product](/display-video/out-of-home-seller/reference/rest/v1/sellers.products#Product).\n\nResponse body\n\nIf successful, the response body contains a newly created instance of [Product](/display-video/out-of-home-seller/reference/rest/v1/sellers.products#Product).\n\nAuthorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/doubleclickbidmanager`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]