It depends. Your credit card company knows what you bought and when, while the ad network knows the phone number linked to the PC where the ad was shown. Join the two tables and we can track you to the grocery store.
I have put an ad on your site, it took up space for some time. The ad was bad and nobody bought anything even though a hundred thousand people saw it. The publisher is still owed money because they did their part.