Hi Jonathan,
Thank you for triyng to help.
First I have to say that I make the banner as in the tutorial found on your forum
Creating an HTML5 Advertisement in Tumult Hype except that I make background transparent. After I export the banner I uploaded on my server and copy the div script from html to load as HTML banner in Revive ad server. For invocation code I generate as Generic following embed code:
In Revive Ad Server in Create an HTML banner - banner code I insert following code for ad created with Hype:
Generated banner code in Revive Ad Server is:
On exitURL function
<script type="text/javascript">
function clickURL() {
window.open('%%CLICK_URL_UNESC%%',
'_blank' // <- Use _self here to open in the same window.
);
}
</script>
I tried to replace %%CLICK_URL_UNESC%% with
window.open(’{clickurl}http://www.intercomfilm.ro’ - didn’t work
I tried to insert this {clickurl} macro directly on js hype generated file. Not a chance. I’m out of solutions.
This {clickurl} macro it is attached before the target link or after the link with &mvc={clickurl} I think. I’m very confused, and try for almost a week to find out a solution, but I didn’t.
I uploaded and the hype file and a txt file with the script. Even if I replace the INSERT_ENCODED_CLICKURL_HERE in script file with {clickurl}, clicks are not tracked. Only impressions. If you need anything else, please let me know and I will send it to you.
Here is again the invocation code:
<script type='text/javascript'><!--//<![CDATA[
var ox_u = 'http://adserver.creativeads.ro/www/delivery/al.php?zoneid=10&ct0=INSERT_ENCODED_CLICKURL_HERE&layerstyle=simple&align=left&valign=bottom&padding=2&closetime=14&padding=2&shifth=0&shiftv=0&closebutton=t&nobg=t&noborder=t';
if (document.context) ox_u += '&context=' + escape(document.context);
document.write("<scr"+"ipt type='text/javascript' src='" + ox_u + "'></scr"+"ipt>");
//]]>--></script>
Also bellow I put a link with Revive AdServer (Formerly OpenX Source) Magic Macros:
http://blackriver.to/2014/01/openx-source-revive-adserver-magic-macros/
My html5 banner ID is 22 in the adserver.
craciun_nd_invocation_code.zip (469.0 KB)
Regards,
Mihnea