com.google.api.ads.dfp.axis.v201208
Interface NetworkServiceInterface

All Superinterfaces:
Remote
All Known Implementing Classes:
NetworkServiceSoapBindingStub

public interface NetworkServiceInterface
extends Remote


Method Summary
 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.
 

Method Detail

getAllNetworks

Network[] getAllNetworks()
                         throws RemoteException,
                                ApiException
Returns the list of 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.

Returns:
the networks to which the current login has access
Throws:
RemoteException
ApiException

getCurrentNetwork

Network getCurrentNetwork()
                          throws RemoteException,
                                 ApiException
Returns the current network for which requests are being made.

Returns:
the network for which the user is currently making the request
Throws:
RemoteException
ApiException

makeTestNetwork

Network makeTestNetwork()
                        throws RemoteException,
                               ApiException
Creates a new blank network for testing purposes using the current login.

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 DFP UI.

Test networks are limited in the following ways:

Throws:
RemoteException
ApiException

updateNetwork

Network updateNetwork(Network network)
                      throws RemoteException,
                             ApiException
Updates the specified network. Currently, only the network display name can be updated.

Parameters:
network - the network that needs to be updated
Returns:
the updated network
Throws:
RemoteException
ApiException


Copyright © 2012. All Rights Reserved.