2025 年 9 月 8 日以降、すべての新しい広告申込情報で、欧州連合(EU)の政治広告を配信するかどうかを宣言する必要があります。宣言が提供されていないディスプレイ&ビデオ 360 API と SDF のアップロードは失敗します。統合を更新してこの宣言を行う方法について詳しくは、
非推奨のページをご覧ください。
Method: inventorySources.list
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
現在のユーザーがアクセスできる広告枠ソースを一覧表示します。
順序は orderBy
パラメータで定義されます。filter
と entityStatus
が指定されていない場合、エンティティ ステータスが ENTITY_STATUS_ARCHIVED
の広告枠ソースは結果に含まれません。
HTTP リクエスト
GET https://displayvideo.googleapis.com/v3/inventorySources
この URL は gRPC Transcoding 構文を使用します。
クエリ パラメータ
パラメータ |
pageSize |
integer
リクエストされたページサイズです。 1 ~200 の範囲で指定してください。指定しない場合、デフォルトの 100 が使用されます。
|
pageToken |
string
サーバーが返す必要がある結果のページを特定するトークンです。 通常、これは inventorySources.list メソッドの前の呼び出しから返された nextPageToken の値です。指定しない場合、結果の最初のページが返されます。
|
orderBy |
string
リストの並べ替え基準として使用するフィールド。有効な値は次のとおりです。
デフォルトの並べ替え順序は昇順です。フィールドに対して降順を指定するには、フィールド名に接尾辞「desc」を追加する必要があります。例: displayName desc
|
filter |
string
広告枠ソースのフィールドでフィルタリングできます。 サポートされる構文:
- フィルタ式は、1 つ以上の制限で構成されます。
- 制限は、
AND 論理演算子または OR 論理演算子で組み合わせることができます。制限のシーケンスでは、暗黙的に AND が使用されます。
- 制限の形式は
{field} {operator} {value} です。
- すべてのフィールドで
EQUALS (=) 演算子を使用する必要があります。
サポートされているフィールド:
status.entityStatus
commitment
deliveryMethod
rateDetails.rateType
exchange
例:
- 有効なすべての広告枠ソース:
status.entityStatus="ENTITY_STATUS_ACTIVE"
- Google アド マネージャーまたは Rubicon エクスチェンジに属する広告枠ソース:
exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="EXCHANGE_RUBICON"
このフィールドの長さは 500 文字以下にする必要があります。 詳しくは、LIST リクエストをフィルタするガイドをご覧ください。
|
結合パラメータ accessor 。必須。リクエストがどの DV360 エンティティ内で行われたかを識別します。LIST リクエストでは、accessor 内で識別されたディスプレイ&ビデオ 360 エンティティにアクセスできる広告枠ソース エンティティのみが返されます。accessor は次のいずれかになります。 |
partnerId |
string (int64 format)
在庫ソースにアクセスできるパートナーの ID。
|
advertiserId |
string (int64 format)
広告枠ソースにアクセスできる広告主の ID。
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功すると、レスポンスの本文に次の構造のデータが含まれます。
JSON 表現 |
{
"inventorySources": [
{
object (InventorySource )
}
],
"nextPageToken": string
} |
フィールド |
inventorySources[] |
object (InventorySource )
広告在庫ソースのリスト。 空の場合は、このリストは表示されません。
|
nextPageToken |
string
結果の次のページを取得するためのトークン。 この値を次の inventorySources.list メソッド呼び出しの pageToken フィールドで渡して、結果の次ページを取得します。
|
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/display-video
詳細については、OAuth 2.0 Overview をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eLists inventory sources accessible to the current user, ordered by \u003ccode\u003eorderBy\u003c/code\u003e parameter and excluding archived sources unless filtered.\u003c/p\u003e\n"],["\u003cp\u003eSupports pagination with \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e for retrieving results in manageable chunks.\u003c/p\u003e\n"],["\u003cp\u003eOffers filtering options using the \u003ccode\u003efilter\u003c/code\u003e parameter for refining results based on entity status, commitment, delivery method, rate type, or exchange.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying an \u003ccode\u003eaccessor\u003c/code\u003e (either \u003ccode\u003epartnerId\u003c/code\u003e or \u003ccode\u003eadvertiserId\u003c/code\u003e) to identify the DV360 entity for access control.\u003c/p\u003e\n"],["\u003cp\u003eUses \u003ccode\u003eGET\u003c/code\u003e request to \u003ccode\u003ehttps://displayvideo.googleapis.com/v3/inventorySources\u003c/code\u003e and requires \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e authorization scope.\u003c/p\u003e\n"]]],["This API lists accessible inventory sources for a user via a `GET` request to `https://displayvideo.googleapis.com/v3/inventorySources`. Key parameters include `pageSize`, `pageToken`, `orderBy` for sorting, and `filter` for filtering by fields like `entityStatus`, `commitment`, or `exchange`. The request body must be empty. The response includes a list of inventory sources and a `nextPageToken` for pagination. The call requires authorization scope: `https://www.googleapis.com/auth/display-video`. A union parameter called `accessor` is required to identify the DV360 entity the request is being made from.\n"],null,[]]