Mulai
8 September 2025, setiap item baris baru harus menyatakan apakah item baris tersebut akan menayangkan iklan politik Uni Eropa (EU) atau tidak. Upload SDF dan API Display & Video 360 yang tidak memberikan pernyataan akan gagal. Lihat
halaman penghentian penggunaan kami untuk mengetahui detail selengkapnya tentang cara memperbarui integrasi Anda untuk membuat pernyataan ini.
Method: inventorySourceGroups.get
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Mendapatkan grup sumber inventaris.
Permintaan HTTP
GET https://displayvideo.googleapis.com/v4/inventorySourceGroups/{inventorySourceGroupId}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
inventorySourceGroupId |
string (int64 format)
Wajib. ID grup sumber inventaris yang akan diambil.
|
Parameter kueri
Parameter |
Parameter union accessor . Wajib. Mengidentifikasi entitas DV360 tempat permintaan dibuat. Permintaan GET hanya akan menampilkan entity grup sumber inventaris jika dapat diakses oleh entity DV360 yang diidentifikasi dalam accessor . accessor hanya dapat berupa salah satu dari hal berikut: |
partnerId |
string (int64 format)
ID partner yang memiliki akses ke grup sumber inventaris. Partner tidak dapat mengakses grup sumber inventaris milik pengiklan.
|
advertiserId |
string (int64 format)
ID pengiklan yang memiliki akses ke grup sumber inventaris. Jika grup sumber inventaris dimiliki partner, hanya pengiklan yang secara eksplisit dibagikan grup yang dapat mengakses grup tersebut.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons memuat instance InventorySourceGroup
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/display-video
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[],["The Display & Video 360 API v4, currently in beta, allows fetching inventory source groups via a `GET` request. The request URL requires the `inventorySourceGroupId` as a path parameter. The `accessor` is a required query parameter, specifying either a `partnerId` or `advertiserId` to identify the accessing entity. The request body must be empty. A successful response will contain an `InventorySourceGroup` instance. The API requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"],null,["# Method: inventorySourceGroups.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets an inventory source group.\n\n### HTTP request\n\n`GET https://displayvideo.googleapis.com/v4/inventorySourceGroups/{inventorySourceGroupId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| `inventorySourceGroupId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the inventory source group to fetch. |\n\n### Query parameters\n\n| Parameters ||\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union parameter `accessor`. Required. Identifies which DV360 entity the request is being made within. The GET request will only return the inventory source group entity if it is accessible to the DV360 entity identified within the `accessor`. `accessor` can be only one of the following: ||\n| `partnerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the partner that has access to the inventory source group. A partner cannot access an advertiser-owned inventory source group. |\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser that has access to the inventory source group. If an inventory source group is partner-owned, only advertisers to which the group is explicitly shared can access the group. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [InventorySourceGroup](/display-video/api/reference/rest/v4/inventorySourceGroups#InventorySourceGroup).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]