Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202311.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.v202311.NetworkService:
Google.Api.Ads.AdManager.v202311.INetworkService Google.Api.Ads.AdManager.v202311.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.v202311.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.v202311.Network[]> 
getAllNetworksAsync ()
 
virtual
Google.Api.Ads.AdManager.v202311.Network 
getCurrentNetwork ()
 Returns the current network for which requests are being made. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202311.Network
getCurrentNetworkAsync ()
 
virtual
Google.Api.Ads.AdManager.v202311.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.v202311.ThirdPartyDataDeclaration
getDefaultThirdPartyDataDeclarationAsync ()
 
virtual
Google.Api.Ads.AdManager.v202311.Network 
makeTestNetwork ()
 Creates a new blank network for testing purposes using the current login. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202311.Network
makeTestNetworkAsync ()
 
virtual
Google.Api.Ads.AdManager.v202311.Network 
updateNetwork (Google.Api.Ads.AdManager.v202311.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.v202311.Network
updateNetworkAsync (Google.Api.Ads.AdManager.v202311.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.v202311.NetworkService.NetworkService ( )
inline

Creates a new instance of the NetworkService class.

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

Creates a new instance of the NetworkService class.

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

Creates a new instance of the NetworkService class.

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

Creates a new instance of the NetworkService class.

Google.Api.Ads.AdManager.v202311.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.v202311.Network [] Google.Api.Ads.AdManager.v202311.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.

Implements Google.Api.Ads.AdManager.v202311.INetworkService.

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

Returns the current network for which requests are being made.

Implements Google.Api.Ads.AdManager.v202311.NetworkServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202311.Network> Google.Api.Ads.AdManager.v202311.NetworkService.getCurrentNetworkAsync ( )
inlinevirtual
virtual Google.Api.Ads.AdManager.v202311.ThirdPartyDataDeclaration Google.Api.Ads.AdManager.v202311.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.v202311.NetworkServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202311.ThirdPartyDataDeclaration> Google.Api.Ads.AdManager.v202311.NetworkService.getDefaultThirdPartyDataDeclarationAsync ( )
inlinevirtual
virtual Google.Api.Ads.AdManager.v202311.Network Google.Api.Ads.AdManager.v202311.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.v202311.NetworkServiceInterface.

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

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

Implements Google.Api.Ads.AdManager.v202311.NetworkServiceInterface.

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

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