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: partners.channels.sites.create
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bir kanalda site oluşturur.
HTTP isteği
POST https://displayvideo.googleapis.com/v4/partners/{partnerId}/channels/{channelId}/sites
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
channelId |
string (int64 format)
Zorunlu. Sitenin oluşturulacağı üst kanalın kimliği.
|
Birleştirme parametresi owner . Zorunlu. Üst kanalın 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)
Üst kanalın sahibi olan iş ortağının kimliği.
|
Sorgu parametreleri
Parametreler |
Birleştirme parametresi owner . Zorunlu. Üst kanalın sahibi olan DV360 öğesini tanımlar. Bu, bir iş ortağı veya reklamveren olabilir. owner yalnızca aşağıdakilerden biri olabilir: |
advertiserId |
string (int64 format)
Üst kanalın sahibi olan reklamverenin kimliği.
|
İstek içeriği
İstek metni, Site
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt metni, yeni oluşturulmuş bir Site
örneği 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 creating a site within a channel via a `POST` request to a specified URL. The URL requires `channelId` and `partnerId` as path parameters to identify the parent channel and its owner. A required union parameter `owner` further specifies if the channel belongs to an advertiser or partner, using either `advertiserId` or `partnerId` as query parameters. The request body and response both utilize a `Site` instance. This operation requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"],null,["# Method: partners.channels.sites.create\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\nCreates a site in a channel.\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v4/partners/{partnerId}/channels/{channelId}/sites`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `channelId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the parent channel in which the site will be created. |\n| Union parameter `owner`. Required. Identifies the DV360 entity that owns the parent channel. 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 parent channel. |\n\n### Query parameters\n\n| Parameters ||\n|----------------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| Union parameter `owner`. Required. Identifies the DV360 entity that owns the parent channel. It can be either a partner or an advertiser. `owner` can be only one of the following: ||\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser that owns the parent channel. |\n\n### Request body\n\nThe request body contains an instance of [Site](/display-video/api/reference/rest/v4/advertisers.channels.sites#Site).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Site](/display-video/api/reference/rest/v4/advertisers.channels.sites#Site).\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)."]]