enum TimeUnit (v202411)

  • The TimeUnit enumeration defines the possible time units used for frequency capping within the Google Ad Manager API.

  • Available time units include MINUTE, HOUR, DAY, WEEK, MONTH, LIFETIME, POD, and STREAM.

  • POD and STREAM time units are specific to video environments, designated by EnvironmentType.VIDEO_PLAYER.

  • The UNKNOWN value is returned when the API version does not expose the actual time unit value.

  • The TimeUnit feature appears within multiple services such as ForecastService, InventoryService, LineItemService, and ProposalLineItemService.

Represent the possible time units for frequency capping.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
MINUTE
HOUR
DAY
WEEK
MONTH
LIFETIME
POD Per pod of ads in a video stream. Only valid for entities in a EnvironmentType.VIDEO_PLAYER environment.
STREAM Per video stream. Only valid for entities in a EnvironmentType.VIDEO_PLAYER environment.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.