public class DfpServiceClientFactoryHelper extends BaseAdsServiceClientFactoryHelper<DfpServiceClient,DfpSession,DfpServiceDescriptor>
| Constructor and Description |
|---|
DfpServiceClientFactoryHelper(FactoryModule.AdsServiceClientFactoryInterface<DfpServiceClient,DfpSession,DfpServiceDescriptor> adsServiceClientFactory,
FactoryModule.AdsServiceDescriptorFactoryInterface<DfpServiceDescriptor> adsServiceDescriptorFactory,
SoapClientHandlerInterface soapClientHandler,
com.google.api.ads.common.lib.conf.AdsLibConfiguration adsLibConfiguration)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
determineVersion(Class<?> interfaceClass)
Determines what API version an ads service belongs to.
|
checkServiceClientPreconditions, createAdsServiceClient, createServiceDescriptor@Inject public DfpServiceClientFactoryHelper(FactoryModule.AdsServiceClientFactoryInterface<DfpServiceClient,DfpSession,DfpServiceDescriptor> adsServiceClientFactory, FactoryModule.AdsServiceDescriptorFactoryInterface<DfpServiceDescriptor> adsServiceDescriptorFactory, SoapClientHandlerInterface soapClientHandler, com.google.api.ads.common.lib.conf.AdsLibConfiguration adsLibConfiguration)
adsServiceClientFactory - the ads service client factoryadsServiceDescriptorFactory - the ads service descriptor factorysoapClientHandler - the SOAP client handleradsLibConfiguration - the lib configurationpublic String determineVersion(Class<?> interfaceClass)
AdsServiceClientFactoryHelperinterfaceClass - the interface class of the serviceAdsServiceClientFactoryHelper.determineVersion(Class)Copyright © 2015. All Rights Reserved.