com.google.api.ads.dfa.axis.factory.DfaServices
instead.@Deprecated public final class DfaServices extends Object
Usage example:
DfaSession session = new DfaSession.Builder()...build();
CampaignRemote campaignService =
new DfaServices().get(session, CampaignRemote.class);
campaignService.makeRequest(...);
...
session.setToken(...);
campaignService.makeRequest(...);
Implementation is thread-safe.
| Constructor and Description |
|---|
DfaServices()
Deprecated.
Default constructor.
|
DfaServices(FactoryConfiguration factoryConfiguration)
Deprecated.
Constructor that takes a factory configuration.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(DfaSession dfaSession,
Class<T> interfaceClass)
Deprecated.
Gets a client for the service represented by the interface with a reference
to the session.
|
public DfaServices()
public DfaServices(@Nullable
FactoryConfiguration factoryConfiguration)
factoryConfiguration - the factory configurationpublic <T> T get(DfaSession dfaSession, Class<T> interfaceClass)
T - the service typedfaSession - the DFA sessioninterfaceClass - the service interface classCopyright © 2012. All Rights Reserved.