@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
31 lines (28 loc) • 826 B
text/typescript
import { AdCategory } from './AdCategory'
export enum Types {
COMPETITIVE_EXCLUSION = 'COMPETITIVE_EXCLUSION',
AD_UNIT_FREQUENCY_CAP = 'AD_UNIT_FREQUENCY_CAP',
AD_EXCLUSION = 'AD_EXCLUSION',
CREATIVE_WRAPPER = 'CREATIVE_WRAPPER',
CANONICAL_CATEGORY = 'CANONICAL_CATEGORY',
UNKNOWN = 'UNKNOWN',
}
/**
* labels
* @targetNSAlias `tns`
* @targetNamespace `https://www.google.com/apis/ads/publisher/v202505`
*/
export interface Labels {
/** xsd:long */
id?: number
/** xsd:string */
name?: string
/** xsd:string */
description?: string
/** xsd:boolean */
isActive?: boolean
/** adCategory */
adCategory?: AdCategory
/** LabelType|xsd:string|COMPETITIVE_EXCLUSION,AD_UNIT_FREQUENCY_CAP,AD_EXCLUSION,CREATIVE_WRAPPER,CANONICAL_CATEGORY,UNKNOWN */
types?: Array<Types | keyof typeof Types>
}