Skip to content

Ad Tags

rprunskas edited this page Apr 5, 2016 · 2 revisions

Ad Tags

An ad tag is a piece of HTML/JavaScript code which could be inserted into the ad view directly.

To set ad tag you can use setAdTag(tag) method. For example:

adInline.setAdTag("ad tag script");

In order to display video ads, it is possible to set VAST XML source as ad tag. For example:

adInline.setAdTag = ("<?xml version=\"1.0\" encoding=\"UTF-8\"?><VAST> Your VAST XML document </VAST>");

URL to ad tag script is supported as well. For example:

adInline.setAdTag("http://yourdomain.com/scriptsource.txt");

Please note, that Ad overlay doesn't support video ad tags.

Clone this wiki locally