Method: customBiddingAlgorithms.rules.create

建立新的規則資源。如果成功,則會傳回新建立的規則資源。

如果演算法已指派給委刊項,則建立自訂出價規則資源的要求會傳回錯誤。

HTTP 要求

POST https://displayvideo.googleapis.com/v3/customBiddingAlgorithms/{customBiddingAlgorithmId}/rules

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

路徑參數

參數
customBiddingAlgorithmId

string (int64 format)

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

查詢參數

參數
聯集參數 owner。必要欄位。用來識別擁有父項自訂出價演算法的 DV360 實體。可以是合作夥伴或廣告主。owner 只能是下列其中一項:
partnerId

string (int64 format)

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

只有這個合作夥伴才能對規則資源進行寫入作業。

advertiserId

string (int64 format)

擁有父項自訂出價演算法的廣告主 ID。

要求主體

要求主體包含 CustomBiddingAlgorithmRules 的例項。

回應主體

如果成功,回應主體會包含新建立的 CustomBiddingAlgorithmRules 例項。

授權範圍

需要下列 OAuth 範圍:

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

詳情請參閱OAuth 2.0 Overview