[[["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 allows for specifying time ranges for targeting within various Google Ad Manager services.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes a \u003ccode\u003etargetedDateTimeRanges\u003c/code\u003e field, which accepts an array of DateTimeRange objects to define the targeted time periods.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for DateTimeRangeTargeting is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDateTimeRangeTargeting is a dependency of the Targeting service within the YieldGroupService.\u003c/p\u003e\n"]]],["The core content details the `DateTimeRangeTargeting` functionality within various services: `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`. It is part of the `https://www.google.com/apis/ads/publisher/v202411` namespace. `DateTimeRangeTargeting` utilizes `targetedDateTimeRanges`, which are an array of `DateTimeRange` objects. The `Targeting` component is a dependency of the YieldGroupService.\n"],null,["# type DateTimeRangeTargeting (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.DateTimeRangeTargeting) [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** **Dependencies** \n[Targeting](/ad-manager/api/reference/v202411/YieldGroupService.Targeting) \n▼\n**DateTimeRangeTargeting**\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/YieldGroupService.DateTimeRange)`[]` \u003cbr /\u003e |"]]