Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202111.NetworkService Class Reference

Provides operations for retrieving information related to the publisher's networks. This service can be used to obtain the list of all networks that the current login has access to, or to obtain information about a specific network. More...

Inheritance diagram for Google.Api.Ads.AdManager.v202111.NetworkService:
Google.Api.Ads.AdManager.v202111.INetworkService Google.Api.Ads.AdManager.v202111.NetworkServiceInterface

Public Member Functions

 NetworkService ()
 Creates a new instance of the NetworkService class. More...
 
 NetworkService (string endpointConfigurationName)
 Creates a new instance of the NetworkService class. More...
 
 NetworkService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the NetworkService class. More...
 
 NetworkService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the NetworkService class. More...
 
 NetworkService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the NetworkService class. More...
 
virtual
Google.Api.Ads.AdManager.v202111.Network[] 
getAllNetworks ()
 Returns the list of Network objects to which the current login has access. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202111.Network[]> 
getAllNetworksAsync ()
 
virtual
Google.Api.Ads.AdManager.v202111.Network 
getCurrentNetwork ()
 Returns the current network for which requests are being made. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202111.Network
getCurrentNetworkAsync ()
 
virtual
Google.Api.Ads.AdManager.v202111.ThirdPartyDataDeclaration 
getDefaultThirdPartyDataDeclaration ()
 Returns the default ThirdPartyDataDeclaration for this network. If this setting has never been updated on your network, then this API response will be empty. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202111.ThirdPartyDataDeclaration
getDefaultThirdPartyDataDeclarationAsync ()
 
virtual
Google.Api.Ads.AdManager.v202111.Network 
makeTestNetwork ()
 Creates a new blank network for testing purposes using the current login. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202111.Network
makeTestNetworkAsync ()
 
virtual
Google.Api.Ads.AdManager.v202111.Network 
updateNetwork (Google.Api.Ads.AdManager.v202111.Network network)
 Updates the specified network. Currently, only the network display name can be updated. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202111.Network
updateNetworkAsync (Google.Api.Ads.AdManager.v202111.Network network)
 

Detailed Description

Provides operations for retrieving information related to the publisher's networks. This service can be used to obtain the list of all networks that the current login has access to, or to obtain information about a specific network.

Constructor & Destructor Documentation

Google.Api.Ads.AdManager.v202111.NetworkService.NetworkService ( )
inline

Creates a new instance of the NetworkService class.

Google.Api.Ads.AdManager.v202111.NetworkService.NetworkService ( string  endpointConfigurationName)
inline

Creates a new instance of the NetworkService class.

Google.Api.Ads.AdManager.v202111.NetworkService.NetworkService ( string  endpointConfigurationName,
string  remoteAddress 
)
inline

Creates a new instance of the NetworkService class.

Google.Api.Ads.AdManager.v202111.NetworkService.NetworkService ( string  endpointConfigurationName,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the NetworkService class.

Google.Api.Ads.AdManager.v202111.NetworkService.NetworkService ( System.ServiceModel.Channels.Binding  binding,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the NetworkService class.

Member Function Documentation

virtual Google.Api.Ads.AdManager.v202111.Network [] Google.Api.Ads.AdManager.v202111.NetworkService.getAllNetworks ( )
inlinevirtual

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

Implements Google.Api.Ads.AdManager.v202111.INetworkService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202111.Network[]> Google.Api.Ads.AdManager.v202111.NetworkService.getAllNetworksAsync ( )
inlinevirtual
virtual Google.Api.Ads.AdManager.v202111.Network Google.Api.Ads.AdManager.v202111.NetworkService.getCurrentNetwork ( )
inlinevirtual

Returns the current network for which requests are being made.

Returns
the network for which the user is currently making the request

Implements Google.Api.Ads.AdManager.v202111.NetworkServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202111.Network> Google.Api.Ads.AdManager.v202111.NetworkService.getCurrentNetworkAsync ( )
inlinevirtual
virtual Google.Api.Ads.AdManager.v202111.ThirdPartyDataDeclaration Google.Api.Ads.AdManager.v202111.NetworkService.getDefaultThirdPartyDataDeclaration ( )
inlinevirtual

Returns the default ThirdPartyDataDeclaration for this network. If this setting has never been updated on your network, then this API response will be empty.

Implements Google.Api.Ads.AdManager.v202111.NetworkServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202111.ThirdPartyDataDeclaration> Google.Api.Ads.AdManager.v202111.NetworkService.getDefaultThirdPartyDataDeclarationAsync ( )
inlinevirtual
virtual Google.Api.Ads.AdManager.v202111.Network Google.Api.Ads.AdManager.v202111.NetworkService.makeTestNetwork ( )
inlinevirtual

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 Ad Manager UI.

Test networks are limited in the following ways:

  • Test networks cannot serve ads.
  • Because test networks cannot serve ads, reports will always come back without data.
  • Since forecasting requires serving history, forecast service results will be faked. See ForecastService for more info.
  • Test networks are, by default, Ad Manager networks and don't have any features from Ad Manager 360. To have additional features turned on, please contact your account manager.
  • Test networks are limited to 10,000 objects per entity type.



Implements Google.Api.Ads.AdManager.v202111.NetworkServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202111.Network> Google.Api.Ads.AdManager.v202111.NetworkService.makeTestNetworkAsync ( )
inlinevirtual
virtual Google.Api.Ads.AdManager.v202111.Network Google.Api.Ads.AdManager.v202111.NetworkService.updateNetwork ( Google.Api.Ads.AdManager.v202111.Network  network)
inlinevirtual

Updates the specified network. Currently, only the network display name can be updated.

Parameters
networkthe network that needs to be updated
Returns
the updated network

Implements Google.Api.Ads.AdManager.v202111.NetworkServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202111.Network> Google.Api.Ads.AdManager.v202111.NetworkService.updateNetworkAsync ( Google.Api.Ads.AdManager.v202111.Network  network)
inlinevirtual

The documentation for this class was generated from the following file: