[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eDateTimeRange specifies a timeframe using start and end DateTime values within the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003eIt's used within various services like AdRuleService, AdjustmentService, and YieldGroupService for scheduling and targeting purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe DateTimeRange object has two fields: startDateTime and endDateTime, both represented as DateTime objects.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize DateTimeRange to define periods for ad rules, adjustments, forecasts, line items, and more within their Ad Manager workflows.\u003c/p\u003e\n"]]],["The core content outlines several services, including AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService. These services utilize `DateTimeRange`, which is defined with a namespace (`https://www.google.com/apis/ads/publisher/v202408`) and has two fields: `startDateTime` and `endDateTime`. Each of these fields uses the `DateTime` type, according to the context. `DateTimeRangeTargeting` depends on `DateTimeRange`.\n"],null,["# type DateTimeRange (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.DateTimeRange) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.DateTimeRange) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.DateTimeRange) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.DateTimeRange) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.DateTimeRange) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.DateTimeRange) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.DateTimeRange) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.DateTimeRange) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.DateTimeRange) **YieldGroupService** **Dependencies** \n[DateTimeRangeTargeting](/ad-manager/api/reference/v202408/YieldGroupService.DateTimeRangeTargeting) \n▼\n**DateTimeRange**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|---------------------|---------------------------------------------------------------------------------------|\n| ### `startDateTime` | ` `[DateTime](/ad-manager/api/reference/v202408/YieldGroupService.DateTime)` ` \u003cbr /\u003e |\n| ### `endDateTime` | ` `[DateTime](/ad-manager/api/reference/v202408/YieldGroupService.DateTime)` ` \u003cbr /\u003e |"]]