Track IP and media campaign?

Hi

I want to prevent bots clicking on my ads by blocking them, and I only want to analyse paid media. I know how to set up correct tracking for the campaigns, but can I match each click with the correct IP?