com.google.api.ads.common.lib.client
Interface AdsServiceDescriptor

All Superinterfaces:
SoapServiceDescriptor
All Known Implementing Classes:
AdWordsServiceDescriptor, DfaServiceDescriptor, DfpServiceDescriptor

public interface AdsServiceDescriptor
extends SoapServiceDescriptor

Interface for ads service descriptors.

Author:
api.arogal(Adam Rogal)

Method Summary
 String getEndpointAddress(String endpointServer)
          Gets the endpoint address for this service and server.
 Class<?> getInterfaceClass()
          Gets the class representing the RPC interface of the service.
 String getVersion()
          Gets the version for this service.
 

Method Detail

getInterfaceClass

Class<?> getInterfaceClass()
                           throws ServiceException
Gets the class representing the RPC interface of the service.

Specified by:
getInterfaceClass in interface SoapServiceDescriptor
Throws:
ServiceException - if the interface could not be retrieved.

getEndpointAddress

String getEndpointAddress(String endpointServer)
                          throws MalformedURLException
Gets the endpoint address for this service and server.

Specified by:
getEndpointAddress in interface SoapServiceDescriptor
Returns:
the endpoint address for this service and server.
Throws:
MalformedURLException

getVersion

String getVersion()
Gets the version for this service.

Returns:
the version for this service


Copyright © 2012. All Rights Reserved.