割り当てと上限
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
CSS API では、一部の機能に割り当てと厳しい上限が適用されます。次の表に示す割り当てと上限は、CSS API を使用するアプリケーションの開発を支援するためにのみ提供されています。すべての割り当てと上限は、予告なくいつでも削除、削減、変更される場合があります。
割り当ての使用状況を確認する
現在の割り当て使用量は、accounts.quotas.list
メソッドを使用して確認できます。このメソッドを使用すると、アカウントの現在の割り当て使用量を取得できます。この割り当て取得を行う方法については、こちらのサンプルをご覧ください。
割り当てポリシー
変更されていない商品は更新しないでください。商品の有効期限切れを防ぐために更新を送信する必要がある場合は、1 週間に 1 回送信すれば十分です。
メソッド呼び出しの割り当て
次の上限は、CSS Center アカウントのデフォルトのメソッド呼び出し割り当てです。
- 1 分あたりの割り当てを超えたユーザーには、
quota/request_rate_too_high
エラーが返されます。
- 1 日あたりの割り当てを超えたユーザーには、
quota/daily_limit_exceeded
エラーが表示されます。
次の点にご注意ください。
- ここでの割り当てはメソッドごとです。たとえば、
get
メソッドには update
メソッドとは別に呼び出しの割り当てがありますが、これらの割り当てのサイズは同じです。
- 呼び出しは、影響を受けるアカウントの割り当てにカウントされます。商品関連のオペレーションの場合は CSS ドメイン アカウント、アカウント リスト オペレーションの場合はリストが呼び出されるアカウントによって異なります。
デフォルトの上限は次のとおりです。
リソース |
メソッド |
1 分あたり |
1 日あたり |
accounts |
すべてのメソッド |
1,000 |
10,000 |
labels |
すべてのメソッド |
1,000 |
10,000 |
cssProductInputs |
すべてのメソッド |
60,000 |
20,000,000 |
cssProducts |
すべてのメソッド |
60,000 |
20,000,000 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-25 UTC。"],[[["\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 |"]]