@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
36 lines (32 loc) • 876 B
text/typescript
import { ParentPath } from './ParentPath'
import { SuggestedAdUnitSizes } from './SuggestedAdUnitSizes'
export enum TargetWindow {
TOP = 'TOP',
BLANK = 'BLANK',
}
export enum TargetPlatform {
WEB = 'WEB',
MOBILE = 'MOBILE',
ANY = 'ANY',
}
/**
* results
* @targetNSAlias `tns`
* @targetNamespace `https://www.google.com/apis/ads/publisher/v202411`
*/
export interface Results {
/** xsd:string */
id?: string
/** xsd:long */
numRequests?: number
/** xsd:string */
path?: Array<string>
/** parentPath[] */
parentPath?: Array<ParentPath>
/** AdUnit.TargetWindow|xsd:string|TOP,BLANK */
targetWindow?: TargetWindow | keyof typeof TargetWindow
/** TargetPlatform|xsd:string|WEB,MOBILE,ANY */
targetPlatform?: TargetPlatform | keyof typeof TargetPlatform
/** suggestedAdUnitSizes[] */
suggestedAdUnitSizes?: Array<SuggestedAdUnitSizes>
}