@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
25 lines (22 loc) • 570 B
text/typescript
import { Size } from './Size'
export enum EnvironmentType {
BROWSER = 'BROWSER',
VIDEO_PLAYER = 'VIDEO_PLAYER',
}
/**
* adUnitSizes
* @targetNSAlias `tns`
* @targetNamespace `https://www.google.com/apis/ads/publisher/v202505`
*/
export interface AdUnitSizes {
/** size */
size?: Size
/** EnvironmentType|xsd:string|BROWSER,VIDEO_PLAYER */
environmentType?: EnvironmentType | keyof typeof EnvironmentType
/** companions[] */
companions?: Array<AdUnitSizes>
/** xsd:string */
fullDisplayString?: string
/** xsd:boolean */
isAudio?: boolean
}