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

AccountsReportsSavedGenerateCsvOptions

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

Additional options for AdSense#accountsReportsSavedGenerateCsv.

interface AccountsReportsSavedGenerateCsvOptions {
currencyCode?: string;
dateRange?:
| "REPORTING_DATE_RANGE_UNSPECIFIED"
| "CUSTOM"
| "TODAY"
| "YESTERDAY"
| "MONTH_TO_DATE"
| "YEAR_TO_DATE"
| "LAST_7_DAYS"
| "LAST_30_DAYS";
[endDate.day]?: number;
[endDate.month]?: number;
[endDate.year]?: number;
languageCode?: string;
reportingTimeZone?: "REPORTING_TIME_ZONE_UNSPECIFIED" | "ACCOUNT_TIME_ZONE" | "GOOGLE_TIME_ZONE";
[startDate.day]?: number;
[startDate.month]?: number;
[startDate.year]?: number;
}

§Properties

§
currencyCode?: string
[src]

The ISO-4217 currency code to use when reporting on monetary metrics. Defaults to the account's currency if not set.

§
dateRange?: "REPORTING_DATE_RANGE_UNSPECIFIED" | "CUSTOM" | "TODAY" | "YESTERDAY" | "MONTH_TO_DATE" | "YEAR_TO_DATE" | "LAST_7_DAYS" | "LAST_30_DAYS"
[src]

Date range of the report, if unset the range will be considered CUSTOM.

§
[endDate.day]?: number
[src]

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

§
[endDate.month]?: number
[src]

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

§
[endDate.year]?: number
[src]

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

§
languageCode?: string
[src]

The language to use for translating report output. If unspecified, this defaults to English ("en"). If the given language is not supported, report output will be returned in English. The language is specified as an IETF BCP-47 language code.

§
reportingTimeZone?: "REPORTING_TIME_ZONE_UNSPECIFIED" | "ACCOUNT_TIME_ZONE" | "GOOGLE_TIME_ZONE"
[src]

Timezone in which to generate the report. If unspecified, this defaults to the account timezone. For more information, see changing the time zone of your reports.

§
[startDate.day]?: number
[src]

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

§
[startDate.month]?: number
[src]

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

§
[startDate.year]?: number
[src]

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.