type DayPart (v202411)

  • DayPart objects represent a specific time period within a day of the week, used for targeting line items for ad delivery.

  • They are defined by the dayOfWeek, startTime, and endTime fields, allowing for precise scheduling of ad campaigns.

  • DayPart objects are utilized by various services within Google Ad Manager, including LineItemService, ForecastService, and ProposalService, for campaign management and delivery optimization.

  • The dayOfWeek field specifies the day of the week, while startTime and endTime determine the beginning and end of the targeted time period.

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/v202411

Field

dayOfWeek

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

TimeOfDay

Represents the start time of the targeted period (inclusive).

endTime

TimeOfDay

Represents the end time of the targeted period (exclusive).