הבדלים בין גרסאות בדף "Widget:DFP1"
מתוך ויקירפואה
שורה 1: | שורה 1: | ||
<div id='div-gpt-ad-1545206048784-0' style='height:90px; width:970px;'> | <div id='div-gpt-ad-1545206048784-0' style='height:90px; width:970px;'> | ||
<script> | <script> | ||
+ | googletag.cmd.push(function() { | ||
var mapping1 = googletag.sizeMapping(). | var mapping1 = googletag.sizeMapping(). | ||
addSize([0, 0], []). | addSize([0, 0], []). | ||
addSize([1050, 200], [970, 90]). // Desktop | addSize([1050, 200], [970, 90]). // Desktop | ||
build(); | build(); | ||
− | |||
googletag.defineSlot('/75830016/wikirefua_desktop_homepage_top_970x90', [970, 90], 'div-gpt-ad-1545206048784-0').defineSizeMapping(mapping1).addService(googletag.pubads()); | googletag.defineSlot('/75830016/wikirefua_desktop_homepage_top_970x90', [970, 90], 'div-gpt-ad-1545206048784-0').defineSizeMapping(mapping1).addService(googletag.pubads()); | ||
googletag.pubads().enableSingleRequest(); | googletag.pubads().enableSingleRequest(); |
גרסה אחרונה מ־18:01, 14 בינואר 2019
<script>
googletag.cmd.push(function() {
var mapping1 = googletag.sizeMapping().
addSize([0, 0], []). addSize([1050, 200], [970, 90]). // Desktop build(); googletag.defineSlot('/75830016/wikirefua_desktop_homepage_top_970x90', [970, 90], 'div-gpt-ad-1545206048784-0').defineSizeMapping(mapping1).addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.pubads().collapseEmptyDivs(); googletag.pubads().setTargeting('search', []).setTargeting('expertise', []).setTargeting('url', []).setTargeting('validation', []); googletag.enableServices();
googletag.display('div-gpt-ad-1545206048784-0');
});
</script>