I had a problem attaching CPM Star custom ads like Dynamic Site Skin, Anchor Ad, Pushdown, Flash Kit, Dynamic Editorial, Static Editorials and Offers, Video Preroll, Video Floor Ad, Youtube Static Editorial on my site, after installing the ad codes the certain part of the site where I put the code stops loading or the whole page doesn't load at all. If you are experiencing these errors too here's the solution:
All you need to do is remove the BEGIN and END texts in the ad code, for example:
Dynamic Site Skin original code:
<!-- BEGIN CPMSTAR TWO-SIDED ASYNCHRONOUS SITESKIN CODE 20130626 -->
<script type="text/javascript">
var cpmstar_siteskin_settings = {
pid: *****, //your poolid
centerWidth: '985px', //distance IN PIXELS of ad from left side of page, e.g. "800px"
fixed: '1', //fix ads near top of screen: "0" to allow ads to scroll with page
topPos: '0px', //optionally shift the ad down from top of page
zIndex: 100 //adjust layering of ad vs. other page elements
};
(function(){var t=document.createElement('script');t.type='text/javascript';t.async=1;t.src=(document.location.protocol == "https:"?"//server":"//cdn") + ".cpmstar.com/cached/js/siteskin_v100.pack.js";var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(t,s);})();
</script>
<!-- END CPMSTAR SITESKIN CODE -->
After editing:
<!-- CPMSTAR TWO-SIDED ASYNCHRONOUS SITESKIN CODE 20130626 -->
<script type="text/javascript">
var cpmstar_siteskin_settings = {
pid: *****, //your poolid
centerWidth: '985px', //distance IN PIXELS of ad from left side of page, e.g. "800px"
fixed: '1', //fix ads near top of screen: "0" to allow ads to scroll with page
topPos: '0px', //optionally shift the ad down from top of page
zIndex: 100 //adjust layering of ad vs. other page elements
};
(function(){var t=document.createElement('script');t.type='text/javascript';t.async=1;t.src=(document.location.protocol == "https:"?"//server":"//cdn") + ".cpmstar.com/cached/js/siteskin_v100.pack.js";var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(t,s);})();
</script>
<!-- CPMSTAR SITESKIN CODE -->
Now the ad should appear nicely on your site.
Problem Installing CPM Star Custom Ad Formats
Share this Post
- Sponsor PinoyGaming.Org The largest Filipino Gaming Community