Inferring giant planets from ALMA mm continuum and line observations in (transition) disks