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

Consent

import type { Consent } from "https://googleapis.deno.dev/v1/datamanager:v1.ts";

Digital Markets Act (DMA) consent settings for the user.

interface Consent {
adPersonalization?: "CONSENT_STATUS_UNSPECIFIED" | "CONSENT_GRANTED" | "CONSENT_DENIED";
adUserData?: "CONSENT_STATUS_UNSPECIFIED" | "CONSENT_GRANTED" | "CONSENT_DENIED";
}

§Properties

§
adPersonalization?: "CONSENT_STATUS_UNSPECIFIED" | "CONSENT_GRANTED" | "CONSENT_DENIED"
[src]

Optional. Represents if the user consents to ad personalization.

§
adUserData?: "CONSENT_STATUS_UNSPECIFIED" | "CONSENT_GRANTED" | "CONSENT_DENIED"
[src]

Optional. Represents if the user consents to ad user data.