Long idling or driving in traffic is not good because of heat, the engine is not ventilated well compared to when it's running in an open road. Frequent short trips (less than 5 kms or 10 minutes) is not good because the engine / DPF / catalytic converter has not fully warmed up.