[[["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."],[],["The `DayPartTargeting` feature allows modification of line item delivery times for specific days and times. Key information includes the `dayParts` field, which defines targeted days and times, and the `timeZone` field. This time zone can be set to either the publisher's or the browser's time zone, defaulting to the latter if not specified. Several services, including `AdRuleService` and `ForecastService`, utilize `DayPartTargeting`. `Targeting` is a dependency for this functionality.\n"],null,["**Service** \n[AdRuleService](/ad-manager/api/reference/v202502/AdRuleService.DayPartTargeting) [AdjustmentService](/ad-manager/api/reference/v202502/AdjustmentService.DayPartTargeting) [ForecastService](/ad-manager/api/reference/v202502/ForecastService.DayPartTargeting) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.DayPartTargeting) [NativeStyleService](/ad-manager/api/reference/v202502/NativeStyleService.DayPartTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.DayPartTargeting) [ProposalService](/ad-manager/api/reference/v202502/ProposalService.DayPartTargeting) **PublisherQueryLanguageService** [TargetingPresetService](/ad-manager/api/reference/v202502/TargetingPresetService.DayPartTargeting) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.DayPartTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.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/v202502`\n\n| Field ||\n|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `dayParts` | ` `[DayPart](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.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/v202502/PublisherQueryLanguageService.DeliveryTimeZone)` ` Specifies the time zone to be used for delivering [LineItem](/ad-manager/api/reference/v202502/ForecastService.LineItem) objects. This attribute is optional and defaults to [DeliveryTimeZone.BROWSER](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.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 |"]]