Method: accounts.cssProductInputs.insert
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 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)."]]