TimeUnit

  • 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.

Possible time units.

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.