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

CustomViewabilityMetricConfiguration

import type { CustomViewabilityMetricConfiguration } from "https://googleapis.deno.dev/v1/dfareporting:v4.ts";

The attributes, like playtime and percent onscreen, that define the Custom Viewability Metric.

interface CustomViewabilityMetricConfiguration {
audible?: boolean;
timeMillis?: number;
timePercent?: number;
viewabilityPercent?: number;
}

§Properties

§
audible?: boolean
[src]

Whether the video must be audible to count an impression.

§
timeMillis?: number
[src]

The time in milliseconds the video must play for the Custom Viewability Metric to count an impression. If both this and timePercent are specified, the earlier of the two will be used.

§
timePercent?: number
[src]

The percentage of video that must play for the Custom Viewability Metric to count an impression. If both this and timeMillis are specified, the earlier of the two will be used.

§
viewabilityPercent?: number
[src]

The percentage of video that must be on screen for the Custom Viewability Metric to count an impression.