public interface NetworkServiceInterface
| Modifier and Type | Method and Description |
|---|---|
List<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.
|
@RequestWrapper(localName="getAllNetworks", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.NetworkServiceInterfacegetAllNetworks") @ResponseWrapper(localName="getAllNetworksResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.NetworkServiceInterfacegetAllNetworksResponse") List<Network> getAllNetworks() throws ApiException_Exception
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.
ApiException_Exception@RequestWrapper(localName="getCurrentNetwork", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.NetworkServiceInterfacegetCurrentNetwork") @ResponseWrapper(localName="getCurrentNetworkResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.NetworkServiceInterfacegetCurrentNetworkResponse") Network getCurrentNetwork() throws ApiException_Exception
ApiException_Exception@RequestWrapper(localName="makeTestNetwork", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.NetworkServiceInterfacemakeTestNetwork") @ResponseWrapper(localName="makeTestNetworkResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.NetworkServiceInterfacemakeTestNetworkResponse") Network makeTestNetwork() throws ApiException_Exception
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:
ForecastService for more info.ApiException_Exception@RequestWrapper(localName="updateNetwork", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.NetworkServiceInterfaceupdateNetwork") @ResponseWrapper(localName="updateNetworkResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.NetworkServiceInterfaceupdateNetworkResponse") Network updateNetwork(Network network) throws ApiException_Exception
network - the network that needs to be updatednetwork - ApiException_ExceptionCopyright © 2018. All Rights Reserved.