@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
38 lines (35 loc) • 1.02 kB
text/typescript
import { Size } from './Size'
import { AppliedLabels } from './AppliedLabels'
export enum CreativeSizeType {
PIXEL = 'PIXEL',
ASPECT_RATIO = 'ASPECT_RATIO',
INTERSTITIAL = 'INTERSTITIAL',
IGNORED = 'IGNORED',
NATIVE = 'NATIVE',
AUDIO = 'AUDIO',
}
/**
* creativePlaceholders
* @targetNSAlias `tns`
* @targetNamespace `https://www.google.com/apis/ads/publisher/v202411`
*/
export interface CreativePlaceholders {
/** size */
size?: Size
/** xsd:long */
creativeTemplateId?: number
/** companions[] */
companions?: Array<CreativePlaceholders>
/** appliedLabels[] */
appliedLabels?: Array<AppliedLabels>
/** effectiveAppliedLabels[] */
effectiveAppliedLabels?: Array<AppliedLabels>
/** xsd:int */
expectedCreativeCount?: number
/** CreativeSizeType|xsd:string|PIXEL,ASPECT_RATIO,INTERSTITIAL,IGNORED,NATIVE,AUDIO */
creativeSizeType?: CreativeSizeType | keyof typeof CreativeSizeType
/** xsd:string */
targetingName?: string
/** xsd:boolean */
isAmpOnly?: boolean
}