enum TimeUnit (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Represent the possible time units for frequency capping.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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.
|
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-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eTimeUnit in Google Ad Manager represents the various time units applicable to frequency capping, such as minutes, hours, days, weeks, months, and the lifetime of a campaign.\u003c/p\u003e\n"],["\u003cp\u003eIt also includes specific time units for video ads, such as per pod and per stream, applicable only in video player environments.\u003c/p\u003e\n"],["\u003cp\u003eTimeUnit is used by the Forecast, Inventory, Line Item, and Proposal Line Item Services, with a namespace specific to the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003eAn “unknown” value is returned if the API version being used doesn't support exposing the actual TimeUnit value.\u003c/p\u003e\n"]]],["The content details `TimeUnit` options for frequency capping within ad management services. The available time units include `MINUTE`, `HOUR`, `DAY`, `WEEK`, `MONTH`, and `LIFETIME`. Additionally, `POD` and `STREAM` are specified for video player environments. The `UNKNOWN` value is used when the API version does not reveal the actual value. These time units apply to `ForecastService`, `InventoryService`, `LineItemService`, and `ProposalLineItemService`.\n"],null,["# enum TimeUnit (v202408)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202408/ForecastService.TimeUnit) **InventoryService** [LineItemService](/ad-manager/api/reference/v202408/LineItemService.TimeUnit) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.TimeUnit) **Dependencies** \n[FrequencyCap](/ad-manager/api/reference/v202408/InventoryService.FrequencyCap) \n▼\n**TimeUnit**\n\nRepresent the possible time units for frequency capping.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Enumeration | Description |\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `MINUTE` | |\n| `HOUR` | |\n| `DAY` | |\n| `WEEK` | |\n| `MONTH` | |\n| `LIFETIME` | |\n| `POD` | Per pod of ads in a video stream. Only valid for entities in a [EnvironmentType.VIDEO_PLAYER](/ad-manager/api/reference/v202408/InventoryService.EnvironmentType#VIDEO_PLAYER) environment. |\n| `STREAM` | Per video stream. Only valid for entities in a [EnvironmentType.VIDEO_PLAYER](/ad-manager/api/reference/v202408/InventoryService.EnvironmentType#VIDEO_PLAYER) environment. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]