Scribd.Ads.addAttribute("Document", 122366935);
Scribd.Ads.addAttribute("DocUser", 54699033);
Scribd.Ads.addAttribute('FBID', id);
Scribd.Ads.setFacebookAttribute = function () {
Scribd.Ads.observe(window, "load", function () {
//this makes sure that scribd:load_ads fires on every page
trackEvent('AdBlock', '', '', 1, false);
if(typeof(googletag.pubads) === 'undefined')
//detecting if ad block is enabled...
node.parentNode.insertBefore(gads, node);
var node = document.getElementsByTagName('script')[0];
gads.src = 'http://www.googletagservices.com/tag/js/gpt.js';
gads.type = 'text/javascript';
var gads = document.createElement('script');
googletag.cmd = googletag.cmd || [];
var googletag = googletag || {};
window.writeScript = function(src) {
document.location.protocol !== 'https';
Scribd.Ads.attributes.AdLayout[0] !== 0 &&
trackEvent("AdTargeting", "SpecialCase", "AdultDocument", 0, false);
Комментариев нет:
Отправить комментарий