I would start with these tools to track down the source of ads and see if the client requests are coming through Pi-Hole.