You just need to be careful that the extension cord is heavy-duty and can handle what your A/C is putting out, because you can use it for air conditioners. The cord and air conditioner should be compared to make sure they are safe.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.