8 Eylül 2025'ten itibaren her yeni satır öğesinin, Avrupa Birliği (AB) siyasi reklamları yayınlayıp yayınlamayacağını beyan etmesi gerekecek. Bildirim içermeyen Display & Video 360 API ve SDF yüklemeleri başarısız olur. Entegrasyonunuzu bu beyanı yapacak şekilde güncelleme hakkında daha fazla bilgi için
desteği sonlandırma sayfamıza bakın.
Method: inventorySourceGroups.patch
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bir envanter kaynağı grubunu günceller. Başarılı olursa güncellenmiş envanter kaynağı grubunu döndürür.
HTTP isteği
PATCH https://displayvideo.googleapis.com/v4/inventorySourceGroups/{inventorySourceGroup.inventorySourceGroupId}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
inventorySourceGroup.inventorySourceGroupId |
string (int64 format)
Yalnızca çıkış. Envanter kaynağı grubunun benzersiz kimliği. Sistem tarafından atanır.
|
Sorgu parametreleri
Parametreler |
updateMask |
string (FieldMask format)
Zorunlu. Hangi alanların güncelleneceğini kontrol eden maske. Bu, alanların tam nitelikli adlarının virgülle ayrılmış bir listesidir. Örnek: "user.displayName,photo" .
|
Birleştirme parametresi owner . Zorunlu. Envanter kaynağı grubunun sahibi olan DV360 öğesini tanımlar. Bu, bir iş ortağı veya reklamveren olabilir. owner yalnızca aşağıdakilerden biri olabilir: |
partnerId |
string (int64 format)
Envanter kaynağı grubunun sahibi olan iş ortağının kimliği. Bu gruba yalnızca bu iş ortağı yazma erişimine sahiptir.
|
advertiserId |
string (int64 format)
Envanter kaynağı grubunun sahibi olan reklamverenin kimliği. Üst iş ortağının bu gruba erişimi yoktur.
|
İstek içeriği
İstek metni, InventorySourceGroup
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, InventorySourceGroup
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/display-video
Daha fazla bilgi için OAuth 2.0 Overview sayfasına bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[],["The Display & Video 360 API v4 (beta) allows updating an inventory source group via a PATCH request to a specific URL. This request requires specifying the `inventorySourceGroupId` as a path parameter. Key actions include setting the `updateMask` and `owner` (either `partnerId` or `advertiserId`) in query parameters. The request body should contain the updated `InventorySourceGroup` instance, and a successful response will return the updated group data. The API uses OAuth 2.0 and requires specific authorization scopes.\n"],null,["# Method: inventorySourceGroups.patch\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\nUpdates an inventory source group. Returns the updated inventory source group if successful.\n\n### HTTP request\n\n`PATCH https://displayvideo.googleapis.com/v4/inventorySourceGroups/{inventorySourceGroup.inventorySourceGroupId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `inventorySourceGroup.inventorySourceGroupId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the inventory source group. Assigned by the system. |\n\n### Query parameters\n\n| Parameters ||\n|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` Required. The mask to control which fields to update. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n| Union parameter `owner`. Required. Identifies the DV360 entity that owns the inventory source group. It can be either a partner or an advertiser. `owner` 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 owns the inventory source group. Only this partner has write access to this group. |\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser that owns the inventory source group. The parent partner does not have access to this group. |\n\n### Request body\n\nThe request body contains an instance of [InventorySourceGroup](/display-video/api/reference/rest/v4/inventorySourceGroups#InventorySourceGroup).\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)."]]