CEO Sam Altman once said advertising was a “last resort” for the company.