|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.adwords.lib.factory.AdWordsServices
com.google.api.ads.adwords.axis.factory.AdWordsServices
or com.google.api.ads.adwords.jaxws.factory.AdWordsServices
instead.
@Deprecated public final class AdWordsServices
Utility class to create AdWords service clients. The session is stored as a reference within the client so that the session may be altered to affect the behavior of the client.
Usage example:
AdWordsSession session = new AdWordsSession.Builder()...build();
CampaignServiceInterface campaignService =
new AdWordsServices().get(session, CampaignServiceInterface.class);
campaignService.get(...);
...
session.setClientCustomerId(...);
campaignService.get(...);
| Constructor Summary | |
|---|---|
AdWordsServices()
Deprecated. Default constructor. |
|
AdWordsServices(FactoryConfiguration factoryConfiguration)
Deprecated. Constructor that takes a factory configuration. |
|
| Method Summary | ||
|---|---|---|
|
get(AdWordsSession adWordsSession,
Class<T> interfaceClass)
Deprecated. Gets a client for the service represented by the interface with a reference to the session. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdWordsServices()
public AdWordsServices(@Nullable
FactoryConfiguration factoryConfiguration)
factoryConfiguration - the factory configuration| Method Detail |
|---|
public <T> T get(AdWordsSession adWordsSession,
Class<T> interfaceClass)
T - the service typeadWordsSession - the AdWords sessioninterfaceClass - the service interface class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||