enum StartDateTimeType (v202408)
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/v202408
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\u003e\u003ccode\u003eStartDateTimeType\u003c/code\u003e determines how the start time is set for entities like Line Items and Line Item Creative Associations within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt offers options for immediate start, start at a specific date and time, start one hour from the current time, or using the default start date and time.\u003c/p\u003e\n"],["\u003cp\u003eWhen \u003ccode\u003eIMMEDIATELY\u003c/code\u003e or \u003ccode\u003eONE_HOUR_FROM_NOW\u003c/code\u003e is chosen, the \u003ccode\u003estartDateTime\u003c/code\u003e is automatically adjusted, and \u003ccode\u003estartDateTimeType\u003c/code\u003e becomes \u003ccode\u003eUSE_START_DATE_TIME\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUSE_START_DATE_TIME\u003c/code\u003e relies on the provided \u003ccode\u003estartDateTime\u003c/code\u003e value for the entity's start time.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUNKNOWN\u003c/code\u003e is returned if the API version doesn't expose the specific \u003ccode\u003eStartDateTimeType\u003c/code\u003e value.\u003c/p\u003e\n"]]],["The content defines the `StartDateTimeType` for entities like `LineItem` and `LineItemCreativeAssociation` in ad management. It outlines how entities begin serving. `USE_START_DATE_TIME` utilizes the specified start time. `IMMEDIATELY` starts serving at the current time, ignoring the provided start time. `ONE_HOUR_FROM_NOW` starts an hour later, similarly ignoring the specified time. `UNKNOWN` is used when the value is unavailable. These types affect services like `AdRuleService`, `ForecastService`, `LineItemService` and `LiveStreamEventService`.\n"],null,["# enum StartDateTimeType (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.StartDateTimeType) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.StartDateTimeType) **LineItemCreativeAssociation...** [LineItemService](/ad-manager/api/reference/v202408/LineItemService.StartDateTimeType) [LiveStreamEventService](/ad-manager/api/reference/v202408/LiveStreamEventService.StartDateTimeType) **Dependencies** \n[LineItemCreativeAssociation](/ad-manager/api/reference/v202408/LineItemCreativeAssociationService.LineItemCreativeAssociation) \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/v202408/ForecastService.LineItem) or [LineItemCreativeAssociation](/ad-manager/api/reference/v202408/LineItemCreativeAssociationService.LineItemCreativeAssociation).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\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/v202408/LineItemCreativeAssociationService.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/v202408/LineItemCreativeAssociationService.StartDateTimeType#USE_START_DATE_TIME). |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]