Method: accounts.cssProductInputs.insert
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\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)."]]