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

Event

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

An event representing a user interaction with an advertiser's website or app.

interface Event {
adIdentifiers?: AdIdentifiers;
cartData?: CartData;
consent?: Consent;
conversionValue?: number;
currency?: string;
customVariables?: CustomVariable[];
destinationReferences?: string[];
eventDeviceInfo?: DeviceInfo;
eventSource?:
| "EVENT_SOURCE_UNSPECIFIED"
| "WEB"
| "APP"
| "IN_STORE"
| "PHONE"
| "OTHER";
eventTimestamp?: Date;
experimentalFields?: ExperimentalField[];
lastUpdatedTimestamp?: Date;
transactionId?: string;
userData?: UserData;
userProperties?: UserProperties;
}

§Properties

§
adIdentifiers?: AdIdentifiers
[src]

Optional. Identifiers and other information used to match the conversion event with other online activity (such as ad clicks).

§
cartData?: CartData
[src]

Optional. Information about the transaction and items associated with the event.

§
conversionValue?: number
[src]

Optional. The conversion value associated with the event, for value-based conversions.

§
currency?: string
[src]

Optional. The currency code associated with all monetary values within this event.

§
customVariables?: CustomVariable[]
[src]

Optional. Additional key/value pair information to send to the conversion containers (conversion action or FL activity).

§
destinationReferences?: string[]
[src]

Optional. Reference string used to determine the destination. If empty, the event will be sent to all destinations in the request.

§
eventDeviceInfo?: DeviceInfo
[src]

Optional. Information gathered about the device being used (if any) when the event happened.

§
eventSource?: "EVENT_SOURCE_UNSPECIFIED" | "WEB" | "APP" | "IN_STORE" | "PHONE" | "OTHER"
[src]

Optional. Signal for where the event happened (web, app, in-store, etc.).

§
eventTimestamp?: Date
[src]

Required. The time the event occurred.

§
experimentalFields?: ExperimentalField[]
[src]

Optional. A list of key/value pairs for experimental fields that may eventually be promoted to be part of the API.

§
lastUpdatedTimestamp?: Date
[src]

Optional. The last time the event was updated.

§
transactionId?: string
[src]

Optional. The unique identifier for this event. Required for conversions using multiple data sources.

§
userData?: UserData
[src]

Optional. Pieces of user provided data, representing the user the event is associated with.

§
userProperties?: UserProperties
[src]

Optional. Advertiser-assessed information about the user at the time that the event happened.