enum StartDateTimeType (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Specifies the start type to use for an entity with a start date time field.
For example, a LineItem or LineItemCreativeAssociation.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
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."],[],["The document outlines `StartDateTimeType`, specifying how entities like LineItem or LineItemCreativeAssociation initiate. Three primary start types are defined: `USE_START_DATE_TIME` (using a specified start time), `IMMEDIATELY` (starting at the current time), and `ONE_HOUR_FROM_NOW` (starting an hour later). The `UNKNOWN` type represents a value not available in the requested API version. Additionally, it mentions `AdRuleService`, `ForecastService`, `LineItemCreativeAssociationService`, `LineItemService`, `LiveStreamEventService`, and `LineItemSummary`.\n"],null,["# enum StartDateTimeType (v202502)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202502/AdRuleService.StartDateTimeType) **ForecastService** [LineItemCreativeAssociationService](/ad-manager/api/reference/v202502/LineItemCreativeAssociationService.StartDateTimeType) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.StartDateTimeType) [LiveStreamEventService](/ad-manager/api/reference/v202502/LiveStreamEventService.StartDateTimeType) **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202502/ForecastService.LineItemSummary) \n▼\n**StartDateTimeType**\n\nSpecifies the start type to use for an entity with a start date time field.\nFor example, a [LineItem](/ad-manager/api/reference/v202502/ForecastService.LineItem) or [LineItemCreativeAssociation](/ad-manager/api/reference/v202502/LineItemCreativeAssociationService.LineItemCreativeAssociation).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `USE_START_DATE_TIME` | Use the value in [startDateTime](#startDateTime). |\n| `IMMEDIATELY` | The entity will start serving immediately. [startDateTime](#startDateTime) in the request is ignored and will be set to the current time. Additionally, [startDateTimeType](#startDateTimeType) will be set to [StartDateTimeType.USE_START_DATE_TIME](/ad-manager/api/reference/v202502/ForecastService.StartDateTimeType#USE_START_DATE_TIME). |\n| `ONE_HOUR_FROM_NOW` | The entity will start serving one hour from now. [startDateTime](#startDateTime) in the request is ignored and will be set to one hour from the current time. Additionally, [startDateTimeType](#startDateTimeType) will be set to [StartDateTimeType.USE_START_DATE_TIME](/ad-manager/api/reference/v202502/ForecastService.StartDateTimeType#USE_START_DATE_TIME). |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]