Method: accounts.cssProductInputs.insert
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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)."]]