@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
38 lines (34 loc) • 881 B
text/typescript
export enum Type {
PREDEFINED = 'PREDEFINED',
FREEFORM = 'FREEFORM',
}
export enum Status {
ACTIVE = 'ACTIVE',
INACTIVE = 'INACTIVE',
UNKNOWN = 'UNKNOWN',
}
export enum ReportableType {
UNKNOWN = 'UNKNOWN',
ON = 'ON',
OFF = 'OFF',
CUSTOM_DIMENSION = 'CUSTOM_DIMENSION',
}
/**
* keys
* @targetNSAlias `tns`
* @targetNamespace `https://www.google.com/apis/ads/publisher/v202408`
*/
export interface Keys {
/** xsd:long */
id?: number
/** xsd:string */
name?: string
/** xsd:string */
displayName?: string
/** CustomTargetingKey.Type|xsd:string|PREDEFINED,FREEFORM */
type?: Type | keyof typeof Type
/** CustomTargetingKey.Status|xsd:string|ACTIVE,INACTIVE,UNKNOWN */
status?: Status | keyof typeof Status
/** ReportableType|xsd:string|UNKNOWN,ON,OFF,CUSTOM_DIMENSION */
reportableType?: ReportableType | keyof typeof ReportableType
}