With Content API for Shopping, you can use 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 | Get | Retrieves a single CSS domain by ID. |
This service is deprecated. Use the Accounts service to manage
CSS domains.
|
|
List | Lists CSS domains affiliated with a CSS group. | |||
UpdateLabels | Updates labels that are assigned to a CSS domain by its CSS group. | |||
Accounts | Get | Retrieves a Merchant Center account. (CSS view) | 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 | Lists the sub-accounts in your account. (CSS view) | 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 | Updates labels assigned to CSS or Merchant Center accounts by a CSS parent account. | |
accounts.labels | Create | Creates a label, not assigned to any account. | 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 | Deletes a label, removing it from all accounts to which it was assigned. | |
List | Lists the labels assigned to an account. | List | Lists the labels assigned to an account. | |
Patch | Updates a label. | Patch | Updates a label. |
Code samples
For the labels and list API, see
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.
See also: