How to Hide and Collapse Google AdSense Ad Unit Instead of Showing Public Service Ad (PSA) Kaip paslėpti ir Suskleisti Google AdSense reklamos padalinio Vietoj Rodomi viešųjų paslaugų reklama (PSA)

Google AdSense is probably the advertising network that has the highest fill rate for each and every ad space inventories available, be in for US, North America or Europe based visitors or international traffic. Google AdSense tikriausiai reklamos tinkle, kuris yra pats didžiausias užpildyti norma kiekvienam reklamos vietos inventorinius įmanoma, bus tik JAV, Šiaurės Amerika ar Europa pagrįsta lankytojų arba tarptautinis eismas. However, it's still possible that Google AdSense crawler scans the page, and does not find any relevant ads to display. Tačiau jis vis tiek gali būti, kad Google AdSense nuskaito puslapio, o ne rasti visus atitinkamus skelbimus. When no ad is targeted in an ad unit, Google AdSense Public Service Ad, commonly known as PSA is shown instead, unless an alternate ads URL is specified. Jei ne reklamos nukreiptos į reklamos bloke Google AdSense viešųjų paslaugų reklama, paprastai vadinamas "PSA rodomas vietoj, nebent pakaitinis skelbimų URL yra nurodyta.

For webmasters, bloggers or publishers who don't have any alternative ads to show, do not want to fill in the ad space with a solid color (with google_alternate_color JavaScript variable), and do not want website visitors to see any public service ads (which is non-paid anyway), Google AdSense offers another choice, that is collapsing ad unit. Webmasters, Bloggers ar leidėjams, kurie neturi jokių alternatyvių skelbimai bus rodomi, nenorite užpildyti reklamos erdvė spalva (su google_alternate_color JavaScript kintamasis) ir nenorite, kad svetainės lankytojai matyti viešo aptarnavimo skelbimus ( kurios nėra mokamos bet kuriuo atveju), "Google AdSense siūlo kitą pasirinkimą, ty zwijanej vieneto skelbimų.

According to Pagal AdSense Help AdSense , collapsing ad units are an optional advanced feature of alternate ads – the collapsing ad unit code will 'collapse' your ad unit so that it takes up no page space if there are no targeted ads available. , Zwijanych vienetų skelbimų yra pasirinktinai pažangios funkcija skelbimų pakaitalų - zwijanych reklaminio bloko kodas "sutraukia" jūsų reklaminis blokas taip, kad ji užima ne puslapio erdvę, jei nėra reklamas. This allows you to minimize any blank, unused, or not monetizing space that would otherwise occur through the use of alternate colors. Tai leidžia sumažinti tuščią, nepanaudoti arba ne pajamų erdvę, kad būtų kitaip naudojant alternatyvių spalvų.

Note that the collapsing ad unit only work on website that hosted on its own domain name or subdomains on its own server that allows remote or console access (also possible via FTP or SFTP, Telnet or SSH). Atkreipkite dėmesį, kad zwijanej vieneto skelbimų tik svetainėje, kad surengė savo domeno pavadinimą arba poddomen savo serveryje, kuris leidžia nuotolinio arba konsolės prieiga (taip pat galima per FTP arba SFTP, Telnet arba SSH). The reason is because a script file has to be uploaded and hosted on the a location of each domain and sub-domain, which will be referenced and called by alternate ad URL to implement the collapsing ad unit. Taip yra todėl, nes scenarijų byla turi būti įkeltas ir vyko į vietą kiekvieno domeno ir domeno, kuris bus paminėta ir vadinama alternatyvių URL įgyvendinti zwijanej vieneto skelbimų. So users of Blogger or blogspot.com (unless hosted on an external server or previously upgraded to Blog*Spot Plus), WordPress.com, Blogsome.com and etc. probably out of luck. Taigi, vartotojai Blogger arba blogspot.com (nebent mitināts išorės serverio arba anksčiau buvo modernizuotos Blog * Spot Plus "), WordPress.com, Blogsome.com ir tt tikriausiai iš laimės.

To implement the collapsing ad units feature, follow the instructions below: Siekiant įgyvendinti zwijanych vienetų skelbimų funkciją, vadovaukitės šiais nurodymais:

  1. Download the collapsing ad units file by right-clicking the link below and selecting 'Save Target as…': Parsisiųsti failą zwijanych vienetų skelbimus, paspaudę dešiniu pelės klavišu ant nuorodos ir pasirinkite "Save Target As ...": google_adsense_script.html google_adsense_script.html . .
  2. Copy or upload google_adsense_script.html to any location on a domain to implement the collapsing ad unit. Kopijuoti ar siųsti google_adsense_script.html bet vietoje domeno įgyvendinti zwijanej vieneto skelbimų. The location is not important as long as it's on the same domain with the webpages with the ad unit to hide when no ads. Vieta nėra svarbu tol, kol jis tame pačiame domene su tinklalapius su reklaminio bloko paslėpti, kai nėra jokių skelbimų. For multiple domains or subdomains, the HTML file is required for each of them in order for collapsing ad unit to work. Daug domenų arba poddomen, HTML failas yra reikalinga kiekvienam iš jų, kad zwijanej vieneto skelbimų dirbti.

    For example, www.mydigitallife.info can host the HTML for all web pages under www.mydigitallife.info, but not www.tipandtrick.net, nor forums.mydigitallife.info will work. Pavyzdžiui, www.mydigitallife.info gali priimti HTML visuose puslapiuose pagal www.mydigitallife.info, bet ne www.tipandtrick.net, nei forums.mydigitallife.info dirbs.

  3. Login to Google AdSense account. Prisijunkite prie Google AdSense.
  4. For existing ad unit, click on AdSense Setup, and then Manage Ads. Dėl esamų reklamos bloką, spustelėkite AdSense, tada Tvarkyti skelbimai. Edit Ad Settings of the ad unit to implement the collapsing on no ad feature. Skelbimo redagavimas Nustatymai reklamos bloką įgyvendinti zwijanych jokiu reklamos funkcijos. Under “More options” section, select the Show non-Google ads from another URL radio button, and enter the fully defined path to the collapsing ad units HTML file on your domain. Skyriuje "Papildomi parametrai" pasirinkite Rodyti ne-Google skelbimus iš kitos URL mygtuką ir įveskite visą maršrutą iki zwijanych vienetų skelbimus, HTML failas jūsų domenui. No change of code necessary. Nekeičiama kodo reikia.

    Google AdSense Collapsing Ad Unit

    For new ad code, click on AdSense Setup, and then Get Ads. Naujų skelbimų kodą, spustelėkite AdSense, tada Gauti skelbimai. Click on AdSense for Content, and then select the Show non-Google ads from another URL radio button under the “More options” section, and enter the fully defined path to the collapsing ad units HTML file on your domain. Paspauskite AdSense turiniui, tada pasirinkite Rodyti ne-Google skelbimus iš kitos URL mygtuką pagal "Daugiau galimybių" skyrių ir įveskite visą maršrutą iki zwijanych vienetų skelbimus, HTML failas jūsų domenui. Copy and paste the ad code into the web page to implement Google AdSense. Nukopijuokite ir įklijuokite kodą į tinklalapį įgyvendinti Google AdSense.

    For publisher using Dėl leidėjo taikant classic legacy Google AdSense ad code klasikinis paveldas Google AdSense kodas , add a new JavaScript variable named google_alternate_ad_url to the Google AdSense ad unit ad code which wants to make a hiding ad unit when no targeted ads. Pridėti naują JavaScript kintamąjį Google_alternate_ad_url į Google AdSense reklamos bloko reklamos kodą, kurį nori šansų reklaminis blokas, kai ne reklamas. For example, Pavyzdžiui,

    google_alternate_ad_url = “http://www.mydigitallife.info/scripts/google_adsense_script.html” Google_alternate_ad_url = "http://www.mydigitallife.info/scripts/google_adsense_script.html"

After adding the alternate URL which points to the collapsing script on the AdSense ad code, ad units will disappear when targeted ads are not available. Pridėjus alternatyvių URL, kuris nurodo zwijanych scenarijų AdSense kodą, reklamos blokų išnyks kai reklamas nėra. When visitor is using Internet Explorer version 5.0 or lower – any unused ad units will appear as empty, transparent boxes. Kai lankytojas naudojatės Internet Explorer versija 5.0 arba mažesnis, - nebenaudojamas vieneto reklamos bus rodomi kaip tuščios, permatomi laukus.

For user who can't upload or transfer the HTML file to the web server, but has console access and able to SSH or Telnet into the host, just create a new google_adsense_script.html via vi on the server's web root directory, and then copy and paste the following content: Vartotojo, kuris negali siųsti arba perduoti HTML failą į interneto serverį, tačiau jis konsolės galimybes ir galėti SSH arba Telnet į priimančiąją tiesiog sukurti naują google_adsense_script.html per vi ant web-serverio šakniniame kataloge, tada kopijuoti ir įklijuokite šį turinį:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” <! DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Transitional / / LT"
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd “> "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”> <html Xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title> <title> </ title>
<script src=”http://pagead2.googlesyndication.com/pagead/google_adsense_script.js” type=”text/javascript”></script> <script src="http://pagead2.googlesyndication.com/pagead/google_adsense_script.js" type="text/javascript"> </ script>
</head> </ head>
<body style=”background-color: transparent;”> <body style="background-color: transparent;">
</body> </ body>
</html> </ html>

IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Mašininio vertimo, gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.


One Response to “How to Hide and Collapse Google AdSense Ad Unit Instead of Showing Public Service Ad (PSA)” Vienas Atsakas į "Kaip paslėpti ir Suskleisti Google AdSense reklamos padalinio Vietoj Rodomi viešųjų paslaugų reklama (PSA)

  1. Guru of Search Guru Paieškos
    March 10th, 2009 04:26 Kovo 10, 2009 04:26
    1 1

    I like the idea of a collapsing script – but is this in line with Google's TOS? Man patinka mintis apie zwijanych scenarijus - bet tai yra suderinta su "Google TOS?

Leave a Reply Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Galite naudoti šias žymeles: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive registruotis, norint gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Pradedantys Paieška Sąlygos straipsnį

hide google ad paslėpti "Google" reklamos - -- show non-google ad from another url adsense rodo ne google reklama iš kitos url adsense - -- google_alternate_ad_url europe Google_alternate_ad_url Europa - -- code to hide google advertising kodas paslėpti google reklama - -- collapse feature in HTML Page Žlunga funkcija HTML - -- hide ad code paslėpti skelbimo kodą - -- collapsing adsense when no ads zwijanych adsense kai nėra skelbimų - -- hide google ads in website Paslėpti "Google" skelbimų svetainėje - -- Hide and Collapse Google AdSense Slėpti ir Suskleisti Google AdSense - -- google custom search hide ads Google Custom Search paslėpti skelbimai - -- hide ads by google paslėpti Google skelbimai - -- adsense hide url adsense paslėpti url - -- hide google ads paslėpti "Google" reklamos - -- how to hide the google adsense adds kaip paslėpti google adsense priduria - -- collapsing google ads zwijanych google skelbimus - -- do not show adsense when there is no ad nerodomos adsense kai nėra skelbimų - -- hide ad paslėpti skelbimą - -- how to hide advertisments kaip paslėpti skelbimai - -- hide public service ads by google paslėpti viešųjų paslaugų Google skelbimai - -- code to hide ads kodas paslėpti skelbimai - -- ADSENSE ADUNIT ADSENSE ADUNIT - -- public service adsense script viešųjų paslaugų adsense scenarijų - -- editing google adsense to not show on website redagavimo, google adsense, nebus rodomas svetainėje - -- how to hide google ads kaip paslėpti "Google" reklamos - -- Show non-Google ads from another URL Rodyti ne-Google skelbimus iš kitos URL - -- hide ad codes paslėpti reklamos kodai - -- hide the google adsense paslėpti google adsense - -- adsense for content "ad unit" adsense turinys "reklaminis blokas" - -- "google adsense" how to hide blank ads "Google AdSense", kaip paslėpti tuščią skelbimai - -- hide google adsense in post paslėpti google adsense po - -- hide empty adsense box slėpti tuščias adsense lange - -- how crack webroot blogspot.com kaip crack webroot blogspot.com - -- one adsense unit multiple sites vieno vieneto AdSense kelias svetaines - -- html hide google html paslėpti google - -- googleAdUnitIframe googleAdUnitIframe - -- hide ads on media player paslėpti skelbimai media player - -- non google ads urls ne google skelbimų URL - -- style: 'adunit' color stilius: "adunit" spalva - -- google ads not +showing on arabic content google skelbimų nėra + rodyti Arabų turinio - -- google adsense collapse google adsense žlugimo - -- how to hide web advertisement kaip paslėpti interneto skelbimas - -- PSA in ad domain PSA ad domeno - -- hide advertisement codes paslėpti skelbimas kodai - -- code to hide advertisments kodas paslėpti skelbimai - -- hide javascript adverts from hosted sites paslėpti javascript skelbimai nuo apgyvendinimas svetainės - -- hide section below ads paslėpti žemiau skelbimai - -- how to hide ads kaip paslėpti skelbimai - -- how to hide ads in google adsense kaip paslėpti skelbimai google adsense - -- Show non-Google ads from another UR Rodyti ne-Google skelbimus iš kitos UR - -- "googleAdUnitIframe" "googleAdUnitIframe" - --