com.google.api.ads.adwords.axis.factory.AdWordsServices
or com.google.api.ads.adwords.jaxws.factory.AdWordsServices
instead.@Deprecated public final class AdWordsServices extends Object
Usage example:
AdWordsSession session = new AdWordsSession.Builder()...build();
CampaignServiceInterface campaignService =
new AdWordsServices().get(session, CampaignServiceInterface.class);
campaignService.get(...);
...
session.setClientCustomerId(...);
campaignService.get(...);
Implementation is thread-safe.
| Constructor and Description |
|---|
AdWordsServices()
Deprecated.
Default constructor.
|
AdWordsServices(FactoryConfiguration factoryConfiguration)
Deprecated.
Constructor that takes a factory configuration.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(AdWordsSession adWordsSession,
Class<T> interfaceClass)
Deprecated.
Gets a client for the service represented by the interface with a reference
to the session.
|
public AdWordsServices()
public AdWordsServices(@Nullable
FactoryConfiguration factoryConfiguration)
factoryConfiguration - the factory configurationpublic <T> T get(AdWordsSession adWordsSession, Class<T> interfaceClass)
T - the service typeadWordsSession - the AdWords sessioninterfaceClass - the service interface classCopyright © 2012. All Rights Reserved.