When is it appropriate to apply Ampere circuital law's law?
When the symmetry of the situation allows, i.e. when the magnetic field surrounding an 'Amperian loop' is constant, you can utilize Ampere circuital law in introductory Electromagnetic theory. For example, to calculate the magnetic field of an infinite straight current carrying wire at a given radial distance.