Added conditional to load advertising manager