Write a query to find the top three highest-performing ad campaigns by monthly revenue, grouped by device type.