com.google.api.ads.adwords.lib.factory.helper
Class AdWordsServiceClientFactoryHelper
java.lang.Object
com.google.api.ads.common.lib.factory.helper.BaseAdsServiceClientFactoryHelper<AdWordsServiceClient,AdWordsSession,AdWordsServiceDescriptor>
com.google.api.ads.adwords.lib.factory.helper.AdWordsServiceClientFactoryHelper
- All Implemented Interfaces:
- AdsServiceClientFactoryHelper<AdWordsServiceClient,AdWordsSession,AdWordsServiceDescriptor>
public class AdWordsServiceClientFactoryHelper
- extends BaseAdsServiceClientFactoryHelper<AdWordsServiceClient,AdWordsSession,AdWordsServiceDescriptor>
Factory helper for AdWords.
- Author:
- Adam Rogal
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdWordsServiceClientFactoryHelper
@Inject
public AdWordsServiceClientFactoryHelper(FactoryModule.AdsServiceClientFactoryInterface<AdWordsServiceClient,AdWordsSession,AdWordsServiceDescriptor> adsServiceClientFactory,
FactoryModule.AdsServiceDescriptorFactoryInterface<AdWordsServiceDescriptor> adsServiceDescriptorFactory,
SoapClientHandlerInterface soapClientHandler,
com.google.api.ads.common.lib.conf.AdsLibConfiguration adsLibConfiguration)
- Constructor.
- Parameters:
adsServiceClientFactory - the ads service client factoryadsServiceDescriptorFactory - the ads service descriptor factorysoapClientHandler - the SOAP client handleradsLibConfiguration - the lib configuration
determineVersion
public String determineVersion(Class<?> interfaceClass)
- Description copied from interface:
AdsServiceClientFactoryHelper
- Determines what API version an ads service belongs to.
- Parameters:
interfaceClass - the interface class of the service
- Returns:
- a string representation of the version of this service
- See Also:
AdsServiceClientFactoryHelper.determineVersion(Class)
Copyright © 2012. All Rights Reserved.