Implement this script above MGID ad code, in case your visitor chooses to opt-out.
var MG_setRequestNonPersonalizedAds = 1;
The opt-out functionality should be developed and set up by each website owner individually. Please note, that this script will work if only your visitor refreshes the page after choosing to opt-out.
For more information refer to your personal manager.