Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I don't think you have got your ad unit definition quite right.</p> <p>Try: </p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;DFP test&lt;/title&gt; &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"&gt;&lt;/script&gt; &lt;script type='text/javascript'&gt; var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; (function() { var gads = document.createElement('script'); gads.async = true; gads.type = 'text/javascript'; var useSSL = 'https:' == document.location.protocol; gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(gads, node); })(); &lt;/script&gt; &lt;script type="text/javascript"&gt; googletag.cmd.push(function() { googletag.pubads().enableAsyncRendering(); googletag.defineSlot('/1234567/Home_Top_Leaderboard_728x90', [728, 90], 'div-gpt-ad-1342320102476-72').addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.enableServices(); }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id='div-gpt-ad-1342320102476-72' style='width:728px; height:90px;'&gt; &lt;script type='text/javascript'&gt; googletag.cmd.push(function() { googletag.display('div-gpt-ad-1342320102476-72'); }); &lt;/script&gt; &lt;/div&gt; &lt;a id="refresh" href="#"&gt;Refresh ad&lt;/a&gt; &lt;script type='text/javascript'&gt; (function ($) { $('#refresh').click(function() { googletag.cmd.push(googletag.pubads().refresh()); return false; }); })(jQuery); &lt;/script&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Obviously to get this working you will need to change /1234567/Home_Top_Leaderboard_728x90 to the correct values.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload