2025 年 9 月 8 日以降、すべての新しい広告申込情報で、欧州連合(EU)の政治広告を配信するかどうかを宣言する必要があります。宣言が提供されていないディスプレイ&ビデオ 360 API と SDF のアップロードは失敗します。統合を更新してこの宣言を行う方法について詳しくは、
非推奨のページをご覧ください。
使用制限
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
使用上限は、自動プロセスがディスプレイ&ビデオ 360 API を不適切な方法で使用することを防ぎ、Google のインフラストラクチャを保護します。つまり、あるデベロッパーの操作によってコミュニティに悪影響が及ぶ事態を防ぎます。
API リクエストの割り当て上限
Display & Video 360 API では、次の 2 種類の上限が使用されます。
- 割り当ての合計上限。関連するすべてのリクエストがカウントされます。
- 書き込み割り当て上限。書き込みメソッドに対して行われた関連するすべてのリクエストがカウントされます。書き込みメソッドは、リソースを変更するメソッド(
create
、patch
、delete
、bulkEdit
など)として定義されます。一部の方法では、他の方法よりも多くの書き込み割り当てが消費されます。
プロジェクトがこれらのいずれかの上限を超えると、スロットリングが発生する可能性があります。
プロジェクト全体の割り当て上限
以下のデフォルトの割り当て制限は、ディスプレイ&ビデオ 360 API のすべてのリソースとメソッドの間で共有されます。
- プロジェクトごとの 1 分あたりの合計リクエスト数:
1500
- プロジェクトあたりの 1 分あたりの書き込みリクエスト数:
700
広告主固有のリクエスト割り当て上限
リクエスト URL で広告主 ID を指定するメソッドは、「広告主ごと、プロジェクトごと」の追加の割り当て上限にカウントされます。
URL パスに広告主 ID が指定されているリクエスト(advertisers.lineItems
サービス、advertisers.creatives
サービス、advertisers.channels
サービスなど)はすべて、次の割り当て上限にカウントされます。
- 1 プロジェクトあたりの広告主あたりの 1 分あたりの合計リクエスト数:
300
- プロジェクトごとの広告主ごとの 1 分あたりの書き込みリクエスト数:
150
書き込み負荷の高いメソッド
次の API メソッドは書き込み負荷が高いため、プロダクト リソースを大量に使用し、他の書き込みリクエストよりも多くの書き込みリクエスト割り当てを使用します。
書き込み負荷の高いメソッドに対して行われたリクエストは、書き込みリクエストの割り当て使用量の計算時に 5 回の書き込みクエリとしてカウントされます。たとえば、1 分間に 100 件の標準書き込みリクエストと 21 件の書き込み負荷の高いリクエスト(いずれも広告主を指定していない)を実行すると、205 件の書き込みクエリ(100 + (21 * 5) =
205
)としてカウントされ、1 分あたり 200 件の書き込みクエリという既存の一般的なリクエスト割り当て上限を超えます。
次のメソッドは書き込み負荷が高いと見なされます。
割り当ての上限を超えた場合
万一、API リクエストの上限を超えたためにリクエストが失敗すると、API から HTTP ステータス コードとエラーの理由が返されます。さらに、レスポンス本文にエラーの原因についての詳しい説明が記載されます。
次の一覧に、API リクエストの上限を超えたために発生するリクエスト失敗のエラーと、おすすめの対処方法を示します。
コード |
RPC |
メッセージ |
推奨される対応 |
429
|
RESOURCE_EXHAUSTED
|
リソースが不足している(割り当てを確認するなど)。 |
Google API コンソールで使用状況を調べて、ワークフローを変更し、異なる広告主の下で行われたリクエストをより並列化するか、一般的にリクエストの送信レートを遅くします。 |
ディスプレイ&ビデオ 360 API の割り当て上限の引き上げはリクエストできません。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eDisplay & Video 360 API usage is subject to quota limits to protect Google's infrastructure and ensure fair usage.\u003c/p\u003e\n"],["\u003cp\u003eTwo main quota types exist: total requests and write requests (methods modifying resources), with limits applied per project and per advertiser per project.\u003c/p\u003e\n"],["\u003cp\u003eCertain write-intensive methods consume more write quota than others.\u003c/p\u003e\n"],["\u003cp\u003eExceeding quota limits can lead to request throttling, indicated by a 429 error code, requiring adjustments to request frequency.\u003c/p\u003e\n"],["\u003cp\u003eQuota limit increases for the Display & Video 360 API are not available.\u003c/p\u003e\n"]]],[],null,["# Usage Limits\n\nUsage limits protect Google's infrastructure from automated processes that use\nthe Display \\& Video 360 API in an inappropriate way. They ensure that one developer's\nactions can't negatively impact the larger community.\n\nAPI request quota limits\n------------------------\n\nThe Display \\& Video 360 API uses two types of limits:\n\n- **Total quota limits**, which all relevant requests count against.\n- **Write quota limits** , which all relevant requests made to write methods count against. Write methods are defined as methods---such as `create`, `patch`, `delete`, or `bulkEdit`---that modify resources. Note that [some\n methods](#write_intensive) consume more write quota than others.\n\nIf your project exceeds any of these limits, [throttling could\noccur](#exceeding_limits).\n\n### Project-wide quota limit\n\nThe following default quota limits are shared by all Display \\& Video 360 API resources\nand methods:\n\n- **Total requests per minute per project:** `1500`\n- **Write requests per minute per project:** `700`\n\n### Advertiser-specific request quota limits\n\nMethods that specify an advertiser ID in the request URL count against\nadditional \"per advertiser per project\" quota limits.\n\nAll requests with an advertiser ID specified in their URL path---such as\nthose to the [`advertisers.lineItems`](/display-video/api/reference/rest/current/advertisers.lineItems),\n[`advertisers.creatives`](/display-video/api/reference/rest/current/advertisers.creatives), or\n[`advertisers.channels`](/display-video/api/reference/rest/current/advertisers.channels) services---will count against\nthe following quota limits:\n\n- **Total requests per minute per advertiser per project:** `300`\n- **Write requests per minute per advertiser per project:** `150`\n\nWrite-intensive methods\n-----------------------\n\nThe following API methods are write-intensive, meaning that they use a\nsignificant amount of product resources and, as a result, consume more\nwrite request quota than other write requests.\n\nRequests made to write-intensive methods are counted as 5 write queries\nwhen computing write request quota consumption. For example, 100 standard write\nrequests and 21 write-intensive requests (none of which specify an advertiser)\nmade within a minute would be counted as 205 write queries (`100 + (21 * 5) =\n205`) and would exceed the existing general request quota limit of 200 write\nqueries per minute.\n\nThe following methods are considered write-intensive:\n\n- [`customBiddingAlgorithms.scripts.create`](/display-video/api/reference/rest/current/customBiddingAlgorithms.scripts/create)\n- [`customBiddingAlgorithms.uploadScript`](/display-video/api/reference/rest/current/customBiddingAlgorithms/uploadScript)\n- [`firstPartyAndPartnerAudiences.create`](/display-video/api/reference/rest/current/firstPartyAndPartnerAudiences/create)\n- [`firstPartyAndPartnerAudiences.editCustomerMatchMembers`](/display-video/api/reference/rest/current/firstPartyAndPartnerAudiences/editCustomerMatchMembers)\n- [`media.upload`](/display-video/api/reference/rest/current/media/upload)\n\nExceeding quota limits\n----------------------\n\nIn the unlikely event that your request fails due to exceeding an API request\nlimit, the API returns an HTTP status code and reason for the error.\nAdditionally, the body of the response contains a detailed description of what\ncaused the error.\n\nThe following list shows the possible errors and recommended actions for\nrequest failures caused by exceeding API request limits.\n\n| Code | RPC | Message | Recommended Action |\n|-------|----------------------|--------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `429` | `RESOURCE_EXHAUSTED` | Resource has been exhausted (e.g., check quota). | [Examine your usage](//console.developers.google.com/project/_/apiui/apiview/displayvideo.googleapis.com/metrics) from the Google API Console and modify your workflow to better parallelize requests made under different advertisers or more generally slow down the rate at which you are sending requests. |\n\nIncreases cannot be requested for Display \\& Video 360 API quota limits."]]