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: customBiddingAlgorithms.scripts.create
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Yeni bir özel teklif verme komut dosyası oluşturur. Başarılı olursa yeni oluşturulan komut dosyasını döndürür.
Bir satır öğesine atanan bir algoritma altında özel teklif verme komut dosyası oluşturma istekleri hata döndürür.
HTTP isteği
POST https://displayvideo.googleapis.com/v4/customBiddingAlgorithms/{customBiddingAlgorithmId}/scripts
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
customBiddingAlgorithmId |
string (int64 format)
Zorunlu. Komut dosyasının sahibi olan özel teklif verme algoritmasının kimliği.
|
Sorgu parametreleri
Parametreler |
Birleştirme parametresi owner . Zorunlu. Üst özel teklif verme algoritmasını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 özel teklif verme algoritmasının sahibi olan iş ortağının kimliği. Bu özel teklifli sistem komut dosyasına yalnızca bu iş ortağı yazma erişimi sahibi olacaktır.
|
advertiserId |
string (int64 format)
Üst özel teklif verme algoritmasının sahibi olan reklamverenin kimliği.
|
İstek içeriği
İstek metni, CustomBiddingScript
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt metni, yeni oluşturulmuş bir CustomBiddingScript
ö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."],[],[],null,["# Method: customBiddingAlgorithms.scripts.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 new custom bidding script. Returns the newly created script if successful.\n\nRequests creating a custom bidding script under an algorithm assigned to a line item will return an error.\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v4/customBiddingAlgorithms/{customBiddingAlgorithmId}/scripts`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `customBiddingAlgorithmId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the custom bidding algorithm that owns the script. |\n\n### Query parameters\n\n| Parameters ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union parameter `owner`. Required. Identifies the DV360 entity that owns the parent custom bidding algorithm. 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 custom bidding algorithm. Only this partner will have write access to this custom bidding script. |\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser that owns the parent custom bidding algorithm. |\n\n### Request body\n\nThe request body contains an instance of [CustomBiddingScript](/display-video/api/reference/rest/v4/customBiddingAlgorithms.scripts#CustomBiddingScript).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [CustomBiddingScript](/display-video/api/reference/rest/v4/customBiddingAlgorithms.scripts#CustomBiddingScript).\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)."]]