Embed presentation
Download to read offline
![DFP TAGS IMPLEMENTATION
After generating tags put it after <head> <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 type='text/javascript'>
googletag.cmd.push(function() {
googletag.defineSlot('/0000000/000', [728, 90], 'div-gpt-ad-0000000000000-
0').addService(googletag.pubads());
googletag.enableServices();
});
</script>](https://image.slidesharecdn.com/dfptagsimplementation-150102044124-conversion-gate02/75/dfp-tags-implementation-1-2048.jpg)

This document provides instructions for implementing DFP tags on a website. It explains that the tags should be placed after the <head> tag and includes code to load the DFP script asynchronously. It also shows sample code for defining a 728x90 banner ad slot and enabling DFP services on the page.
![DFP TAGS IMPLEMENTATION
After generating tags put it after <head> <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 type='text/javascript'>
googletag.cmd.push(function() {
googletag.defineSlot('/0000000/000', [728, 90], 'div-gpt-ad-0000000000000-
0').addService(googletag.pubads());
googletag.enableServices();
});
</script>](https://image.slidesharecdn.com/dfptagsimplementation-150102044124-conversion-gate02/75/dfp-tags-implementation-1-2048.jpg)