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

Represents an Ad Manager API user. More...

Inheritance diagram for Google.Api.Ads.AdManager.Lib.AdManagerUser:
Google.Api.Ads.Common.Lib.AdsUser Google.Api.Ads.Common.Lib.Configurable

Public Member Functions

 AdManagerUser ()
 Public constructor. Use this version if you want the library to use all settings from App.config. More...
 
 AdManagerUser (Dictionary< string, string > headers)
 Parameterized constructor. Use this version if you want to construct a AdManagerUser with a custom set of headers. More...
 
 AdManagerUser (AdManagerAppConfig config)
 Public constructor. Use this version if you want to construct a AdManagerUser with a custom configuration. More...
 
override Type[] GetServiceTypes ()
 Gets all the service types to be registered against this user. More...
 
override SoapListener[] GetDefaultListeners ()
 Gets the default listeners. More...
 
GetService< T > ()
 Creates a service of the given type. More...
 
- Public Member Functions inherited from Google.Api.Ads.Common.Lib.AdsUser
void RegisterService (string serviceId, ServiceFactory serviceFactory)
 Register a service with AdsUser. More...
 
ServiceFactory GetServiceFactory (string serviceId)
 Gets the service factory for a service. More...
 
AdsClient GetService (ServiceSignature serviceSignature)
 Creates an object of the requested type of service. More...
 
AdsClient GetService (ServiceSignature serviceSignature, string serverUrl)
 Creates an object of the requested type of service. More...
 
AdsClient GetService (ServiceSignature serviceSignature, Uri serverUrl)
 Creates an object of the requested type of service. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Google.Api.Ads.Common.Lib.AdsUser
 AdsUser (AppConfigBase config)
 Protected constructor. Use this version from a derived class if you want the library to use all settings from App.config. More...
 
 AdsUser (AppConfigBase config, Dictionary< string, string > headers)
 Protected constructor. Use this version from a derived class if you want the library to use all settings from App.config. More...
 
void RegisterServices (Type[] servicesFamilies)
 Registers a family of services against this user. More...
 
void SetHeadersFromConfig ()
 Set the user headers from App.config. More...
 
- Properties inherited from Google.Api.Ads.Common.Lib.AdsUser
AdsOAuthProvider OAuthProvider [get, set]
 Gets or sets the OAuth provider. More...
 
AppConfig Config [get]
 Gets or sets the application configuration for this user. More...
 
List< SoapListenerListeners [get]
 Gets the listeners. More...
 
- Properties inherited from Google.Api.Ads.Common.Lib.Configurable
AppConfig Config [get]
 Gets the application configuration class for this object. More...
 

Detailed Description

Represents an Ad Manager API user.

Constructor & Destructor Documentation

Google.Api.Ads.AdManager.Lib.AdManagerUser.AdManagerUser ( )
inline

Public constructor. Use this version if you want the library to use all settings from App.config.

Google.Api.Ads.AdManager.Lib.AdManagerUser.AdManagerUser ( Dictionary< string, string >  headers)
inline

Parameterized constructor. Use this version if you want to construct a AdManagerUser with a custom set of headers.

Parameters
headersThe custom set of headers.
Google.Api.Ads.AdManager.Lib.AdManagerUser.AdManagerUser ( AdManagerAppConfig  config)
inline

Public constructor. Use this version if you want to construct a AdManagerUser with a custom configuration.

Member Function Documentation

override SoapListener [] Google.Api.Ads.AdManager.Lib.AdManagerUser.GetDefaultListeners ( )
inlinevirtual

Gets the default listeners.

Returns
A list of default listeners

Implements Google.Api.Ads.Common.Lib.AdsUser.

Creates a service of the given type.

Type Constraints
T :AdsClient 
override Type [] Google.Api.Ads.AdManager.Lib.AdManagerUser.GetServiceTypes ( )
inlinevirtual

Gets all the service types to be registered against this user.

Returns
The type of all service classes to be registered.

Implements Google.Api.Ads.Common.Lib.AdsUser.


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