|
Ads API .NET library
|
The factory class for all Ad Manager API services. More...
Public Member Functions | |
| AdManagerServiceFactory () | |
| Default public constructor. More... | |
| override AdsClient | CreateService (ServiceSignature signature, AdsUser user, Uri serverUrl) |
| Create a service object. More... | |
Protected Member Functions | |
| override void | ReadHeadersFromConfig (AppConfig config) |
| Reads the headers from App.config. More... | |
| override void | CheckServicePreconditions (ServiceSignature signature) |
| Checks preconditions of the service signature and throws and exception if the service cannot be generated. More... | |
Additional Inherited Members | |
Properties inherited from Google.Api.Ads.Common.Lib.ServiceFactory | |
| AppConfig | Config [get, set] |
| Gets an App.config reader suitable for this factory. More... | |
Properties inherited from Google.Api.Ads.Common.Lib.Configurable | |
| AppConfig | Config [get] |
| Gets the application configuration class for this object. More... | |
The factory class for all Ad Manager API services.
|
inline |
Default public constructor.
|
inlineprotectedvirtual |
Checks preconditions of the service signature and throws and exception if the service cannot be generated.
| signature | the service signature for generating the service |
Implements Google.Api.Ads.Common.Lib.ServiceFactory.
|
inlinevirtual |
Create a service object.
| signature | Signature of the service being created. | ||
| user | The user for which the service is being created.
|
Implements Google.Api.Ads.Common.Lib.ServiceFactory.
References Google.Api.Ads.AdManager.Lib.AdManagerAppConfig.AdManagerApiServer, Google.Api.Ads.Common.Lib.ServiceSignature.ServiceName, Google.Api.Ads.AdManager.Lib.AdManagerServiceSignature.ServiceType, and Google.Api.Ads.Common.Lib.ServiceSignature.Version.
|
inlineprotectedvirtual |
Reads the headers from App.config.
| config | The configuration class. |
Implements Google.Api.Ads.Common.Lib.ServiceFactory.