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.uploadScript
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bir komut dosyası dosyası için özel teklif verme komut dosyası referans nesnesi oluşturur.
Ortaya çıkan referans nesnesi, komut dosyası dosyasının yüklenmesi gereken bir kaynak yolu sağlar. Bu referans nesnesi, yeni bir özel teklif verme komut dosyası nesnesi oluşturulurken eklenmelidir.
HTTP isteği
GET https://displayvideo.googleapis.com/v4/customBiddingAlgorithms/{customBiddingAlgorithmId}:uploadScript
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
customBiddingAlgorithmId |
string (int64 format)
Zorunlu. Komut dosyası, özel teklif verme algoritmasının kimliğine sahiptir.
|
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 boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, CustomBiddingScriptRef
öğ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, in beta, allows creating a custom bidding script reference object via a `GET` request. The request URL requires the `customBiddingAlgorithmId` as a path parameter. It also needs either a `partnerId` or `advertiserId` as a query parameter to identify the script owner. The request body should be empty. A successful response provides a `CustomBiddingScriptRef` object with a resource path for uploading the script file. This action requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"],null,["# Method: customBiddingAlgorithms.uploadScript\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 custom bidding script reference object for a script file.\n\nThe resulting reference object provides a resource path to which the script file should be uploaded. This reference object should be included in when creating a new custom bidding script object.\n\n### HTTP request\n\n`GET https://displayvideo.googleapis.com/v4/customBiddingAlgorithms/{customBiddingAlgorithmId}:uploadScript`\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 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 must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [CustomBiddingScriptRef](/display-video/api/reference/rest/v4/customBiddingAlgorithms.scripts#CustomBiddingScriptRef).\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)."]]