TimeUnit
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 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["`TIME_UNIT` enums specify the time frame over which a frequency cap is applied, limiting the number of times an ad is shown."],["Options include applying the cap over a lifetime, or within specific durations like months, weeks, days, hours, or minutes."],["`TIME_UNIT_UNSPECIFIED` is used if the time unit is not known or defined."]]],["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"]]