Advertisers do care a lot about where their ads are displayed.
There's a whole section of adtech dedicated to brand safety.
I believe it's over the top[1] but it's something marketing folks do care about.
Also the good old pop up ads were created for that reason, aeons ago.
[[1] https://www.campaignlive.co.uk/article/advertisers-embrace-n...