Lucky offers advice on how to get United to give you travel credits instead of free tickets when you take a ‘bump’ or voluntary denied boarding. Travel credits are much more flexible and tickets purchased when them earn miles, so in general far more desirable.
Bottom-line is to be nice, be discrete, and not make the gate agent’s life more difficult so it’s easy for them to give you what you want.