自
2025 年 9 月 8 日起,每个新订单项都需要声明是否会投放欧盟 (EU) 政治广告。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 |
频次上限将应用于几分钟的时间。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],["The Display & Video 360 API v4 beta includes time unit options for frequency capping. These options define the duration over which a frequency cap is applied to a line item. Available units are: `TIME_UNIT_LIFETIME` (entire line item duration), `TIME_UNIT_MONTHS`, `TIME_UNIT_WEEKS`, `TIME_UNIT_DAYS`, `TIME_UNIT_HOURS`, and `TIME_UNIT_MINUTES`. `TIME_UNIT_UNSPECIFIED` indicates an unknown or unspecified time unit.\n"],null,["# TimeUnit\n\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. |"]]