CSS API
Stay organized with collections
Save and categorize content based on your preferences.
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 2025-05-13 UTC.
[null,null,["Last updated 2025-05-13 UTC."],[[["\u003cp\u003eManage your Comparison Shopping Service (CSS) account data programmatically using the CSS API.\u003c/p\u003e\n"],["\u003cp\u003eAccess and manipulate account details, CSS product inputs, processed CSS products, and labels via dedicated REST resources.\u003c/p\u003e\n"],["\u003cp\u003eUtilize methods like \u003ccode\u003eget\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e, \u003ccode\u003einsert\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, and \u003ccode\u003eupdate\u003c/code\u003e to interact with your CSS data.\u003c/p\u003e\n"],["\u003cp\u003eLeverage the service endpoint \u003ccode\u003ehttps://css.googleapis.com\u003c/code\u003e for making API requests.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the provided discovery document for a machine-readable specification of the API.\u003c/p\u003e\n"]]],[],null,["# CSS API\n\nProgrammatically manage your Comparison Shopping Service (CSS) account data at scale.\n\n- [REST Resource: v1.accounts](#v1.accounts)\n- [REST Resource: v1.accounts.cssProductInputs](#v1.accounts.cssProductInputs)\n- [REST Resource: v1.accounts.cssProducts](#v1.accounts.cssProducts)\n- [REST Resource: v1.accounts.labels](#v1.accounts.labels)\n- [REST Resource: v1.accounts.quotas](#v1.accounts.quotas)\n\nService: css.googleapis.com\n---------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://css.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://css.googleapis.com`\n\nREST Resource: [v1.accounts](/comparison-shopping-services/api/reference/rest/v1/accounts)\n------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [get](/comparison-shopping-services/api/reference/rest/v1/accounts/get) | `GET /v1/{name=accounts/*}` Retrieves a single CSS/MC account by ID. |\n| [listChildAccounts](/comparison-shopping-services/api/reference/rest/v1/accounts/listChildAccounts) | `GET /v1/{parent=accounts/*}:listChildAccounts` Lists all the accounts under the specified CSS account ID, and optionally filters by label ID and account name. |\n| [updateLabels](/comparison-shopping-services/api/reference/rest/v1/accounts/updateLabels) | `POST /v1/{name=accounts/*}:updateLabels` Updates labels assigned to CSS/MC accounts by a CSS domain. |\n\nREST Resource: [v1.accounts.cssProductInputs](/comparison-shopping-services/api/reference/rest/v1/accounts.cssProductInputs)\n----------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| [delete](/comparison-shopping-services/api/reference/rest/v1/accounts.cssProductInputs/delete) | `DELETE /v1/{name=accounts/*/cssProductInputs/*}` Deletes a CSS Product input from your CSS Center account. |\n| [insert](/comparison-shopping-services/api/reference/rest/v1/accounts.cssProductInputs/insert) | `POST /v1/{parent=accounts/*}/cssProductInputs:insert` Uploads a CssProductInput to your CSS Center account. |\n| [patch](/comparison-shopping-services/api/reference/rest/v1/accounts.cssProductInputs/patch) | `PATCH /v1/{cssProductInput.name=accounts/*/cssProductInputs/*}` Updates the existing Css Product input in your CSS Center account. |\n\nREST Resource: [v1.accounts.cssProducts](/comparison-shopping-services/api/reference/rest/v1/accounts.cssProducts)\n------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|\n| [get](/comparison-shopping-services/api/reference/rest/v1/accounts.cssProducts/get) | `GET /v1/{name=accounts/*/cssProducts/*}` Retrieves the processed CSS Product from your CSS Center account. |\n| [list](/comparison-shopping-services/api/reference/rest/v1/accounts.cssProducts/list) | `GET /v1/{parent=accounts/*}/cssProducts` Lists the processed CSS Products in your CSS Center account. |\n\nREST Resource: [v1.accounts.labels](/comparison-shopping-services/api/reference/rest/v1/accounts.labels)\n--------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|\n| [create](/comparison-shopping-services/api/reference/rest/v1/accounts.labels/create) | `POST /v1/{parent=accounts/*}/labels` Creates a new label, not assigned to any account. |\n| [delete](/comparison-shopping-services/api/reference/rest/v1/accounts.labels/delete) | `DELETE /v1/{name=accounts/*/labels/*}` Deletes a label and removes it from all accounts to which it was assigned. |\n| [list](/comparison-shopping-services/api/reference/rest/v1/accounts.labels/list) | `GET /v1/{parent=accounts/*}/labels` Lists the labels owned by an account. |\n| [patch](/comparison-shopping-services/api/reference/rest/v1/accounts.labels/patch) | `PATCH /v1/{accountLabel.name=accounts/*/labels/*}` Updates a label. |\n\nREST Resource: [v1.accounts.quotas](/comparison-shopping-services/api/reference/rest/v1/accounts.quotas)\n--------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| [list](/comparison-shopping-services/api/reference/rest/v1/accounts.quotas/list) | `GET /v1/{parent=accounts/*}/quotas` Lists the daily call quota and usage per group for your CSS Center account. |"]]