配額與限制
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
CSS API 會對部分功能設下配額和硬性限制。下表所列的配額和限制僅供您開發使用 CSS API 的應用程式時參考。所有配額和限制都可能隨時取消、減少或變更,恕不另行通知。
查看配額用量
您可以使用 accounts.quotas.list
方法查看目前的配額用量。這個方法可讓您擷取帳戶目前的配額用量。請參閱這個範例,瞭解如何執行此配額擷取作業。
配額政策
如果產品沒有變更,請勿更新。如需傳送更新內容,以免產品過期,每週傳送一次即可。
方法呼叫配額
以下限制是 CSS Center 帳戶的預設方法呼叫配額。
- 使用者若超出每分鐘配額,就會收到
quota/request_rate_too_high
錯誤。
- 超過每日配額的使用者會收到
quota/daily_limit_exceeded
錯誤。
請注意以下事項:
- 此處的配額是以方法為單位。舉例來說,
get
方法有 update
方法的呼叫配額,但這些配額的大小相同。
- 通話會計入受影響帳戶的配額。對於產品相關作業,這會是 CSS 網域帳戶;對於帳戶清單作業,則取決於清單的呼叫帳戶。
以下是預設限制:
資源 |
方法 |
每分鐘 |
每天 |
accounts |
所有方法 |
1,000 |
10,000 |
labels |
所有方法 |
1,000 |
10,000 |
cssProductInputs |
所有方法 |
60,000 |
20,000,000 |
cssProducts |
所有方法 |
60,000 |
20,000,000 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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 |"]]