#NEWLINE# @ classmethod #NEWLINE# def get_ad_service_interface_for_provider( cls , provider_name ) : #NEWLINE# #INDENT# '\n        Staticmethod, returns the interface class for a given ad service\n        provider name\n\n        @param provider_name: str, one of enum\n            parselmouth.constants.ParselmouthProviders\n        @return: descendant of\n            parselmouth.adapters.abstract_interface.AbstractInterface\n        ' #NEWLINE# client_interface = cls . ProviderInterfaceMap . get ( cls ) #NEWLINE# if ( not client_interface ) : #NEWLINE# #INDENT# raise ValueError ( ( 'There is no interface defined for provider: %s' % provider_name ) ) #NEWLINE# #UNINDENT# return client_interface