With Content API for Shopping, you can use [CSS label
management](https://developers.google.com/shopping-content/guides/css-label-management) to place Shopping ads
on Google on behalf of merchants in countries where the CSS program is
available.

Content API for Shopping allows CSS domains and CSS groups to organize their
associated accounts using labels. CSS domains can list, label, and filter
Merchant Center accounts associated with a domain. CSS groups can label and list
the CSS domains affiliated with a group.

Merchant API updates and streamlines the management of Comparison Shopping
Services (CSS). Functionality from Content API for Shopping migrates into the
`Accounts` and `AccountLabels` services.

The most significant change is the deprecation of the `Csses` service. This
functionality becomes part of the more powerful `Accounts` service, creating a
single place to manage both CSS and Merchant Center accounts.

## Service and method mapping

These services continue in Merchant API, with a few updates. Here's a mapping.

|---|---|---|---|---|
| **Service** | **Content API for Shopping** || **Merchant API** ||
|   | **Method** | **Description** | **Method** | **Description** |
| [CSS](https://developers.google.com/shopping-content/reference/rest/v2.1/csses) | Get | Retrieves a single CSS domain by ID. | This service is deprecated. Use the `Accounts` service to manage CSS domains. ||
|   | [List](https://developers.google.com/shopping-content/reference/rest/v2.1/csses/list) | Lists CSS domains affiliated with a CSS group. | This service is deprecated. Use the `Accounts` service to manage CSS domains. ||
|   | UpdateLabels | Updates labels that are assigned to a CSS domain by its CSS group. | This service is deprecated. Use the `Accounts` service to manage CSS domains. ||
| [Accounts](https://developers.google.com/shopping-content/reference/rest/v2.1/accounts) | [Get](https://developers.google.com/shopping-content/reference/rest/v2.1/accounts/get) | Retrieves a Merchant Center account. (CSS view) | [Get](https://developers.google.com/comparison-shopping-services/api/reference/rest/v1/accounts/get) | Use `Accounts` to manage information about CSS and Merchant Center accounts. A `get` method retrieves a single CSS or Merchant Center account by ID. |
|   | [List](https://developers.google.com/shopping-content/reference/rest/v2.1/accounts/list) | Lists the sub-accounts in your account. (CSS view) | [ListChildAccounts](https://developers.google.com/comparison-shopping-services/api/reference/rest/v1/accounts/listChildAccounts) | Lists the CSS or Merchant Center accounts under the CSS parent, and, optionally, filters by label ID and account name. |
|   | UpdateLabels | Updates labels that are assigned to the account by the CSS user. | [UpdateLabels](https://developers.google.com/comparison-shopping-services/api/reference/rest/v1/accounts/updateLabels) | Updates labels assigned to CSS or Merchant Center accounts by a CSS parent account. |
| [accounts.labels](https://developers.google.com/shopping-content/reference/rest/v2.1/accounts.labels) | Create | Creates a label, not assigned to any account. | [Create](https://developers.google.com/comparison-shopping-services/api/reference/rest/v1/accounts.labels/create) | Use `AccountLabels` to manage CSS and Merchant Center account labels. Creates a label that is not assigned to any account. |
|   | Delete | Deletes a label and removes it from all accounts to which it was assigned. | [Delete](https://developers.google.com/comparison-shopping-services/api/reference/rest/v1/accounts.labels/delete) | Deletes a label, removing it from all accounts to which it was assigned. |
|   | List | Lists the labels assigned to an account. | [List](https://developers.google.com/comparison-shopping-services/api/reference/rest/v1/accounts.labels/list) | Lists the labels assigned to an account. |
|   | Patch | Updates a label. | [Patch](https://developers.google.com/comparison-shopping-services/api/reference/rest/v1/accounts.labels/patch) | Updates a label. |

## Code samples

For the labels and list API, see

- [List CSS accounts](https://developers.google.com/comparison-shopping-services/api/code-samples/accounts/list-css-accounts)
- [List account labels](https://developers.google.com/comparison-shopping-services/api/code-samples/account-labels/list-account-labels)

## Reference

You can find the CSS service logic from the Content API for Shopping in the CSS
API. For more information, see [CSS API
overview](https://developers.google.com/comparison-shopping-services/api/overview).

See also:

- [gRPC](https://developers.google.com/comparison-shopping-services/api/reference/rpc)
- [REST](https://developers.google.com/comparison-shopping-services/api/reference/rest)