Google’s Routes API only supports traffic/routing preferences for:
Traffic settings are automatically ignored for:
This is a Google API limitation, not a tool limitation.