public interface AdWordsServicesInterface extends AdsServicesInterface<AdWordsSession>
Modifier and Type | Method and Description |
---|---|
<T> T |
getUtility(AdWordsSession session,
Class<T> utilityClass)
Returns a new instance of the specified utility type, bound to the provided session.
|
AdWordsServicesInterface |
withPluginModule(AdWordsPluginModule pluginModule)
Factory method for extensions and apps to get a new instance of this type, configured
with an
AdWordsPluginModule . |
get
<T> T getUtility(AdWordsSession session, Class<T> utilityClass)
session
- an AdWords sessionutilityClass
- a utility class annotated.IllegalArgumentException
- if utilityClass
is not annotated with SessionUtility
.AdWordsServicesInterface withPluginModule(AdWordsPluginModule pluginModule)
AdWordsPluginModule
.AdWordsServicesInterface
, configured with
the provided plugin module.Copyright © 2018. All Rights Reserved.