自
2025 年 9 月 8 日起,每個新委刊項都必須聲明是否會放送歐盟政治廣告。如果透過 Display & Video 360 API 和 SDF 上傳的檔案未提供聲明,系統就會失敗。如要進一步瞭解如何更新整合服務以進行這項聲明,請參閱
淘汰項目頁面。
TimeUnit
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
列舉 |
TIME_UNIT_UNSPECIFIED |
這個版本未指定時間單位值或時間單位值不明。 |
TIME_UNIT_LIFETIME |
展示頻率上限會套用至委刊項的整個生命週期。 |
TIME_UNIT_MONTHS |
展示頻率上限會套用於數個月。 |
TIME_UNIT_WEEKS |
展示頻率上限會套用於數週。 |
TIME_UNIT_DAYS |
系統會將展示頻率上限套用至多個日子。 |
TIME_UNIT_HOURS |
系統會將展示頻率上限套用至特定小時數。 |
TIME_UNIT_MINUTES |
系統會將展示頻率上限套用至特定分鐘數。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003eTIME_UNIT\u003c/code\u003e enums specify the time frame over which a frequency cap is applied, limiting the number of times an ad is shown.\u003c/p\u003e\n"],["\u003cp\u003eOptions include applying the cap over a lifetime, or within specific durations like months, weeks, days, hours, or minutes.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTIME_UNIT_UNSPECIFIED\u003c/code\u003e is used if the time unit is not known or defined.\u003c/p\u003e\n"]]],["The provided content outlines different time units for applying frequency caps. These units include `TIME_UNIT_UNSPECIFIED` for unknown values, `TIME_UNIT_LIFETIME` for the entire line item duration, `TIME_UNIT_MONTHS` for monthly caps, `TIME_UNIT_WEEKS` for weekly caps, `TIME_UNIT_DAYS` for daily caps, `TIME_UNIT_HOURS` for hourly caps, and `TIME_UNIT_MINUTES` for minute-based caps. Each time unit determines the duration over which the frequency cap is enforced.\n"],null,["# TimeUnit\n\n| Display \\& Video 360 API is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\nPossible time units.\n\n| Enums ||\n|-------------------------|-------------------------------------------------------------------------------------------------------|\n| `TIME_UNIT_UNSPECIFIED` | Time unit value is not specified or is unknown in this version. |\n| `TIME_UNIT_LIFETIME` | The frequency cap will be applied to the whole life time of the line item. | This item is deprecated! |\n| `TIME_UNIT_MONTHS` | The frequency cap will be applied to a number of months. |\n| `TIME_UNIT_WEEKS` | The frequency cap will be applied to a number of weeks. |\n| `TIME_UNIT_DAYS` | The frequency cap will be applied to a number of days. |\n| `TIME_UNIT_HOURS` | The frequency cap will be applied to a number of hours. |\n| `TIME_UNIT_MINUTES` | The frequency cap will be applied to a number of minutes. |"]]