Categories: Tagging : DFP Small Business :

Regarding placing scripts in <body> instead of <head>

Showing 1-3 of 3 messages
Regarding placing scripts in <body> instead of <head> MTM AdRep 5/16/12 7:43 PM Hi all, Hope you had a good day. I would like to ask... is it OK to place the header part of the script (sample below): <script type='text/javascript'>var googletag = googletag || {};googletag.cmd = googletag.cmd || [];(function() {var gads = documen
Re: Regarding placing scripts in <body> instead of <head> Andrew- DFP Product Manager 5/17/12 8:48 AM Hi Lee, Yes, this will work fine as long as that code is placed before any calls to .display() to show an ad unit. Andrew
Re: Regarding placing scripts in <body> instead of <head> MTM AdRep 5/24/12 8:53 PM Hi Andrew, Thanks for the confirmation. Lee