enum StartDateTimeType (v202411)
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/v202411
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 specifies how an entity with a start date/time, such as a LineItem or LineItemCreativeAssociation, should begin.\u003c/p\u003e\n"],["\u003cp\u003eIt offers options for immediate start, start at a specific date/time, start one hour from the current time, or unknown behavior.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUSE_START_DATE_TIME\u003c/code\u003e, \u003ccode\u003eIMMEDIATELY\u003c/code\u003e, \u003ccode\u003eONE_HOUR_FROM_NOW\u003c/code\u003e, and \u003ccode\u003eUNKNOWN\u003c/code\u003e are the possible enumeration values defining the start type.\u003c/p\u003e\n"],["\u003cp\u003eWhen \u003ccode\u003eIMMEDIATELY\u003c/code\u003e or \u003ccode\u003eONE_HOUR_FROM_NOW\u003c/code\u003e is used, the provided \u003ccode\u003estartDateTime\u003c/code\u003e is ignored and automatically adjusted.\u003c/p\u003e\n"],["\u003cp\u003eThis type is utilized within services like AdRuleService, ForecastService, LineItemService, and LiveStreamEventService, impacting entity scheduling.\u003c/p\u003e\n"]]],["The document outlines `StartDateTimeType`, defining how entities with start dates are handled. It lists available services such as AdRuleService, ForecastService, LineItemService and LiveStreamEventService. Key actions include specifying start times using `USE_START_DATE_TIME`, starting `IMMEDIATELY`, or starting `ONE_HOUR_FROM_NOW`. When using `IMMEDIATELY` or `ONE_HOUR_FROM_NOW`, the start time is set and the type is changed to `USE_START_DATE_TIME`. An `UNKNOWN` value exists for unexposed values.\n"],null,["# enum StartDateTimeType (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.StartDateTimeType) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.StartDateTimeType) **LineItemCreativeAssociation...** [LineItemService](/ad-manager/api/reference/v202411/LineItemService.StartDateTimeType) [LiveStreamEventService](/ad-manager/api/reference/v202411/LiveStreamEventService.StartDateTimeType) **Dependencies** \n[LineItemCreativeAssociation](/ad-manager/api/reference/v202411/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/v202411/ForecastService.LineItem) or [LineItemCreativeAssociation](/ad-manager/api/reference/v202411/LineItemCreativeAssociationService.LineItemCreativeAssociation).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\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/v202411/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/v202411/LineItemCreativeAssociationService.StartDateTimeType#USE_START_DATE_TIME). |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]