@clearcodehq/openrtb
Version:
Library with OpenRTB spec types which allows to build and validate OpenRTB objects
28 lines (27 loc) • 597 B
TypeScript
import { Extensible } from './common';
export declare enum LocationType {
GPSLocationServices = 1,
IPAddress = 2,
UserProvided = 3
}
export declare enum IPLocationService {
IP2location = 1,
Neustar = 2,
MaxMind = 3,
NetAcuity = 4
}
export interface Geo extends Extensible {
lat?: number;
lon?: number;
type?: LocationType;
accuracy?: number;
lastfix?: number;
ipservice?: IPLocationService;
country?: string;
region?: string;
regionfips104?: string;
metro?: string;
city?: string;
zip?: string;
utcoffset?: number;
}