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

FrequencyCap

import type { FrequencyCap } from "https://googleapis.deno.dev/v1/adexchangebuyer2:v2beta1.ts";

Frequency cap.

interface FrequencyCap {
maxImpressions?: number;
numTimeUnits?: number;
timeUnitType?:
| "TIME_UNIT_TYPE_UNSPECIFIED"
| "MINUTE"
| "HOUR"
| "DAY"
| "WEEK"
| "MONTH"
| "LIFETIME"
| "POD"
| "STREAM";
}

§Properties

§
maxImpressions?: number
[src]

The maximum number of impressions that can be served to a user within the specified time period.

§
numTimeUnits?: number
[src]

The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.

§
timeUnitType?: "TIME_UNIT_TYPE_UNSPECIFIED" | "MINUTE" | "HOUR" | "DAY" | "WEEK" | "MONTH" | "LIFETIME" | "POD" | "STREAM"
[src]

The time unit. Along with num_time_units defines the amount of time over which impressions per user are counted and capped.