Starting
September 8, 2025, every new line item will need to declare whether or not they will serve Eurpoean Union (EU) political ads. Display & Video 360 API and SDF uploads that don't provide declarations will fail. See our
deprecations page for more details on how to update your integration to make this declaration.
TimeUnit
Stay organized with collections
Save and categorize content based on your preferences.
Enums |
TIME_UNIT_UNSPECIFIED |
Time unit value is not specified or is unknown in this version. |
TIME_UNIT_LIFETIME |
The frequency cap will be applied to the whole life time of the line item. |
TIME_UNIT_MONTHS |
The frequency cap will be applied to a number of months. |
TIME_UNIT_WEEKS |
The frequency cap will be applied to a number of weeks. |
TIME_UNIT_DAYS |
The frequency cap will be applied to a number of days. |
TIME_UNIT_HOURS |
The frequency cap will be applied to a number of hours. |
TIME_UNIT_MINUTES |
The frequency cap will be applied to a number of minutes. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-27 UTC.
[null,null,["Last updated 2025-03-27 UTC."],[],["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. |"]]