export enum UnitType {
  IMPRESSIONS = 'IMPRESSIONS',
  CLICKS = 'CLICKS',
  CLICK_THROUGH_CPA_CONVERSIONS = 'CLICK_THROUGH_CPA_CONVERSIONS',
  VIEW_THROUGH_CPA_CONVERSIONS = 'VIEW_THROUGH_CPA_CONVERSIONS',
  TOTAL_CPA_CONVERSIONS = 'TOTAL_CPA_CONVERSIONS',
  VIEWABLE_IMPRESSIONS = 'VIEWABLE_IMPRESSIONS',
  IN_TARGET_IMPRESSIONS = 'IN_TARGET_IMPRESSIONS',
  UNKNOWN = 'UNKNOWN',
}

/**
 * lineItemDeliveryForecasts
 * @targetNSAlias `tns`
 * @targetNamespace `https://www.google.com/apis/ads/publisher/v202408`
 */
export interface LineItemDeliveryForecasts {
  /** xsd:long */
  lineItemId?: number
  /** xsd:long */
  orderId?: number
  /** UnitType|xsd:string|IMPRESSIONS,CLICKS,CLICK_THROUGH_CPA_CONVERSIONS,VIEW_THROUGH_CPA_CONVERSIONS,TOTAL_CPA_CONVERSIONS,VIEWABLE_IMPRESSIONS,IN_TARGET_IMPRESSIONS,UNKNOWN */
  unitType?: UnitType | keyof typeof UnitType
  /** xsd:long */
  predictedDeliveryUnits?: number
  /** xsd:long */
  deliveredUnits?: number
  /** xsd:long */
  matchedUnits?: number
}
