@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
50 lines (45 loc) • 1.34 kB
text/typescript
import { VideoTrackingUrls } from './VideoTrackingUrls'
import { ThirdPartyDataDeclaration } from './ThirdPartyDataDeclaration'
export enum CreativeWrapperType {
HTML = 'HTML',
VIDEO_TRACKING_URL = 'VIDEO_TRACKING_URL',
UNKNOWN = 'UNKNOWN',
}
export enum Ordering {
NO_PREFERENCE = 'NO_PREFERENCE',
INNER = 'INNER',
OUTER = 'OUTER',
}
export enum Status {
ACTIVE = 'ACTIVE',
INACTIVE = 'INACTIVE',
}
/**
* creativeWrappers
* @targetNSAlias `tns`
* @targetNamespace `https://www.google.com/apis/ads/publisher/v202505`
*/
export interface CreativeWrappers {
/** xsd:long */
id?: number
/** xsd:long */
labelId?: number
/** CreativeWrapperType|xsd:string|HTML,VIDEO_TRACKING_URL,UNKNOWN */
creativeWrapperType?: CreativeWrapperType | keyof typeof CreativeWrapperType
/** xsd:string */
htmlHeader?: string
/** xsd:string */
htmlFooter?: string
/** xsd:string */
ampHead?: string
/** xsd:string */
ampBody?: string
/** videoTrackingUrls[] */
videoTrackingUrls?: Array<VideoTrackingUrls>
/** thirdPartyDataDeclaration */
thirdPartyDataDeclaration?: ThirdPartyDataDeclaration
/** CreativeWrapperOrdering|xsd:string|NO_PREFERENCE,INNER,OUTER */
ordering?: Ordering | keyof typeof Ordering
/** CreativeWrapperStatus|xsd:string|ACTIVE,INACTIVE */
status?: Status | keyof typeof Status
}