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

DataRange

import type { DataRange } from "https://googleapis.deno.dev/v1/doubleclickbidmanager:v2.ts";

The date range to be reported on.

interface DataRange {
customEndDate?: Date;
customStartDate?: Date;
range?:
| "RANGE_UNSPECIFIED"
| "CUSTOM_DATES"
| "CURRENT_DAY"
| "PREVIOUS_DAY"
| "WEEK_TO_DATE"
| "MONTH_TO_DATE"
| "QUARTER_TO_DATE"
| "YEAR_TO_DATE"
| "PREVIOUS_WEEK"
| "PREVIOUS_MONTH"
| "PREVIOUS_QUARTER"
| "PREVIOUS_YEAR"
| "LAST_7_DAYS"
| "LAST_30_DAYS"
| "LAST_90_DAYS"
| "LAST_365_DAYS"
| "ALL_TIME"
| "LAST_14_DAYS"
| "LAST_60_DAYS";
}

§Properties

§
customEndDate?: Date
[src]

If CUSTOM_DATES is assigned to range, this field specifies the end date for the date range that is reported on. This field is required if using CUSTOM_DATES range and will be ignored otherwise.

§
customStartDate?: Date
[src]

If CUSTOM_DATES is assigned to range, this field specifies the starting date for the date range that is reported on. This field is required if using CUSTOM_DATES range and will be ignored otherwise.

§
range?: "RANGE_UNSPECIFIED" | "CUSTOM_DATES" | "CURRENT_DAY" | "PREVIOUS_DAY" | "WEEK_TO_DATE" | "MONTH_TO_DATE" | "QUARTER_TO_DATE" | "YEAR_TO_DATE" | "PREVIOUS_WEEK" | "PREVIOUS_MONTH" | "PREVIOUS_QUARTER" | "PREVIOUS_YEAR" | "LAST_7_DAYS" | "LAST_30_DAYS" | "LAST_90_DAYS" | "LAST_365_DAYS" | "ALL_TIME" | "LAST_14_DAYS" | "LAST_60_DAYS"
[src]

The preset date range to be reported on. If CUSTOM_DATES is assigned to this field, fields custom_start_date and custom_end_date must be set to specify the custom date range.