public class ForecastService extends Object
| Constructor and Description |
|---|
ForecastService() |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.api.ads.admanager.axis.v201902.ForecastServiceInterface |
createForecastService(com.google.api.ads.admanager.lib.client.AdManagerSession session) |
com.google.api.ads.admanager.axis.v201902.AvailabilityForecast |
getAvailabilityForecast(com.google.api.ads.admanager.lib.client.AdManagerSession session,
com.google.api.ads.admanager.axis.v201902.ProspectiveLineItem prospectiveLineItem,
Boolean includeTargetingCriteriaBreakdown,
Boolean includeContendingLineItems,
com.google.api.ads.admanager.axis.v201902.ForecastBreakdownOptions breakdown)
Retrieves an AvailabilityForecast.
|
com.google.api.ads.admanager.axis.v201902.AvailabilityForecast |
getAvailabilityForecastById(com.google.api.ads.admanager.lib.client.AdManagerSession session,
Long lineItemId,
Boolean includeTargetingCriteriaBreakdown,
Boolean includeContendingLineItems,
com.google.api.ads.admanager.axis.v201902.ForecastBreakdownOptions breakdown)
Retrieves the AvailabilityForecast by the specified ID.
|
com.google.api.ads.admanager.axis.v201902.DeliveryForecast |
getDeliveryForecast(com.google.api.ads.admanager.lib.client.AdManagerSession session,
List<com.google.api.ads.admanager.axis.v201902.ProspectiveLineItem> prospectiveLineItems,
String ignoredLineItems)
Retrieves the Delivery Forecast.
|
com.google.api.ads.admanager.axis.v201902.DeliveryForecast |
getDeliveryForecastByIds(com.google.api.ads.admanager.lib.client.AdManagerSession session,
String lineItemIds,
String ignoredLineItems)
Retrieves the DeliveryForecast by the specified IDs.
|
protected com.google.api.ads.admanager.axis.v201902.ForecastServiceInterface createForecastService(com.google.api.ads.admanager.lib.client.AdManagerSession session)
public com.google.api.ads.admanager.axis.v201902.AvailabilityForecast getAvailabilityForecast(com.google.api.ads.admanager.lib.client.AdManagerSession session,
com.google.api.ads.admanager.axis.v201902.ProspectiveLineItem prospectiveLineItem,
Boolean includeTargetingCriteriaBreakdown,
Boolean includeContendingLineItems,
com.google.api.ads.admanager.axis.v201902.ForecastBreakdownOptions breakdown)
throws AdManagerApiException,
AdManagerCommunicationException
session - the API sessionprospectiveLineItem - the prospectiveLineItemincludeTargetingCriteriaBreakdown - whether to include the targetingincludeContendingLineItems - whether to include the contending line itemsbreakdown - the forecast breakdown optionsAvailabilityForecast the availability forecastAdManagerApiException - if there is a problem with the request made to the API.AdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public com.google.api.ads.admanager.axis.v201902.AvailabilityForecast getAvailabilityForecastById(com.google.api.ads.admanager.lib.client.AdManagerSession session,
Long lineItemId,
Boolean includeTargetingCriteriaBreakdown,
Boolean includeContendingLineItems,
com.google.api.ads.admanager.axis.v201902.ForecastBreakdownOptions breakdown)
throws AdManagerApiException,
AdManagerCommunicationException
session - the API sessionlineItemId - the line item IDincludeTargetingCriteriaBreakdown - whether to include targetingincludeContendingLineItems - whether to include contending line itemsbreakdown - the forecast breakdown optionsAvailabilityForecast the availability forecastAdManagerApiException - if there is a problem with the request made to the API.AdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public com.google.api.ads.admanager.axis.v201902.DeliveryForecast getDeliveryForecast(com.google.api.ads.admanager.lib.client.AdManagerSession session,
List<com.google.api.ads.admanager.axis.v201902.ProspectiveLineItem> prospectiveLineItems,
String ignoredLineItems)
throws AdManagerApiException,
AdManagerCommunicationException
session - the API sessionprospectiveLineItems - a list of ProspectiveLineItemsignoredLineItems - list of ignored comma separated line item IDsDeliveryForecast the delivery forecastAdManagerApiException - if there is a problem with the request made to the API.AdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public com.google.api.ads.admanager.axis.v201902.DeliveryForecast getDeliveryForecastByIds(com.google.api.ads.admanager.lib.client.AdManagerSession session,
String lineItemIds,
String ignoredLineItems)
throws AdManagerApiException,
AdManagerCommunicationException,
AdManagerUserException
session - the API sessionlineItemIds - list of comma separated line item IDsignoredLineItems - list of ignored comma separated line item IDsDeliveryForecast the delivery forecastAdManagerApiException - if there is a problem with the request made to the API.AdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)AdManagerUserException - if there is a user error when using the operation.Copyright © 2010–2019. All rights reserved.