Trying to add ad code but getting "parsing error"

You can’t add html code to your page like that, you either have to add it in an iframe or as a custom tool in Tracking and Analytics.
https://support.wix.com/en/article/using-iframes-to-display-visible-content-on-your-site
https://support.wix.com/en/article/embedding-custom-code-to-your-site

Plus, as mentioned in that first link, that Wix does not provide support for code that comes from a third party provider, so if you need any help with integrating it into Wix then you need to be contacting the support for the third party code provider.