Refactor LetsAds adapter and fix problem with doctrine driver