There is one of the Stack Exchange site advertisement in the Stack Overflow sidebar (probably writing.stackexchange.com), when I clicked on the advertisement, instead of redirecting to the advertisement site, it loads the Stack Overflow site in the advertisement place holder.
I faced the same issue few days before with the ell.stackexchange.com advertisement in the Stack Overflow sidebar.
The issue occurred after clicking on the advertisement, so I don't have much information about the URLs. I'm using Mozilla Firefox (can't confirm it reproduced in Google Chrome too).
The screenshot taken after clicked on the advertisement:
Update:
Today I got a chance to see another Stack Exchange advertisement in the side bar and able to record that.
The URL used for the advertisement is
in the plain text: