[ Video Sharing CMS v4 ] doubleclick for publishers

Started by Wnux,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WnuxTopic starter

I can add the header to the document or code?

<script type='text/javascript'>
(function() {
var useSSL = 'https:' == document.location.protocol;
var src = (useSSL ? 'https:' : 'http:') +
'//www.googletagservices.com/tag/js/gpt.js';
document.write('<scr' + 'ipt src="' + src + '"></scr' + 'ipt>');
})();
</script>

<script type='text/javascript'>
googletag.defineSlot('/000000000/name468-60', [468, 60], 'div-gpt-ad-000000000000000-0').addService(googletag.pubads());
googletag.pubads().enableSyncRendering();
googletag.pubads().enableSingleRequest();
googletag.enableServices();
</script>


---------------------
I wrote this one in the "Specific jPlayer ads" :

<!-- name468-60 -->
<div id='div-gpt-ad-0000000000000-0' style='width:468px; height:60px;'>
<script type='text/javascript'>
googletag.display('div-gpt-ad-0000000000000-0');
</script>
<>


Thank You
  •  

WnuxTopic starter

by writing code in the head tpl.global I have this error:

  Parse error: syntax error, unexpected 'text' (T_STRING) in /home/msite/public_html/tpl/main/tpl.globals.php on line 118
  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Similar topics (7)