Ads API .NET library
|
Represents an Ad Manager API user. More...
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... | |
T | 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< SoapListener > | Listeners [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... | |
Represents an Ad Manager API user.
|
inline |
Public constructor. Use this version if you want the library to use all settings from App.config.
|
inline |
Parameterized constructor. Use this version if you want to construct a AdManagerUser with a custom set of headers.
headers | The custom set of headers. |
|
inline |
Public constructor. Use this version if you want to construct a AdManagerUser with a custom configuration.
|
inlinevirtual |
Gets the default listeners.
Implements Google.Api.Ads.Common.Lib.AdsUser.
|
inline |
Creates a service of the given type.
T | : | AdsClient |
|
inlinevirtual |
Gets all the service types to be registered against this user.
Implements Google.Api.Ads.Common.Lib.AdsUser.