If you look at the Wikipedia page, my usage is fairly typical. It's a vague term which can be applied to critics of US foreign policy who want us to stop being the world police: https://en.wikipedia.org/wiki/Anti-Americanism
>people abroad who criticize these things recognize that not every American agrees with these policies
Pretty common nowadays for all of the US to be blamed for Trump's election. See this discussion from the other day. No one outside the US said I shouldn't be blamed for the votes of my neighbors: https://news.ycombinator.com/item?id=45035046
In any case, the original discussion is related to freedom of speech. The US is usually criticized more for this, regardless of how other countries are doing. See e.g. https://www.theatlantic.com/ideas/archive/2025/08/europe-fre... This represents an anti-American bias, which is due to our foreign policy.
>its meaning is about ethnicity
"American" is not an ethnicity.