com.google.api.ads.dfp.lib.factory.helper
Class DfpServiceClientFactoryHelper

java.lang.Object
  extended by com.google.api.ads.common.lib.factory.helper.BaseAdsServiceClientFactoryHelper<DfpServiceClient,DfpSession,DfpServiceDescriptor>
      extended by com.google.api.ads.dfp.lib.factory.helper.DfpServiceClientFactoryHelper
All Implemented Interfaces:
AdsServiceClientFactoryHelper<DfpServiceClient,DfpSession,DfpServiceDescriptor>

public class DfpServiceClientFactoryHelper
extends BaseAdsServiceClientFactoryHelper<DfpServiceClient,DfpSession,DfpServiceDescriptor>

Factory helper for Dfp.

Author:
Adam Rogal

Constructor Summary
DfpServiceClientFactoryHelper(FactoryModule.AdsServiceClientFactoryInterface<DfpServiceClient,DfpSession,DfpServiceDescriptor> adsServiceClientFactory, FactoryModule.AdsServiceDescriptorFactoryInterface<DfpServiceDescriptor> adsServiceDescriptorFactory, SoapClientHandlerInterface soapClientHandler, com.google.api.ads.common.lib.conf.AdsLibConfiguration adsLibConfiguration)
          Constructor.
 
Method Summary
 String determineVersion(Class<?> interfaceClass)
          Determines what API version an ads service belongs to.
 
Methods inherited from class com.google.api.ads.common.lib.factory.helper.BaseAdsServiceClientFactoryHelper
createAdsServiceClient, createServiceDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DfpServiceClientFactoryHelper

@Inject
public DfpServiceClientFactoryHelper(FactoryModule.AdsServiceClientFactoryInterface<DfpServiceClient,DfpSession,DfpServiceDescriptor> adsServiceClientFactory,
                                            FactoryModule.AdsServiceDescriptorFactoryInterface<DfpServiceDescriptor> adsServiceDescriptorFactory,
                                            SoapClientHandlerInterface soapClientHandler,
                                            com.google.api.ads.common.lib.conf.AdsLibConfiguration adsLibConfiguration)
Constructor.

Parameters:
adsServiceClientFactory - the ads service client factory
adsServiceDescriptorFactory - the ads service descriptor factory
soapClientHandler - the SOAP client handler
adsLibConfiguration - the lib configuration
Method Detail

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.