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/v202502`
 */
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>
}
