No luck with GPT in Facebook Instant Articles -


all,

i'm have no luck in getting gpt implementation working in fbia. fails return creative. i've used fb documented example (almost) verbatim , still nothing.

currently implementation looks in fbia source

<!doctype html><html><head><link rel="canonical" href="url"/>..........stuff......<figure class="op-ad"><iframe width="300" height="250"><script type="text/javascript">   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);   })(); </script> <script>   googletag.cmd.push(function() {     googletag.defineslot('/18345677/mobilemediumrectangle', [300, 250], 'div-gpt-ad-1477476065949-0').settargeting('site', ['junkee']).settargeting('offplatform', ['fia']).settargeting('platform', ['mobile']).addservice(googletag.pubads());     googletag.pubads().enablesinglerequest();     googletag.pubads().collapseemptydivs();     googletag.enableservices();   }); </script> <!-- /18345677/mediumrectangle --> <div id="div-gpt-ad-1477476065949-0"> <script> googletag.cmd.push(function() { googletag.display('div-gpt-ad-1477476065949-0'); }); </script> </div></iframe></figure>.....remaining...article...stufff...</html> 

i'm genuinely @ loss how these ads pulling through article.

i'm either missing simple , fundamental, or there trick i'm missing.

any / experience can give me hugely appreciated.

thanks, flunga.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -