/** * Method to estimate the impressions required to fulfill a given * campaign lifetime impression, click, or conversion requirement. If * more than one requirement exists the smallest calculated impression * requirement will be returned. * * The $oCampaign parameter is passed by reference and will have * the calculated impression requirement added to it in the position * $oCampaign->requiredImpressions * * @param OX_Maintenance_Priority_Campaign $oCampaign */ function getCampaignImpressionInventoryRequirement(&$oCampaign) { parent::getCampaignImpressionInventoryRequirement($oCampaign, 'total'); }
/** * Method to estimate the impressions required to fulfill a given * campaign daily impression, click, or conversion requirement. If more * than one requirement exists the smallest calculated impression * requirement will be returned. * * The $oCampaign parameter is passed by reference and will have * the calculated impression requirement added to it in the position * $oCampaign->requiredImpressions * * @param OX_Maintenance_Priority_Campaign $oCampaign */ function getCampaignImpressionInventoryRequirement($oCampaign, $type = 'daily', $ignorePast = false) { parent::getCampaignImpressionInventoryRequirement($oCampaign, 'daily'); }