Method: accounts.cssProductInputs.insert
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eUploads product data to your CSS Center account, replacing existing entries with matching criteria.\u003c/p\u003e\n"],["\u003cp\u003eInserted, updated, or deleted CSS Product input may experience a processing delay before retrieval.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires a \u003ccode\u003eCssProductInput\u003c/code\u003e object containing product details and attributes.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful responses include a JSON representation of the input data with details like name, language, and attributes.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/content\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.cssProductInputs.insert\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUploads a CssProductInput to your CSS Center account. If an input with the same contentLanguage, identity, feedLabel and feedId already exists, this method replaces that entry.\n\nAfter inserting, updating, or deleting a CSS Product input, it may take several minutes before the processed CSS Product can be retrieved.\n\n### HTTP request\n\n`POST https://css.googleapis.com/v1/{parent=accounts/*}/cssProductInputs:insert`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The account where this CSS Product will be inserted. Format: accounts/{account} |\n\n### Query parameters\n\n| Parameters ||\n|---------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `feedId` **(deprecated)** | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Optional. DEPRECATED. Feed id is not required for CSS Products. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet. |\n\n### Request body\n\nThe request body contains an instance of [CssProductInput](/comparison-shopping-services/api/reference/rest/v1/CssProductInput).\n\n### Response body\n\nIf successful, the response body contains an instance of [CssProductInput](/comparison-shopping-services/api/reference/rest/v1/CssProductInput).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/content`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]