配额和限制
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
CSS API 对某些功能强加了配额和硬性限制。下表中显示的配额和限制仅用于帮助您开发使用 CSS API 的应用。Google 有权随时取消、减少或更改所有配额和限制,恕不另行通知。
查看配额使用情况
您可以使用 accounts.quotas.list
方法查看当前的配额用量。借助此方法,您可以检索账号的当前配额用量。
如需了解如何执行此配额检索,请参阅此示例。
配额政策
如果商品没有任何变化,请勿更新。如果您需要发送更新以防止商品过期,每周发送一次即可。
方法调用配额
以下限制是 CSS Center 账号的默认方法调用配额。
- 超过每分钟配额时,用户会收到
quota/request_rate_too_high
错误。
- 超过每日配额时,用户会收到
quota/daily_limit_exceeded
错误。
以下是一些注意事项:
- 此处所指的配额是针对方法的。例如,
get
方法和 update
方法的调用配额是分别独立的,虽然两个配额的大小相同。
- 调用次数会计入受影响账号的配额。对于商品相关操作,此参数将是 CSS 网域账号;对于账号列表操作,此参数取决于调用列表的账号。
默认限制如下:
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe CSS API has quotas and limitations on certain features that can change without notice.\u003c/p\u003e\n"],["\u003cp\u003eTo avoid quota issues, minimize unnecessary product updates and aim for weekly updates if required.\u003c/p\u003e\n"],["\u003cp\u003eCSS Center accounts have default method call quotas, exceeding which results in specific errors.\u003c/p\u003e\n"],["\u003cp\u003ePer-method quotas apply, meaning each API method like \u003ccode\u003eget\u003c/code\u003e or \u003ccode\u003eupdate\u003c/code\u003e has its own quota limit.\u003c/p\u003e\n"],["\u003cp\u003eDefault quota limits are 20,000 calls per minute and 20,000,000 calls per day for both \u003ccode\u003ecssProductInputs\u003c/code\u003e and \u003ccode\u003ecssProducts\u003c/code\u003e resources.\u003c/p\u003e\n"]]],[],null,["# Quotas and Limits\n\nThe CSS API imposes quotas and hard limitations on some\nfeatures. The quotas and limits shown in the following table are provided\nsolely to assist you in\ndeveloping applications that use the CSS API. All quotas and\nlimits are subject to elimination, reduction, or change at any time, without\nnotice.\n\nCheck your quota usage\n----------------------\n\nYou can check your current quota usage using the\n[`accounts.quotas.list`](/comparison-shopping-services/api/reference/rest/v1/accounts.quotas/list)\nmethod. This method lets you retrieve the current quota usage for your account.\nSee this [sample](/comparison-shopping-services/api/code-samples/quotas/list-quota-groups)\nto learn how to perform this quota retrieval.\n\nQuota policy\n------------\n\nDon't update your products if they are unchanged. If you need to send updates to\nkeep a product from expiring, doing so once a week is enough.\n\nMethod call quotas\n------------------\n\nThe following limits are the default method call quotas for CSS Center\naccounts.\n\n- Users exceeding the per minute quota receive `quota/request_rate_too_high` errors.\n- Users exceeding the per day quota receive `quota/daily_limit_exceeded` errors.\n\nHere are some things to keep in mind:\n\n- The quotas here are per-method. For example, the `get` method has a separate quota of calls from the `update` method, though the size of those quotas is the same.\n- Calls count against the quota of the affected account. For product related operations this will be the CSS Domain account, for account list operation it depends on the account the list is called on.\n\nHere are the default limits:\n\n| Resource | Method | Per minute | Per day |\n|---------------------------------------------------------------------------------------------------|-------------|------------|------------|\n| [accounts](/comparison-shopping-services/api/reference/rest/v1/accounts) | All Methods | 1,000 | 10,000 |\n| [labels](/comparison-shopping-services/api/reference/rest/v1/accounts.labels) | All Methods | 1,000 | 10,000 |\n| [cssProductInputs](/comparison-shopping-services/api/reference/rest/v1/accounts.cssProductInputs) | All Methods | 60,000 | 20,000,000 |\n| [cssProducts](/comparison-shopping-services/api/reference/rest/v1/accounts.cssProducts) | All Methods | 60,000 | 20,000,000 |"]]