If it was Meta Ads you can run ads without having a website. But for running Ads of Google, it is necessary to have a website otherwise you won’t be be able to run ads on Google Search Engine.