com.google.api.ads.dfp.axis.v201204
Class ForecastServiceSoapBindingStub

java.lang.Object
  extended by org.apache.axis.client.Stub
      extended by com.google.api.ads.dfp.axis.v201204.ForecastServiceSoapBindingStub
All Implemented Interfaces:
ForecastServiceInterface, Remote, javax.xml.rpc.Stub

public class ForecastServiceSoapBindingStub
extends org.apache.axis.client.Stub
implements ForecastServiceInterface


Field Summary
 
Fields inherited from class org.apache.axis.client.Stub
_call, cachedEndpoint, cachedPassword, cachedPortName, cachedProperties, cachedTimeout, cachedUsername, maintainSession, maintainSessionSet, service
 
Fields inherited from interface javax.xml.rpc.Stub
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
ForecastServiceSoapBindingStub()
           
ForecastServiceSoapBindingStub(javax.xml.rpc.Service service)
           
ForecastServiceSoapBindingStub(URL endpointURL, javax.xml.rpc.Service service)
           
 
Method Summary
protected  org.apache.axis.client.Call createCall()
           
 Forecast getForecast(LineItem lineItem)
          Gets a Forecast on a prospective LineItem object.
 Forecast getForecastById(Long lineItemId)
          Gets a Forecast for an existing LineItem object.
 
Methods inherited from class org.apache.axis.client.Stub
_createCall, _getCall, _getProperty, _getPropertyNames, _getService, _setProperty, addAttachment, clearAttachments, clearHeaders, extractAttachments, firstCall, getAttachments, getHeader, getHeaders, getPassword, getPortName, getResponseHeader, getResponseHeaders, getResponseHeaders, getTimeout, getUsername, removeProperty, setAttachments, setHeader, setHeader, setMaintainSession, setPassword, setPortName, setPortName, setRequestHeaders, setTimeout, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForecastServiceSoapBindingStub

public ForecastServiceSoapBindingStub()
                               throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

ForecastServiceSoapBindingStub

public ForecastServiceSoapBindingStub(URL endpointURL,
                                      javax.xml.rpc.Service service)
                               throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

ForecastServiceSoapBindingStub

public ForecastServiceSoapBindingStub(javax.xml.rpc.Service service)
                               throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault
Method Detail

createCall

protected org.apache.axis.client.Call createCall()
                                          throws RemoteException
Throws:
RemoteException

getForecast

public Forecast getForecast(LineItem lineItem)
                     throws RemoteException,
                            ApiException
Description copied from interface: ForecastServiceInterface
Gets a Forecast on a prospective LineItem object. Valid values for LineItemSummary.lineItemType are LineItemType.SPONSORSHIP and LineItemType.STANDARD. Other values will result in ReservationDetailsError.Reason#LINE_ITEM_TYPE_NOT_ALLOWED.

Specified by:
getForecast in interface ForecastServiceInterface
Parameters:
lineItem - the target of the forecast. Must be a prospective line item that has not yet been booked in the system. i.e. LineItemSummary.id must be null.
Returns:
the forecasted traffic estimates
Throws:
RemoteException
ApiException

getForecastById

public Forecast getForecastById(Long lineItemId)
                         throws RemoteException,
                                ApiException
Description copied from interface: ForecastServiceInterface
Gets a Forecast for an existing LineItem object. Only line items having type LineItemType.SPONSORSHIP or LineItemType.STANDARD are valid. Other types will result in ReservationDetailsError.Reason#LINE_ITEM_TYPE_NOT_ALLOWED.

Specified by:
getForecastById in interface ForecastServiceInterface
Parameters:
lineItemId - the ID of a LineItem to run the forecast on.
Returns:
the forecasted traffic estimates
Throws:
RemoteException
ApiException


Copyright © 2012. All Rights Reserved.