每個新委刊項都必須聲明是否會放送歐盟政治廣告。如果透過 Display & Video 360 API 和 SDF 上傳的檔案未提供聲明,系統就會失敗。詳情請參閱
淘汰項目頁面。
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。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/display-video
詳情請參閱OAuth 2.0 Overview。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-09-10 (世界標準時間)。
[null,null,["上次更新時間:2025-09-10 (世界標準時間)。"],[],["This describes creating a new rules resource for a custom bidding algorithm. A `POST` request to `https://displayvideo.googleapis.com/v3/customBiddingAlgorithms/{customBiddingAlgorithmId}/rules` is used. The `customBiddingAlgorithmId` is required in the path. The `owner` parameter, specifying the owning partner or advertiser ID, is required. The request body must include a `CustomBiddingAlgorithmRules` instance, and a successful request will return a newly created `CustomBiddingAlgorithmRules` instance in the response. Requests to update custom bidding algorithms assigned to line items will return an error after April 1, 2025. The process requires `https://www.googleapis.com/auth/display-video` authorization.\n"],null,[]]