public class NetworkServiceSoapBindingStub extends org.apache.axis.client.Stub implements NetworkServiceInterface
_call, cachedEndpoint, cachedPassword, cachedPortName, cachedProperties, cachedTimeout, cachedUsername, maintainSession, maintainSessionSet, serviceENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY| Constructor and Description |
|---|
NetworkServiceSoapBindingStub() |
NetworkServiceSoapBindingStub(javax.xml.rpc.Service service) |
NetworkServiceSoapBindingStub(URL endpointURL,
javax.xml.rpc.Service service) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.axis.client.Call |
createCall() |
Network[] |
getAllNetworks()
Returns the list of
Network objects to which the current
login has
access. |
Network |
getCurrentNetwork()
Returns the current network for which requests are being made.
|
Network |
makeTestNetwork()
Creates a new blank network for testing purposes using the
current login.
|
Network |
updateNetwork(Network network)
Updates the specified network.
|
_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, setUsernamepublic NetworkServiceSoapBindingStub()
throws org.apache.axis.AxisFault
org.apache.axis.AxisFaultpublic NetworkServiceSoapBindingStub(URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault
org.apache.axis.AxisFaultpublic NetworkServiceSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault
org.apache.axis.AxisFaultprotected org.apache.axis.client.Call createCall()
throws RemoteException
RemoteExceptionpublic Network[] getAllNetworks() throws RemoteException, ApiException
NetworkServiceInterfaceNetwork objects to which the current
login has
access.
Intended to be used without a network code in the SOAP header when the login may have more than one network associated with it.
getAllNetworks in interface NetworkServiceInterfaceRemoteExceptionApiExceptionpublic Network getCurrentNetwork() throws RemoteException, ApiException
NetworkServiceInterfacegetCurrentNetwork in interface NetworkServiceInterfaceRemoteExceptionApiExceptionpublic Network makeTestNetwork() throws RemoteException, ApiException
NetworkServiceInterface
Each login(i.e. email address) can only have one test network.
Data from
any of your existing networks will not be transferred to the
new test network.
Once the test network is created, the test network can be
used in the API
by supplying the Network.networkCode in the SOAP header
or by
logging into the Ad Manager UI.
Test networks are limited in the following ways:
ForecastService for more info.makeTestNetwork in interface NetworkServiceInterfaceRemoteExceptionApiExceptionpublic Network updateNetwork(Network network) throws RemoteException, ApiException
NetworkServiceInterfaceupdateNetwork in interface NetworkServiceInterfacenetwork - the network that needs to be updatedRemoteExceptionApiExceptionCopyright © 2019. All rights reserved.