# type DayPartTargeting (v202508)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202508/AdRuleService.DayPartTargeting) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202508/AdjustmentService.DayPartTargeting) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.DayPartTargeting) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202508/LineItemService.DayPartTargeting) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202508/NativeStyleService.DayPartTargeting) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202508/ProposalLineItemService.DayPartTargeting) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202508/ProposalService.DayPartTargeting) **PublisherQueryLanguageService** [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202508/TargetingPresetService.DayPartTargeting) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202508/YieldGroupService.DayPartTargeting) **Dependencies** [Targeting](https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.Targeting) ▼ **DayPartTargeting**

Modify the delivery times of line items for particular days of the week. By default, line items
are served at all days and times.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202508`

| ## Field ||
|---|---|
| ### `dayParts` | ` https://developers.google.com/ad-manager/api/reference/v202508/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. <br /> |
| ### `timeZone` | ` https://developers.google.com/ad-manager/api/reference/v202508/PublisherQueryLanguageService.DeliveryTimeZone ` Specifies the time zone to be used for delivering [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) objects. This attribute is optional and defaults to [DeliveryTimeZone.BROWSER](https://developers.google.com/ad-manager/api/reference/v202508/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. <br /> |