UNPKG

@clearcodehq/openrtb

Version:

Library with OpenRTB spec types which allows to build and validate OpenRTB objects

34 lines (33 loc) 760 B
import { AdPosition, APIFramework, CreativeAttribute, Extensible, Flag } from './common'; import { Format } from './format'; export declare enum BannerAdType { XHTMLTextAd = 1, XHTMLBannerAd = 2, JavaScriptAd = 3, Iframe = 4 } export declare enum ExpandableDirection { Left = 1, Right = 2, Up = 3, Down = 4, FullScreen = 5 } export interface Banner extends Extensible { format?: Format[]; w?: number; h?: number; wmax?: number; hmax?: number; wmin?: number; hmin?: number; btype?: BannerAdType[]; battr?: CreativeAttribute[]; pos?: AdPosition; mimes?: string[]; topframe?: Flag; expdir?: ExpandableDirection[]; api?: APIFramework[]; id?: string; vcm?: Flag; }