Correct, placing between the opening head tag and the closing head tag means placing inside the head tag which is what the field in Project Settings > Custom Code > Head Code is for.
I think what those people might have meant is placing the code before the closing tag.
For placing ads themselves, you’ll most likely be using an HTML embed within your page, more on this here: Custom code | Webflow University