is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours
9
,
15
, and
16
) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm. Acceptable values are
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-02 UTC."],[[["\u003cp\u003eDay part targeting allows you to control when your ads are shown based on the user's local time or America/New York time zone.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify the days of the week and hours of the day for your ads to be served using the \u003ccode\u003edaysOfWeek\u003c/code\u003e and \u003ccode\u003ehoursOfDay\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDayOfWeek\u003c/code\u003e is a generic enumeration representing the days of the week, including \u003ccode\u003eSUNDAY\u003c/code\u003e, \u003ccode\u003eMONDAY\u003c/code\u003e, \u003ccode\u003eTUESDAY\u003c/code\u003e, \u003ccode\u003eWEDNESDAY\u003c/code\u003e, \u003ccode\u003eTHURSDAY\u003c/code\u003e, \u003ccode\u003eFRIDAY\u003c/code\u003e, and \u003ccode\u003eSATURDAY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAds can be scheduled to run on specific days and within specific timeframes, such as Monday, Wednesday, and Friday from 9-10 AM and 3-5 PM.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003euserLocalTime\u003c/code\u003e field dictates whether the ad serving schedule is based on the user's local time or America/New York time.\u003c/p\u003e\n"]]],[],null,["- [JSON representation](#SCHEMA_REPRESENTATION)\n\nDay Part Targeting.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"userLocalTime\": boolean, \"daysOfWeek\": [ enum (/doubleclick-advertisers/rest/Shared.Types/DayOfWeek) ], \"hoursOfDay\": [ integer ] } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `userLocalTime` | `boolean` Whether or not to use the user's local time. If false, the America/New York time zone applies. |\n| `daysOfWeek[]` | `enum (`[DayOfWeek](/doubleclick-advertisers/rest/Shared.Types/DayOfWeek)`)` Days of the week when the ad will serve. Acceptable values are: - \"\u003cbr /\u003e `SUNDAY` \" - \"\u003cbr /\u003e `MONDAY` \" - \"\u003cbr /\u003e `TUESDAY` \" - \"\u003cbr /\u003e `WEDNESDAY` \" - \"\u003cbr /\u003e `THURSDAY` \" - \"\u003cbr /\u003e `FRIDAY` \" - \"\u003cbr /\u003e `SATURDAY` \" \u003cbr /\u003e |\n| `hoursOfDay[]` | `integer` Hours of the day when the ad will serve, where `0` is midnight to 1 AM and `23` is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours `9` , `15` , and `16` ) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm. Acceptable values are `0` to `23` , inclusive. |"]]