How advertising works for web developers