Method: customBiddingAlgorithms.uploadRules

為 AlgorithmRules 檔案建立規則參照物件。

產生的參考物件會提供資源路徑,您應將 AlgorithmRules 檔案上傳至該路徑。建立新的 CustomBiddingAlgorithmRules 資源時,應一併納入這個參照物件。

HTTP 要求

GET https://displayvideo.googleapis.com/v4/customBiddingAlgorithms/{customBiddingAlgorithmId}:uploadRules

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
customBiddingAlgorithmId

string (int64 format)

必填。擁有規則資源的自訂出價演算法 ID。

查詢參數

參數
必填。用來識別擁有父項自訂出價演算法的 DV360 實體。擁有者可以是夥伴或廣告主。以下列出互斥欄位。回應中最多會設定一個欄位:
partnerId

string (int64 format)

擁有父項自訂出價演算法的合作夥伴 ID。

advertiserId

string (int64 format)

擁有上層自訂出價演算法的廣告主 ID。

互斥欄位的結尾。

要求主體

要求主體必須為空白。

回應主體

如果成功,回應主體會包含 CustomBiddingAlgorithmRulesRef 的執行個體。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/display-video

詳情請參閱OAuth 2.0 Overview。