Most ad sites that I know use anti-botting solutions like captcha, IP limitations. So probably you will need proxies(I have a good source) and anti-captcha service API integration.
Of course, getting data directly from DB is the ony proper way, no need to scrape your own site without the reason. What's the target website you wanna post into?