How sophisticated can ad copy be? Can it include HTML?

Ad copy can include HTML, so it can be rather sophisticated.  The add/edit form supports an enhanced text editor.  It’s generally best to type your content rather than using copy/paste because pasting often includes hidden artifacts that won’t behave properly outside of the original source from which the content was copied.