Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <!-- START of HEAD code -->
- <script type="text/javascript">
- var adsStart = (new Date()).getTime();
- function detectWidth() {
- return window.screen.width || window.innerWidth && document.documentElement.clientWidth ? Math.min(window.innerWidth, document.documentElement.clientWidth) : window.innerWidth || document.documentElement.clientWidth || document.getElementsByTagName('body')[0].clientWidth;
- }
- var TIMEOUT = 2000;
- var googletag = googletag || {};
- googletag.cmd = googletag.cmd || [];
- var pbjs = pbjs || {};
- pbjs.que = pbjs.que || [];
- var adUnits = adUnits || [];
- function initAdServer() {
- if (pbjs.initAdserverSet) return;
- (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);
- })();
- pbjs.initAdserverSet = true;
- };
- pbjs.timeout = setTimeout(initAdServer, TIMEOUT);
- pbjs.timeStart = adsStart;
- var dfpNetwork = '117607917';
- </script>
- <!-- START of Adunit Definition -->
- <script type="text/javascript">
- if(detectWidth()>=767) {
- /*
- ** Adunits for Desktop
- */
- adUnits.push({
- network: dfpNetwork,
- adunit: 'TA_G_1',
- size: [[300, 250], [300, 410], [336, 280]],
- code: 'div-gpt-ad-1473323524434-0'
- });
- adUnits.push({
- network: dfpNetwork,
- adunit: 'TA_G_2',
- size: [[300, 250], [300, 410], [336, 280],[400,300]],
- code: 'div-gpt-ad-1473323524434-1'
- });
- adUnits.push({
- network: dfpNetwork,
- adunit: 'TA_G_3',
- size: [[300, 250], [300, 410], [336, 280]],
- code: 'div-gpt-ad-1473323524434-2'
- });
- adUnits.push({
- network: dfpNetwork,
- adunit: 'TA_G1_ATF_728V',
- size: [[728, 90], [728, 250], [970, 90], [970, 250]],
- code: 'div-gpt-ad-1460211993436-1'
- });
- adUnits.push({
- network: dfpNetwork,
- adunit: 'TA_G1_ATF_300V',
- size: [[300, 250],[300, 600]],
- code: 'div-gpt-ad-1460211993436-0'
- });
- adUnits.push({
- network: dfpNetwork,
- adunit: 'TA_G1_BTF1_300V',
- size: [[300, 250],[300, 600]],
- code: 'div-gpt-ad-1460211993436-3'
- });
- adUnits.push({
- network: dfpNetwork,
- adunit: 'TA_G1_BTF1_728V',
- size: [[728, 90]],
- code: 'div-gpt-ad-1473323524445-0'
- });
- adUnits.push({
- network: dfpNetwork,
- adunit: 'TA_G1_BTF2_728V',
- size: [[728, 90]],
- code: 'div-gpt-ad-1473323524445-1'
- });
- adUnits.push({
- network: dfpNetwork,
- adunit: 'TA_G1_BTF3_728V',
- size: [[728, 90]],
- code: 'div-gpt-ad-1473323524445-2'
- });
- } else {
- /*
- ** Adunits for Mobile
- */
- adUnits.push({
- network: dfpNetwork,
- adunit: 'TA_MOB_G1_BTF1_300x250',
- size: [[300, 250]],
- code: 'div-gpt-ad-1460532140781-1'
- });
- adUnits.push({
- network: dfpNetwork,
- adunit: 'TA_MOB_G1_BTF2_300x250',
- size: [[300, 250]],
- code: 'ad_root_btf2_dfp1'
- });
- adUnits.push({
- network: dfpNetwork,
- adunit: 'TA_MOB_G1_BTF3_300x250',
- size: [[300, 250]],
- code: 'ad_root_ac_dfp1'
- });
- adUnits.push({
- network: dfpNetwork,
- adunit: 'TA_MOB_G1_BTF4_300x250',
- size: [[300, 250]],
- code: 'div-gpt-ad-1461661497074-0'
- });
- adUnits.push({
- network: dfpNetwork,
- adunit: 'TA_MOB_G1_BTF5_300x250',
- size: [[300, 250]],
- code: 'div-gpt-ad-1461661958160-0'
- });
- }
- </script>
- <!-- START of Adunit Definition -->
- <script type="text/javascript">
- googletag.cmd.push(function() {
- if(adUnits){
- for (var i = 0, len = adUnits.length; i < len; i++) {
- googletag.defineSlot('/'+adUnits[i].network+'/'+adUnits[i].adunit, adUnits[i].size, adUnits[i].code).addService(googletag.pubads());
- }
- }
- });
- googletag.cmd.push(function() {
- pbjs.que.push(function() {pbjs.setTargetingForGPTAsync();});
- googletag.pubads().enableSingleRequest();
- googletag.enableServices();
- });
- </script>
- <script type="text/javascript" async="true" src="//hb.adapex.io/aaw.ta.g.js"></script>
- <!-- START of HEAD code -->
- </head>
- <body>
- <!-- BODY codes -->
- <!--TA_G_1 (Desktop) -->
- <div id='div-gpt-ad-1473323524434-0'>
- <script type='text/javascript'>
- if(detectWidth()>=767) {googletag.cmd.push(function() { googletag.display('div-gpt-ad-1473323524434-0'); });}
- else {document.getElementById('div-gpt-ad-1473323524434-0').style.display = 'none';}
- </script>
- </div>
- <!--TA_G_2 (Desktop) -->
- <div id='div-gpt-ad-1473323524434-1'>
- <script type='text/javascript'>
- if(detectWidth()>=767) {googletag.cmd.push(function() { googletag.display('div-gpt-ad-1473323524434-1'); });}
- else {document.getElementById('div-gpt-ad-1473323524434-1').style.display = 'none';}
- </script>
- </div>
- <!--TA_G_3 (Desktop) -->
- <div id='div-gpt-ad-1473323524434-2'>
- <script type='text/javascript'>
- if(detectWidth()>=767) {googletag.cmd.push(function() { googletag.display('div-gpt-ad-1473323524434-2'); });}
- else {document.getElementById('div-gpt-ad-1473323524434-2').style.display = 'none';}
- </script>
- </div>
- <!--TA_G1_ATF_728V (Desktop) -->
- <div id='div-gpt-ad-1460211993436-1'>
- <script type='text/javascript'>
- if(detectWidth()>=767) {googletag.cmd.push(function() { googletag.display('div-gpt-ad-1460211993436-1'); });}
- else {document.getElementById('div-gpt-ad-1460211993436-1').style.display = 'none';}
- </script>
- </div>
- <!--TA_G1_ATF_300V (Desktop) -->
- <div id='div-gpt-ad-1460211993436-0'>
- <script type='text/javascript'>
- if(detectWidth()>=767) {googletag.cmd.push(function() { googletag.display('div-gpt-ad-1460211993436-0'); });}
- else {document.getElementById('div-gpt-ad-1460211993436-0').style.display = 'none';}
- </script>
- </div>
- <!--TA_G1_BTF1_300V (Desktop) -->
- <div id='div-gpt-ad-1460211993436-3'>
- <script type='text/javascript'>
- if(detectWidth()>=767) {googletag.cmd.push(function() { googletag.display('div-gpt-ad-1460211993436-3'); });}
- else {document.getElementById('div-gpt-ad-1460211993436-3').style.display = 'none';}
- </script>
- </div>
- <!--TA_G1_BTF1_728V (Desktop) -->
- <div id='div-gpt-ad-1473323524445-0'>
- <script type='text/javascript'>
- if(detectWidth()>=767) {googletag.cmd.push(function() { googletag.display('div-gpt-ad-1473323524445-0'); });}
- else {document.getElementById('div-gpt-ad-1473323524445-0').style.display = 'none';}
- </script>
- </div>
- <!--TA_G1_BTF2_728V (Desktop) -->
- <div id='div-gpt-ad-1473323524445-1'>
- <script type='text/javascript'>
- if(detectWidth()>=767) {googletag.cmd.push(function() { googletag.display('div-gpt-ad-1473323524445-1'); });}
- else {document.getElementById('div-gpt-ad-1473323524445-1').style.display = 'none';}
- </script>
- </div>
- <!--TA_G1_BTF3_728V (Desktop) -->
- <div id='div-gpt-ad-1473323524445-2'>
- <script type='text/javascript'>
- if(detectWidth()>=767) {googletag.cmd.push(function() { googletag.display('div-gpt-ad-1473323524445-2'); });}
- else {document.getElementById('div-gpt-ad-1473323524445-2').style.display = 'none';}
- </script>
- </div>
- <!--TA_MOB_G1_BTF1_300x250 (Mobile) -->
- <div id='div-gpt-ad-1460532140781-1'>
- <script type='text/javascript'>
- if(detectWidth()<767) {googletag.cmd.push(function() { googletag.display('div-gpt-ad-1460532140781-1'); });}
- else {document.getElementById('div-gpt-ad-1460532140781-1').style.display = 'none';}
- </script>
- </div>
- <!--TA_MOB_G1_BTF2_300x250 (Mobile) -->
- <div id='ad_root_btf2_dfp1'>
- <script type='text/javascript'>
- if(detectWidth()<767) {googletag.cmd.push(function() { googletag.display('ad_root_btf2_dfp1'); });}
- else {document.getElementById('ad_root_btf2_dfp1').style.display = 'none';}
- </script>
- </div>
- <!--TA_MOB_G1_BTF3_300x250 (Mobile) -->
- <div id='ad_root_ac_dfp1'>
- <script type='text/javascript'>
- if(detectWidth()<767) {googletag.cmd.push(function() { googletag.display('ad_root_ac_dfp1'); });}
- else {document.getElementById('ad_root_ac_dfp1').style.display = 'none';}
- </script>
- </div>
- <!--TA_MOB_G1_BTF4_300x250 (Mobile) -->
- <div id='div-gpt-ad-1461661497074-0'>
- <script type='text/javascript'>
- if(detectWidth()<767) {googletag.cmd.push(function() { googletag.display('div-gpt-ad-1461661497074-0'); });}
- else {document.getElementById('div-gpt-ad-1461661497074-0').style.display = 'none';}
- </script>
- </div>
- <!--TA_MOB_G1_BTF5_300x250 (Mobile) -->
- <div id='div-gpt-ad-1461661958160-0'>
- <script type='text/javascript'>
- if(detectWidth()<767) {googletag.cmd.push(function() { googletag.display('div-gpt-ad-1461661958160-0'); });}
- else {document.getElementById('div-gpt-ad-1461661958160-0').style.display = 'none';}
- </script>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement