No one charges based on the number of hours an ad runs. Sorry to say, you need to be clear with the basic factors involved in charging a client for running ads and AFTER THAT you can get into how much to charge. Firstly, get your basics right.the hours that the ad was running