---
title: AdGroupTargetingCreate.Daypart
framework: Apple Ads Platform API
role: symbol
role_heading: Object
platforms: [apple ads platform api 1.0+]
path: apple-ads-platform-api/adgrouptargetingcreate/daypart-data.dictionary
---

# AdGroupTargetingCreate.Daypart

Hour-of-day targeting, restricting delivery to specific one-hour slots in a 7-day week grid.

## Declaration

```data
object AdGroupTargetingCreate.Daypart
```

## Properties

include: Slot integers (0–167) restricting delivery to those one-hour windows in a 7-day week grid starting on Sunday. Mutable. exclude: Has no effect. daypart is include-only.

## Discussion

Discussion Used with App Store and Apple Maps campaigns. Uses the TargetingDataCreate include/exclude shape.  |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |  To convert any slot value: divide by 24 to get the day index (0 = Sunday), and take the remainder to get the hour. Slot values are evaluated in the ad account’s configured time zone.
