Unfortunately, the theme has not been tested with this kind of ads, and therefore, we cannot say for sure if it will work or not, sorry! This task involves doing such a custom work but please notice that we cannot provide something like this.
l don’t want to learn how add advert code. My question is about your external link.
l downloaded free ionmag theme and l controlled functions.php. But when l activated theme on wordpress panel, some codes adding functions.php. There is external link.
I don’t find external link similar to the link posted above in functions.php file. I’m not sure what code you add in functions.php but I cannot recreate this.
I also replied via email, if you want you can provide more details there and wp-admin and ftp access.