public interface ForecastServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
AvailabilityForecast |
getAvailabilityForecast(ProspectiveLineItem lineItem,
AvailabilityForecastOptions forecastOptions)
Gets the availability forecast for a
ProspectiveLineItem. |
AvailabilityForecast |
getAvailabilityForecastById(Long lineItemId,
AvailabilityForecastOptions forecastOptions)
Gets an
AvailabilityForecast for an existing LineItem object. |
DeliveryForecast |
getDeliveryForecast(ProspectiveLineItem[] lineItems,
DeliveryForecastOptions forecastOptions)
Gets the delivery forecast for a list of
ProspectiveLineItem
objects in a single
delivery simulation with line items potentially contending
with each other. |
DeliveryForecast |
getDeliveryForecastByIds(long[] lineItemIds,
DeliveryForecastOptions forecastOptions)
Gets the delivery forecast for a list of existing
LineItem
objects in a single delivery
simulation. |
TrafficDataResponse |
getTrafficData(TrafficDataRequest trafficDataRequest)
Returns forecasted and historical traffic data for the segment
of traffic specified by the
provided request.
|
AvailabilityForecast getAvailabilityForecast(ProspectiveLineItem lineItem, AvailabilityForecastOptions forecastOptions) throws RemoteException, ApiException
ProspectiveLineItem.
An availability forecast
reports the maximum number of available units that the line
item can book, and the total number
of units matching the line item's targeting.RemoteExceptionApiExceptionAvailabilityForecast getAvailabilityForecastById(Long lineItemId, AvailabilityForecastOptions forecastOptions) throws RemoteException, ApiException
AvailabilityForecast for an existing LineItem object. An availability
forecast reports the maximum number of available units that
the line item can be booked with,
and also the total number of units matching the line item's
targeting.
Only line items having type LineItemType.SPONSORSHIP
or LineItemType.STANDARD are valid. Other types will result
in ReservationDetailsError.Reason#LINE_ITEM_TYPE_NOT_ALLOWED.
RemoteExceptionApiExceptionDeliveryForecast getDeliveryForecast(ProspectiveLineItem[] lineItems, DeliveryForecastOptions forecastOptions) throws RemoteException, ApiException
ProspectiveLineItem
objects in a single
delivery simulation with line items potentially contending
with each other. A delivery forecast
reports the number of units that will be delivered to each
line item given the line item goals
and contentions from other line items.RemoteExceptionApiExceptionDeliveryForecast getDeliveryForecastByIds(long[] lineItemIds, DeliveryForecastOptions forecastOptions) throws RemoteException, ApiException
LineItem
objects in a single delivery
simulation. A delivery forecast reports the number of units
that will be delivered to each line
item given the line item goals and contentions from other
line items.RemoteExceptionApiExceptionTrafficDataResponse getTrafficData(TrafficDataRequest trafficDataRequest) throws RemoteException, ApiException
Calling this endpoint programmatically is only available for Ad Manager 360 networks.
RemoteExceptionApiExceptionCopyright © 2023. All rights reserved.