[[["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\u003eA \u003ccode\u003eDayPart\u003c/code\u003e in Google Ad Manager allows you to target specific time periods within a day of the week for your line items.\u003c/p\u003e\n"],["\u003cp\u003eIt is defined by the \u003ccode\u003edayOfWeek\u003c/code\u003e, \u003ccode\u003estartTime\u003c/code\u003e, and \u003ccode\u003eendTime\u003c/code\u003e fields, which specify the day, start time, and end time of the targeted period.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDayPart\u003c/code\u003e objects are used by various services like \u003ccode\u003eAdRuleService\u003c/code\u003e, \u003ccode\u003eProposalService\u003c/code\u003e, and \u003ccode\u003eLineItemService\u003c/code\u003e to implement time-based targeting for ad delivery.\u003c/p\u003e\n"]]],["The core content describes the `DayPart` functionality, which targets a specific time period within a day of the week for a `LineItem`. It relies on `DayPartTargeting`. Key fields include `dayOfWeek`, which uses `DayOfWeek` enumerations (Monday-Sunday), `startTime`, and `endTime`, both utilizing `TimeOfDay` to define the targeted period. Several services such as `AdRuleService`, `ForecastService`, `LineItemService`, and `ProposalService` are using the `DayPart` functionality.\n"],null,["# type DayPart (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.DayPart) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.DayPart) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.DayPart) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.DayPart) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.DayPart) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.DayPart) **ProposalService** [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.DayPart) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.DayPart) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.DayPart) **Dependencies** \n[DayPartTargeting](/ad-manager/api/reference/v202408/ProposalService.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/v202408/ForecastService.LineItem).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `dayOfWeek` | ` `[DayOfWeek](/ad-manager/api/reference/v202408/ProposalService.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/v202408/ProposalService.TimeOfDay)` ` Represents the start time of the targeted period (inclusive). |\n| ### `endTime` | ` `[TimeOfDay](/ad-manager/api/reference/v202408/ProposalService.TimeOfDay)` ` Represents the end time of the targeted period (exclusive). |"]]