הבדלים בין גרסאות בדף "Widget:DFP"
מתוך ויקירפואה
שורה 2: | שורה 2: | ||
<div id='div-gpt-ad-1544692076684-0' style='height:205px; width:570px;'> | <div id='div-gpt-ad-1544692076684-0' style='height:205px; width:570px;'> | ||
<script> | <script> | ||
+ | googletag.cmd.push(function() { | ||
var mapping1 = googletag.sizeMapping(). | var mapping1 = googletag.sizeMapping(). | ||
addSize([0, 0], []). | addSize([0, 0], []). | ||
addSize([1050, 200], [570, 205]). // Desktop | addSize([1050, 200], [570, 205]). // Desktop | ||
build(); | build(); | ||
− | |||
googletag.defineSlot('/50454183/medic_desktop_article_570x205', [570, 205], 'div-gpt-ad-1544692076684-0').defineSizeMapping(mapping1).addService(googletag.pubads()); | googletag.defineSlot('/50454183/medic_desktop_article_570x205', [570, 205], 'div-gpt-ad-1544692076684-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], [570, 205]). // Desktop build(); googletag.defineSlot('/50454183/medic_desktop_article_570x205', [570, 205], 'div-gpt-ad-1544692076684-0').defineSizeMapping(mapping1).addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.pubads().collapseEmptyDivs(); googletag.pubads().setTargeting('profession', []).setTargeting('sub-expertise', []).setTargeting('expertise', []).setTargeting('pharmacological', []).setTargeting('url', []); googletag.enableServices(); googletag.display('div-gpt-ad-1544692076684-0'); }); </script>