Dave Dugan is joining the AI company, which is seeking stronger ties to brands in an effort to boost its nascent ad business.