You can place this inside your post loop just before the loop ends. It will output your desired div (ad) after the 2nd post. Just make sure you add in any necessary CSS classes to the div, and of course your ad code or image.
current_post == 1 ) { ?>
Put Ad Here
So it should look something like this within your post loop:
current_post == 1 ) { ?>
Put Ad Here
This works by using the $current_post property of the WP_Query class. It retrieves the index of your current post in the loop.
Hope this helps!