[[["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 content describes `DayPart`, a time-period targeting option for `LineItem`. Key elements include specifying the `dayOfWeek` (Monday to Sunday), `startTime`, and `endTime`. These fields define a targeted period. Several services utilize `DayPart`, including `AdRuleService`, `ForecastService`, `LineItemService`, among others, and it has a dependency on `DayPartTargeting` . Each service uses the same DayPart struct to apply a target time period to the service.\n"],null,["# type DayPart (v202502)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202502/AdRuleService.DayPart) [AdjustmentService](/ad-manager/api/reference/v202502/AdjustmentService.DayPart) [ForecastService](/ad-manager/api/reference/v202502/ForecastService.DayPart) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.DayPart) [NativeStyleService](/ad-manager/api/reference/v202502/NativeStyleService.DayPart) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.DayPart) [ProposalService](/ad-manager/api/reference/v202502/ProposalService.DayPart) **PublisherQueryLanguageService** [TargetingPresetService](/ad-manager/api/reference/v202502/TargetingPresetService.DayPart) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.DayPart) **Dependencies** \n[DayPartTargeting](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.DayPartTargeting) \n▼\n**DayPart**\n\n\n`DayPart` represents a time-period within a day of the week which is\ntargeted by a [LineItem](/ad-manager/api/reference/v202502/ForecastService.LineItem).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ----- ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `dayOfWeek` | ` `[DayOfWeek](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.DayOfWeek)` ` Day of the week the target applies to. This field is required. *** ** * ** *** **Enumerations** `MONDAY` : The day of week named Monday. `TUESDAY` : The day of week named Tuesday. `WEDNESDAY` : The day of week named Wednesday. `THURSDAY` : The day of week named Thursday. `FRIDAY` : The day of week named Friday. `SATURDAY` : The day of week named Saturday. `SUNDAY` : The day of week named Sunday. \u003cbr /\u003e |\n| ### `startTime` | ` `[TimeOfDay](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.TimeOfDay)` ` Represents the start time of the targeted period (inclusive). |\n| ### `endTime` | ` `[TimeOfDay](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.TimeOfDay)` ` Represents the end time of the targeted period (exclusive). |"]]