[[["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\u003eDayPartTargeting allows you to control the delivery times of line items based on specific days and times of the week.\u003c/p\u003e\n"],["\u003cp\u003eBy default, line items are delivered at all times and days, but DayPartTargeting lets you modify this for more granular control.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify the days of the week and times for delivery, as well as the desired time zone for the line item to be served.\u003c/p\u003e\n"],["\u003cp\u003eThe DeliveryTimeZone can be set to either the publisher's time zone (PUBLISHER) or the user's browser time zone (BROWSER), with the browser time zone being the default.\u003c/p\u003e\n"]]],["The core content describes `DayPartTargeting`, which allows modifying line item delivery times for specific days and times. Key actions include specifying `dayParts` to define when a `LineItem` is delivered, and setting the `timeZone` for delivery, defaulting to the browser's time zone. It works with services like `AdRuleService`, `ForecastService`, and `LineItemService`, with dependencies on `Targeting`. Two time zone enumerations are given: `PUBLISHER` and `BROWSER`.\n"],null,["# type DayPartTargeting (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.DayPartTargeting) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.DayPartTargeting) **ForecastService** [LineItemService](/ad-manager/api/reference/v202411/LineItemService.DayPartTargeting) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.DayPartTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.DayPartTargeting) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.DayPartTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.DayPartTargeting) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.DayPartTargeting) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.DayPartTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202411/ForecastService.Targeting) \n▼\n**DayPartTargeting**\n\nModify the delivery times of line items for particular days of the week. By default, line items\nare served at all days and times.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `dayParts` | ` `[DayPart](/ad-manager/api/reference/v202411/ForecastService.DayPart)`[]` Specifies days of the week and times at which a `LineItem` will be delivered. If targeting all days and times, this value will be ignored. \u003cbr /\u003e |\n| ### `timeZone` | ` `[DeliveryTimeZone](/ad-manager/api/reference/v202411/ForecastService.DeliveryTimeZone)` ` Specifies the time zone to be used for delivering [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem) objects. This attribute is optional and defaults to [DeliveryTimeZone.BROWSER](/ad-manager/api/reference/v202411/ForecastService.DeliveryTimeZone#BROWSER). Setting this has no effect if targeting all days and times. *** ** * ** *** **Enumerations** `PUBLISHER` : Use the time zone of the publisher. `BROWSER` : Use the time zone of the browser. \u003cbr /\u003e |"]]