When writing your own ad serving system, how do advertisers know they're really getting the clicks/impressions?
The answer is just that they don't, but they do know if they are getting conversions. So the market corrects itself, and after some amount of time advertisers will (probably) stop bidding for impressions or clicks that aren't doing them any good.
Also, falsely indicating to advertisers that you are showing their ads is fraud.