I think expanding foam is generally better for stopping draughts because it actually seals the gaps around pipes, floor edges and irregular openings. If you’ve not used it before, just use a low-expansion foam and apply it slowly.
or is there option you can use both because i see some people use...