Page Summary
-
Day Part Targeting allows you to control when an ad will serve based on the time of day and day of the week.
-
You can choose to use the user's local time or default to the America/New York time zone.
-
You can specify the days of the week and the specific hours within those days for ad serving.
-
Hours are represented by integers from 0 (midnight to 1 AM) to 23 (11 PM to midnight).
Day Part Targeting.
| JSON representation |
|---|
{
"userLocalTime": boolean,
"daysOfWeek": [
enum ( |
| Fields | |
|---|---|
userLocalTime |
Whether or not to use the user's local time. If false, the America/New York time zone applies. |
daysOfWeek[] |
Days of the week when the ad will serve.
|
hoursOfDay[] |
Hours of the day when the ad will serve, where |
DayOfWeek
Generic enumeration for days in a week.
| Enums | |
|---|---|
SUNDAY |
|
MONDAY |
|
TUESDAY |
|
WEDNESDAY |
|
THURSDAY |
|
FRIDAY |
|
SATURDAY |
|