[[["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 targeted time periods.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is part of the AdRuleService and is associated with various other services like AdjustmentService, ForecastService, and more.\u003c/p\u003e\n"],["\u003cp\u003eDateTimeRangeTargeting can be accessed and managed through the Google Ad Manager API under the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etargetedDateTimeRanges\u003c/code\u003e field within DateTimeRangeTargeting allows you to define an array of DateTimeRange objects for scheduling ad delivery.\u003c/p\u003e\n"]]],["The `DateTimeRangeTargeting` specifies the time periods when a line item can serve. It's a dependency for the `AdRuleService`, with links to multiple other services including `AdjustmentService`, `ForecastService`, and `LineItemService`. The core element is the `targetedDateTimeRanges` field, which is an array of `DateTimeRange` objects. The namespace for this information is `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# type DateTimeRangeTargeting (v202411)\n\n**Service** \n**AdRuleService** [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.DateTimeRangeTargeting) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.DateTimeRangeTargeting) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.DateTimeRangeTargeting) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.DateTimeRangeTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.DateTimeRangeTargeting) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.DateTimeRangeTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.DateTimeRangeTargeting) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.DateTimeRangeTargeting) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.DateTimeRangeTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202411/AdRuleService.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/v202411`\n\n| Field ----- ||\n|------------------------------|----------------------------------------------------------------------------------------------|\n| ### `targetedDateTimeRanges` | ` `[DateTimeRange](/ad-manager/api/reference/v202411/AdRuleService.DateTimeRange)`[]` \u003cbr /\u003e |"]]