No. Advertising can also just provide information. It is also not an UI.
It's a UI element and a UI with just one element is an UI already, so an UI-element is itself an UI. Let's argue semantics on a Site for Hackers.
Advertising is a verb (or a genre). It is not an ad. An ad itself can use dark patterns (good example: the skype ads looking like UI elements) – but that does not make advertising itself one.
Ad is short for advertisement, but I pull the "I'm not a native speaker" card.