No, they don’t have to advertise the position. They have to disclose that they are hiring H1B workers. It’s a huge difference. In particular, there is no mechanism by which the disclosure can lead to a US worker applying for the job and blocking the H1B hire.
For H1B there’s simply no labor market test.