# type DayPartTargeting (v202602)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.DayPartTargeting) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202602/AdjustmentService.DayPartTargeting) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.DayPartTargeting) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.DayPartTargeting) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202602/NativeStyleService.DayPartTargeting) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.DayPartTargeting) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.DayPartTargeting) **PublisherQueryLanguageService** [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.DayPartTargeting) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202602/YieldGroupService.DayPartTargeting) **Dependencies** [Targeting](https://developers.google.com/ad-manager/api/reference/v202602/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/v202602`

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