Ad server with click tracking