Represents one period of a Google Ads ad extension schedule. For instance, if an ad extension were set up to only show on ads on weekdays from 09:00 to 18:00, it would have five ExtensionSchedules: one for Monday 09:00 - 18:00, one for Tuesday 09:00 - 18:00, and so on.


```
 var monday = {
   dayOfWeek: "MONDAY",
   startHour: 9,
   startMinute: 0,
   endHour: 18,
   endMinute: 0
 };
 var tuesday = {
   dayOfWeek: "TUESDAY",
   startHour: 9,
   startMinute: 0,
   endHour: 18,
   endMinute: 0
 };

 sitelink.setSchedules([monday, tuesday]);
```

### Methods:

| Member | Type | Description |
|---|---|---|
| [getDayOfWeek()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_extensionschedule#getDayOfWeek) | `String` | Returns the day of week this schedule applies to. |
| [getEndHour()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_extensionschedule#getEndHour) | `int` | Returns the ending hour of this schedule. |
| [getEndMinute()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_extensionschedule#getEndMinute) | `int` | Returns the ending minute of this schedule. |
| [getEntityType()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_extensionschedule#getEntityType) | `String` | Returns the type of this entity as a `String`, in this case, `"ExtensionSchedule"`. |
| [getStartHour()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_extensionschedule#getStartHour) | `int` | Returns the starting hour of this schedule. |
| [getStartMinute()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_extensionschedule#getStartMinute) | `int` | Returns the starting minute of this schedule. |

## `getDayOfWeek()`

Returns the day of week this schedule applies to.

Possible values: `"MONDAY"`, `"TUESDAY"`,
`"WEDNESDAY"`, `"THURSDAY"`, `"FRIDAY"`,
`"SATURDAY"`, or `"SUNDAY"`.

### Return values:

| Type | Description |
|---|---|
| `String` | The day of week this schedule applies to. |

## `getEndHour()`

Returns the ending hour of this schedule.

The time is based on a 24-hour clock. Valid ending times range from
`00:15` to `24:00`. So, for instance, a schedule
which ends at 15:30 would return `15` as the value of
`getEndHour()`.

### Return values:

| Type | Description |
|---|---|
| `int` | The ending hour of this schedule. |

## `getEndMinute()`

Returns the ending minute of this schedule.

For instance, a schedule which ends at 15:30 would return
`30` as the value of `getEndMinute()`. The only
possible return values are `0`, `15`,
`30`, and `45`.

### Return values:

| Type | Description |
|---|---|
| `int` | The ending minute of this schedule. |

## `getEntityType()`

Returns the type of this entity as a `String`, in this case, `"ExtensionSchedule"`.

### Return values:

| Type | Description |
|---|---|
| `String` | Type of this entity: `"ExtensionSchedule"`. |

## `getStartHour()`

Returns the starting hour of this schedule.

The time is based on a 24-hour clock. Valid starting times range from
`00:00` to `23:45`. So, for instance, a schedule
which starts at 15:30 would return `15` as the value of
`getStartHour()`.

### Return values:

| Type | Description |
|---|---|
| `int` | The starting hour of this schedule. |

## `getStartMinute()`

Returns the starting minute of this schedule.

For instance, a schedule which starts at 15:30 would return
`30` as the value of `getStartMinute()`. The only
possible return values are `0`, `15`,
`30`, and `45`.

### Return values:

| Type | Description |
|---|---|
| `int` | The starting minute of this schedule. |