Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Prebid Adurl

Open yogeshadsparc opened this issue 10 years ago • 2 comments

Hi Guys,

I wanted to know can we use script tag as adurl in prebid ? e.g . adUrl: "".

If yes then there is any way in prebid to handle this type of tags ?

yogeshadsparc avatar Jul 20 '16 03:07 yogeshadsparc

@yogeshadsparc Currently we don't support this type of ad, however, you could make it work by building a snippet of code that executes the URL.

For example:

bid.ad = '<script src="' + scriptUrl + '"></scr' + 'ipt>';

mkendall07 avatar Jul 21 '16 01:07 mkendall07

@mkendall07 Thank you so much. It's working like a charm.

yogeshadsparc avatar Jul 21 '16 03:07 yogeshadsparc