Google 會運用 AI 技術將內容翻譯成你偏好的語言,但可能會出錯。
API 工作流程
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本指南說明如何透過 API 工作流程,在 Display & Video 360 中建立、擷取及更新競價組合。
取得拍賣套餐清單
呼叫 LIST API。支援依 external_deal_id 篩選。
創造新的拍賣包
external_deal_id 必須是唯一的。使用 external_deal_id 呼叫 LIST,查看 ID 是否已使用。
- 呼叫 Create API。
系統會指派專屬名稱,可用於取得建立的套件。
- 呼叫 Get API,查看已建立競價套裝方案的詳細資料。
- (選用) 上傳為建立的套件使用的標誌。
更新競價套裝方案
- 如果您沒有儲存建立的拍賣包名稱,請呼叫按下
external_deal_id 篩選的 LIST API 以取得要更新的拍賣包。
- 根據 LIST API 的結果更新欄位。
- 呼叫 Patch API 來更新拍賣包。必須提供
updateMask。指出要套用更新的欄位。只有允許更新的欄位才能在updateMask中設定。
Beta 版程序
Beta 版和 GA 版之間的唯一區別在於,在 Beta 版期間,建立的拍賣包的狀態必須設定為 DISCOVERY_OBJECT_STATUS_PAUSED,且狀態無法更新。DV360 使用者介面不會顯示「已暫停」的套件。這為交易所提供了一種無需展示測試包即可測試 API 整合的方法。
一般做法是在 Beta 版中建立所有「實際」套裝組合,並設為「已暫停」,然後在正式版中啟用。
配額
每個交易所最多 2000 個有效套件。
每個廣告交易平台最多可暫停 2000 個套裝方案。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-09-08 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-09-08 (世界標準時間)。"],[],["Auction package management involves listing, creating, and updating. To list packages, use the LIST API, filtering by `external_deal_id`. Creation requires a unique `external_deal_id` and uses the Create API; retrieve package details with the Get API. Updating involves using the LIST API to retrieve the package, modifying fields, and using the Patch API with an `updateMask`. During beta, created packages must be \"PAUSED\" and cannot have their status changed. Each exchange has a quota of 1000 active and 1000 paused packages.\n"]]