enum TimeUnit (v202411)

  • TimeUnit represents the various time units that can be used for setting frequency caps in advertising.

  • These units range from minutes to the entire lifetime and include options specific to video advertising like pods and streams.

  • TimeUnit is defined within the namespace https://www.google.com/apis/ads/publisher/v202411 and is used by services like ForecastService, InventoryService, LineItemService, and ProposalLineItemService.

  • While most TimeUnit enumerations are self-explanatory, 'POD' and 'STREAM' are specifically designed for video advertising environments, representing frequency caps per ad pod or per video stream respectively.

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.