[[["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\u003eDateTimeRangeTargeting defines the specific date and time ranges during which a line item is eligible to serve ads.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes DateTimeRange objects to specify these periods, allowing for targeted ad delivery.\u003c/p\u003e\n"],["\u003cp\u003eThis targeting feature applies to various services within Google Ad Manager, including LineItemService, ProposalLineItemService, and AdRuleService.\u003c/p\u003e\n"],["\u003cp\u003eThe DateTimeRangeTargeting is defined within the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003etargetedDateTimeRanges\u003c/code\u003e field within DateTimeRangeTargeting accepts an array of DateTimeRange objects for defining the eligible time ranges.\u003c/p\u003e\n"]]],["The core content outlines the `DateTimeRangeTargeting` feature within the Google Ad Manager API, specifically version v202408. It is a dependency for several services like `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, and others. `DateTimeRangeTargeting` defines the date and time periods a line item is eligible to serve. It uses an array of `DateTimeRange` objects through the field `targetedDateTimeRanges` to set these periods. The namespace for this feature is also provided.\n"],null,["# type DateTimeRangeTargeting (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.DateTimeRangeTargeting) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.DateTimeRangeTargeting) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.DateTimeRangeTargeting) **LineItemService** [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.DateTimeRangeTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.DateTimeRangeTargeting) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.DateTimeRangeTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.DateTimeRangeTargeting) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.DateTimeRangeTargeting) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.DateTimeRangeTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202408/LineItemService.Targeting) \n▼\n**DateTimeRangeTargeting**\n\nThe date time ranges that the line item is eligible to serve.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|------------------------------|------------------------------------------------------------------------------------------------|\n| ### `targetedDateTimeRanges` | ` `[DateTimeRange](/ad-manager/api/reference/v202408/LineItemService.DateTimeRange)`[]` \u003cbr /\u003e |"]]