public interface NetworkServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
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.
|
ThirdPartyDataDeclaration |
getDefaultThirdPartyDataDeclaration()
Returns the default
ThirdPartyDataDeclaration for this
network. |
Network |
makeTestNetwork()
Creates a new blank network for testing purposes using the
current login.
|
Network |
updateNetwork(Network network)
Updates the specified network.
|
Network[] getAllNetworks() throws RemoteException, ApiException
Network 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.
RemoteExceptionApiExceptionNetwork getCurrentNetwork() throws RemoteException, ApiException
RemoteExceptionApiExceptionThirdPartyDataDeclaration getDefaultThirdPartyDataDeclaration() throws RemoteException, ApiException
ThirdPartyDataDeclaration for this
network. If this setting has
never been updated on your network, then this API response
will be empty.RemoteExceptionApiExceptionNetwork makeTestNetwork() throws RemoteException, ApiException
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.
RemoteExceptionApiExceptionNetwork updateNetwork(Network network) throws RemoteException, ApiException
RemoteExceptionApiExceptionCopyright © 2023. All rights reserved.