@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
25 lines (24 loc) • 608 B
TypeScript
export declare enum TimeUnit {
MINUTE = "MINUTE",
HOUR = "HOUR",
DAY = "DAY",
WEEK = "WEEK",
MONTH = "MONTH",
LIFETIME = "LIFETIME",
POD = "POD",
STREAM = "STREAM",
UNKNOWN = "UNKNOWN"
}
/**
* frequencyCaps
* @targetNSAlias `tns`
* @targetNamespace `https://www.google.com/apis/ads/publisher/v202411`
*/
export interface FrequencyCaps {
/** xsd:int */
maxImpressions?: number;
/** xsd:int */
numTimeUnits?: number;
/** TimeUnit|xsd:string|MINUTE,HOUR,DAY,WEEK,MONTH,LIFETIME,POD,STREAM,UNKNOWN */
timeUnit?: TimeUnit | keyof typeof TimeUnit;
}