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

TargetFrequency

import type { TargetFrequency } from "https://googleapis.deno.dev/v1/displayvideo:v3.ts";

Setting that controls the average number of times the ads will show to the same person over a certain period of time.

interface TargetFrequency {
targetCount?: bigint;
timeUnit?:
| "TIME_UNIT_UNSPECIFIED"
| "TIME_UNIT_LIFETIME"
| "TIME_UNIT_MONTHS"
| "TIME_UNIT_WEEKS"
| "TIME_UNIT_DAYS"
| "TIME_UNIT_HOURS"
| "TIME_UNIT_MINUTES";
timeUnitCount?: number;
}

§Properties

§
targetCount?: bigint
[src]

The target number of times, on average, the ads will be shown to the same person in the timespan dictated by time_unit and time_unit_count.

§
timeUnit?: "TIME_UNIT_UNSPECIFIED" | "TIME_UNIT_LIFETIME" | "TIME_UNIT_MONTHS" | "TIME_UNIT_WEEKS" | "TIME_UNIT_DAYS" | "TIME_UNIT_HOURS" | "TIME_UNIT_MINUTES"
[src]

The unit of time in which the target frequency will be applied. The following time unit is applicable: * TIME_UNIT_WEEKS

§
timeUnitCount?: number
[src]

The number of time_unit the target frequency will last. The following restrictions apply based on the value of time_unit: * TIME_UNIT_WEEKS - must be 1