Add preferred_medium to params.