PHP Class AvailabilityForecast, googleads-php-lib

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.

    Show file Open project: googleads/googleads-php-lib

    Public Properties

    Property Type Description
    $alternativeUnitTypeForecasts AlternativeUnitTypeForecast[]
    $availableUnits integer
    $contendingLineItems ContendingLineItem[]
    $deliveredUnits integer
    $demographicBreakdowns GrpDemographicBreakdown[]
    $lineItemId integer
    $matchedUnits integer
    $orderId integer
    $possibleUnits integer
    $reservedUnits integer
    $targetingCriteriaBreakdowns TargetingCriteriaBreakdown[]
    $unitType tnsUnitType

    Public Methods

    Method Description
    __construct ( $lineItemId = null, $orderId = null, $unitType = null, $availableUnits = null, $deliveredUnits = null, $matchedUnits = null, $possibleUnits = null, $reservedUnits = null, $targetingCriteriaBreakdowns = null, $contendingLineItems = null, $demographicBreakdowns = null )
    __construct ( $lineItemId = null, $orderId = null, $unitType = null, $availableUnits = null, $deliveredUnits = null, $matchedUnits = null, $possibleUnits = null, $reservedUnits = null, $targetingCriteriaBreakdowns = null, $contendingLineItems = null, $alternativeUnitTypeForecasts = null, $demographicBreakdowns = null )
    getNamespace ( ) : string Gets the namesapce of this class
    getXsiTypeName ( ) : string Gets the xsi:type name of this class

    Method Details

    __construct() public method

    public __construct ( $lineItemId = null, $orderId = null, $unitType = null, $availableUnits = null, $deliveredUnits = null, $matchedUnits = null, $possibleUnits = null, $reservedUnits = null, $targetingCriteriaBreakdowns = null, $contendingLineItems = null, $demographicBreakdowns = null )

    __construct() public method

    public __construct ( $lineItemId = null, $orderId = null, $unitType = null, $availableUnits = null, $deliveredUnits = null, $matchedUnits = null, $possibleUnits = null, $reservedUnits = null, $targetingCriteriaBreakdowns = null, $contendingLineItems = null, $alternativeUnitTypeForecasts = null, $demographicBreakdowns = null )

    getNamespace() public method

    Gets the namesapce of this class
    public getNamespace ( ) : string
    return string the namespace of this class

    getXsiTypeName() public method

    Gets the xsi:type name of this class
    public getXsiTypeName ( ) : string
    return string the xsi:type name of this class

    Property Details

    $alternativeUnitTypeForecasts public property

    public AlternativeUnitTypeForecast[] $alternativeUnitTypeForecasts
    return AlternativeUnitTypeForecast[]

    $availableUnits public property

    public int $availableUnits
    return integer

    $contendingLineItems public property

    public ContendingLineItem[] $contendingLineItems
    return ContendingLineItem[]

    $deliveredUnits public property

    public int $deliveredUnits
    return integer

    $demographicBreakdowns public property

    public GrpDemographicBreakdown[] $demographicBreakdowns
    return GrpDemographicBreakdown[]

    $lineItemId public property

    public int $lineItemId
    return integer

    $matchedUnits public property

    public int $matchedUnits
    return integer

    $orderId public property

    public int $orderId
    return integer

    $possibleUnits public property

    public int $possibleUnits
    return integer

    $reservedUnits public property

    public int $reservedUnits
    return integer

    $targetingCriteriaBreakdowns public property

    public TargetingCriteriaBreakdown[] $targetingCriteriaBreakdowns
    return TargetingCriteriaBreakdown[]

    $unitType public property

    public tnsUnitType $unitType
    return tnsUnitType