All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.ads.dfp.jaxws.v201605.AvailabilityForecast Maven / Gradle / Ivy

There is a newer version: 5.8.0
Show newest version

package com.google.api.ads.dfp.jaxws.v201605;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 *             Describes predicted inventory availability for a {@link ProspectiveLineItem}.
 *             
 *             

Inventory has three threshold values along a line of possible inventory. * From least to most, these are: * *

*
  • Available units -- How many units can be booked without affecting any other line items. * Booking more than this number can cause lower and same priority line items to underdeliver. *
  • Possible units -- How many units can be booked without affecting any higher priority line * items. Booking more than this number can cause the line item to underdeliver. *
  • Matched (forecast) units -- How many units satisfy all specified * criteria. *
  • * *

    Underdelivery is caused by overbooking. However, if more impressions are served than are * predicted, the extra available inventory might enable all inventory guarantees to be met without * overbooking. * * *

    Java class for AvailabilityForecast complex type. * *

    The following schema fragment specifies the expected content contained within this class. * *

     * <complexType name="AvailabilityForecast">
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="lineItemId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
     *         <element name="orderId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
     *         <element name="unitType" type="{https://www.google.com/apis/ads/publisher/v201605}UnitType" minOccurs="0"/>
     *         <element name="availableUnits" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
     *         <element name="deliveredUnits" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
     *         <element name="matchedUnits" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
     *         <element name="possibleUnits" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
     *         <element name="reservedUnits" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
     *         <element name="targetingCriteriaBreakdowns" type="{https://www.google.com/apis/ads/publisher/v201605}TargetingCriteriaBreakdown" maxOccurs="unbounded" minOccurs="0"/>
     *         <element name="contendingLineItems" type="{https://www.google.com/apis/ads/publisher/v201605}ContendingLineItem" maxOccurs="unbounded" minOccurs="0"/>
     *         <element name="alternativeUnitTypeForecasts" type="{https://www.google.com/apis/ads/publisher/v201605}AlternativeUnitTypeForecast" maxOccurs="unbounded" minOccurs="0"/>
     *         <element name="demographicBreakdowns" type="{https://www.google.com/apis/ads/publisher/v201605}GrpDemographicBreakdown" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
    * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AvailabilityForecast", propOrder = { "lineItemId", "orderId", "unitType", "availableUnits", "deliveredUnits", "matchedUnits", "possibleUnits", "reservedUnits", "targetingCriteriaBreakdowns", "contendingLineItems", "alternativeUnitTypeForecasts", "demographicBreakdowns" }) public class AvailabilityForecast { protected Long lineItemId; protected Long orderId; @XmlSchemaType(name = "string") protected UnitType unitType; protected Long availableUnits; protected Long deliveredUnits; protected Long matchedUnits; protected Long possibleUnits; protected Long reservedUnits; protected List targetingCriteriaBreakdowns; protected List contendingLineItems; protected List alternativeUnitTypeForecasts; protected List demographicBreakdowns; /** * Gets the value of the lineItemId property. * * @return * possible object is * {@link Long } * */ public Long getLineItemId() { return lineItemId; } /** * Sets the value of the lineItemId property. * * @param value * allowed object is * {@link Long } * */ public void setLineItemId(Long value) { this.lineItemId = value; } /** * Gets the value of the orderId property. * * @return * possible object is * {@link Long } * */ public Long getOrderId() { return orderId; } /** * Sets the value of the orderId property. * * @param value * allowed object is * {@link Long } * */ public void setOrderId(Long value) { this.orderId = value; } /** * Gets the value of the unitType property. * * @return * possible object is * {@link UnitType } * */ public UnitType getUnitType() { return unitType; } /** * Sets the value of the unitType property. * * @param value * allowed object is * {@link UnitType } * */ public void setUnitType(UnitType value) { this.unitType = value; } /** * Gets the value of the availableUnits property. * * @return * possible object is * {@link Long } * */ public Long getAvailableUnits() { return availableUnits; } /** * Sets the value of the availableUnits property. * * @param value * allowed object is * {@link Long } * */ public void setAvailableUnits(Long value) { this.availableUnits = value; } /** * Gets the value of the deliveredUnits property. * * @return * possible object is * {@link Long } * */ public Long getDeliveredUnits() { return deliveredUnits; } /** * Sets the value of the deliveredUnits property. * * @param value * allowed object is * {@link Long } * */ public void setDeliveredUnits(Long value) { this.deliveredUnits = value; } /** * Gets the value of the matchedUnits property. * * @return * possible object is * {@link Long } * */ public Long getMatchedUnits() { return matchedUnits; } /** * Sets the value of the matchedUnits property. * * @param value * allowed object is * {@link Long } * */ public void setMatchedUnits(Long value) { this.matchedUnits = value; } /** * Gets the value of the possibleUnits property. * * @return * possible object is * {@link Long } * */ public Long getPossibleUnits() { return possibleUnits; } /** * Sets the value of the possibleUnits property. * * @param value * allowed object is * {@link Long } * */ public void setPossibleUnits(Long value) { this.possibleUnits = value; } /** * Gets the value of the reservedUnits property. * * @return * possible object is * {@link Long } * */ public Long getReservedUnits() { return reservedUnits; } /** * Sets the value of the reservedUnits property. * * @param value * allowed object is * {@link Long } * */ public void setReservedUnits(Long value) { this.reservedUnits = value; } /** * Gets the value of the targetingCriteriaBreakdowns property. * *

    * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the targetingCriteriaBreakdowns property. * *

    * For example, to add a new item, do as follows: *

         *    getTargetingCriteriaBreakdowns().add(newItem);
         * 
    * * *

    * Objects of the following type(s) are allowed in the list * {@link TargetingCriteriaBreakdown } * * */ public List getTargetingCriteriaBreakdowns() { if (targetingCriteriaBreakdowns == null) { targetingCriteriaBreakdowns = new ArrayList(); } return this.targetingCriteriaBreakdowns; } /** * Gets the value of the contendingLineItems property. * *

    * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the contendingLineItems property. * *

    * For example, to add a new item, do as follows: *

         *    getContendingLineItems().add(newItem);
         * 
    * * *

    * Objects of the following type(s) are allowed in the list * {@link ContendingLineItem } * * */ public List getContendingLineItems() { if (contendingLineItems == null) { contendingLineItems = new ArrayList(); } return this.contendingLineItems; } /** * Gets the value of the alternativeUnitTypeForecasts property. * *

    * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the alternativeUnitTypeForecasts property. * *

    * For example, to add a new item, do as follows: *

         *    getAlternativeUnitTypeForecasts().add(newItem);
         * 
    * * *

    * Objects of the following type(s) are allowed in the list * {@link AlternativeUnitTypeForecast } * * */ public List getAlternativeUnitTypeForecasts() { if (alternativeUnitTypeForecasts == null) { alternativeUnitTypeForecasts = new ArrayList(); } return this.alternativeUnitTypeForecasts; } /** * Gets the value of the demographicBreakdowns property. * *

    * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the demographicBreakdowns property. * *

    * For example, to add a new item, do as follows: *

         *    getDemographicBreakdowns().add(newItem);
         * 
    * * *

    * Objects of the following type(s) are allowed in the list * {@link GrpDemographicBreakdown } * * */ public List getDemographicBreakdowns() { if (demographicBreakdowns == null) { demographicBreakdowns = new ArrayList(); } return this.demographicBreakdowns; } }





    © 2015 - 2025 Weber Informatics LLC | Privacy Policy