Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DayPart

import type { DayPart } from "https://googleapis.deno.dev/v1/adexchangebuyer2:v2beta1.ts";

Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.

interface DayPart {
dayOfWeek?:
| "DAY_OF_WEEK_UNSPECIFIED"
| "MONDAY"
| "TUESDAY"
| "WEDNESDAY"
| "THURSDAY"
| "FRIDAY"
| "SATURDAY"
| "SUNDAY";
endTime?: TimeOfDay;
startTime?: TimeOfDay;
}

§Properties

§
dayOfWeek?: "DAY_OF_WEEK_UNSPECIFIED" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"
[src]

The day of the week to target. If unspecified, applicable to all days.

§
endTime?: TimeOfDay
[src]

The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.

§
startTime?: TimeOfDay
[src]

The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.