In Case A, google wins the bid, they gain the ad space, but gain no revenue.
In Case B, google does not win the bid, they lose the ad space, but do gain revenue.
Revenue and ad space are mutually exclusive, each is the opportunity cost of the other. Yes, in both cases google wins, but that is because google is the reason the ad space exists in the first place.