Page Summary
-
DayPart represents a time-period within a day of the week which is targeted by a LineItem.
-
The DayPart object includes fields for the day of the week, a start time, and an end time for the targeted period.
-
The dayOfWeek field is required and specifies the day of the week the target applies to, using an enumeration of the days.
-
startTime represents the inclusive start time of the targeted period, and endTime represents the exclusive end time.
-
DayPart is used within DayPartTargeting and is referenced by various services like AdRuleService and LineItemService.
DayPart
represents a time-period within a day of the week which is
targeted by a LineItem
.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Field
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.
startTime
Represents the start time of the targeted period (inclusive).
endTime
Represents the end time of the targeted period (exclusive).

