If you want to perform a test of a difference of two proportions, you need to do:
prop.test(c(39, 67), c(total_group_a_impressions, total_group_b_impressions))
I don't have experience with A/B testing, so I'm not sure if this is typically or best handled using this particular statistical test.
Edit: The first parameter should be c(39, 28), meaning the total conversions in each group. I have no excuse beyond being tired.
Edit 2: To clarify, I think he should still use the two-sample form of prop.test, especially since we did not know at the time of his posting that the sample sizes are equal.