query verticals and objectives; write csv