How to Hide and Collapse Google AdSense Ad Unit Instead of Showing Public Service Ad (PSA) Ako skryť a zbaliť Google AdSense reklamné jednotky Miesto zobraziť verejnej služby Ad (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 je pravdepodobne reklamnú sieť, ktorá má najvyššiu sadzbu vyplniť na každom zásob reklamný priestor k dispozícii, je pre USA, Severnej Ameriky alebo Európy, založenej návštevníkov alebo medzinárodnej dopravy. However, it's still possible that Google AdSense crawler scans the page, and does not find any relevant ads to display. Avšak, je stále možné, že Google AdSense prehľadáva stránku a nenájde žiadne relevantné reklamy na zobrazenie. 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. Ak nie je reklama cielená reklamná jednotky Google AdSense Inzerát verejnej služby, bežne známy ako PSA je uvedené miesto, ak alternatívna URL nie je stanovené.

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. Pre webmasterov, bloggers alebo vydavatelia, ktorí nemajú žiadne alternatívne reklamy, aby preukázal, nechcete vyplňovať reklamný priestor s farbou (s premennou google_alternate_color JavaScript), a nechcete, aby návštevníci stránok vidieť žiadne reklamy na verejné služby ( , ktorý je non-platí rovnako), Google AdSense ponúka inú voľbu, to sú zasúvacie reklamné jednotka.

According to Podľa AdSense Help AdSense Pomocník , 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. , Strácajúci sú voliteľné pokročilé funkcie alternatívnych reklám - zasúvacie reklamné jednotky kód 'pádu' reklamnú jednotku tak, aby žiadna strana zaberá priestor ak nie sú k dispozícii žiadne cielené reklamy k dispozícii. This allows you to minimize any blank, unused, or not monetizing space that would otherwise occur through the use of alternate colors. To vám umožní minimalizovať prázdne, nevyužité, alebo nie speňažiť miesto, ktoré by inak bolo dosiahnuté vďaka použitie alternatívnych farieb.

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). Všimnite si, že zasúvacie reklamné jednotka pracovať len na webových stránkach, ktoré hostilo na svoje vlastné domény alebo subdomény na vlastný server, ktorý umožňuje vzdialený prístup alebo konzolu (možné aj pomocou protokolu FTP alebo SFTP, Telnet alebo 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. Dôvodom je to, že skript musí byť súbor nahraný a hosťovaní na umiestnenie jednotlivých doménach a sub-domény, ktorá bude odkazom a nazýva alternatívna URL realizovať zasúvacie reklamné jednotky. 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. Takže používatelia služby Blogger alebo blogspot.com (ak nie je umiestnený na externom serveri alebo skôr aktualizovaný na webe Blog * Spot Plus) WordPress.com, Blogsome.com atď a pravdepodobne smolu.

To implement the collapsing ad units feature, follow the instructions below: Ak chcete používať zasúvacie reklamné jednotky, postupujte podľa nižšie uvedených pokynov:

  1. Download the collapsing ad units file by right-clicking the link below and selecting 'Save Target as…': Stiahnite si miznúce súbor pravým-kliknutím na nižšie uvedený odkaz a voľbou 'Uložiť cieľ ako ...': 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. Google_adsense_script.html kopírovať alebo presúvať na ľubovoľné miesto na doméne vykonať zasúvacie reklamné jednotky. 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. Umiestnenie nie je dôležité, ako dlho, ako je to na rovnakej doméne s webovej stránky s reklamnú jednotku skryť, keď žiadne reklamy. For multiple domains or subdomains, the HTML file is required for each of them in order for collapsing ad unit to work. Pre viac domén a subdomén, je súbor HTML potrebné pre každého z nich, aby zasúvacie reklamné jednotky do práce.

    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. Napríklad možno www.mydigitallife.info hosť HTML pre všetky webové stránky pod www.mydigitallife.info, ale nie www.tipandtrick.net, ani forums.mydigitallife.info bude fungovať.

  3. Login to Google AdSense account. Prihlásiť sa k účtu Google AdSense.
  4. For existing ad unit, click on AdSense Setup, and then Manage Ads. Pre existujúce reklamné jednotky, kliknite na Nastavenie AdSense, a potom Spravovať reklamy. Edit Ad Settings of the ad unit to implement the collapsing on no ad feature. Upraviť reklamné Nastavenia reklamnú jednotku na vykonávanie skolaboval na žiadne reklamné funkciu. 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. Pod "Ďalšie možnosti" vyberte iné Show-reklamy Google z iného rádia tlačidlo URL a zadajte cestu k úplne definované miznúce HTML súboru na vašej doméne. No change of code necessary. Žiadna zmena kódu potrebné.

    Google AdSense Collapsing Ad Unit

    For new ad code, click on AdSense Setup, and then Get Ads. Pre nové reklamné kód, kliknite na Nastavenie AdSense, a potom Získať reklamy. 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. Kliknite na AdSense pre obsah a vyberte iné Show-reklamy Google z iného rádia tlačidlo URL v rámci programu "Ďalšie možnosti" časti a zadajte cestu k úplne definované miznúce HTML súboru na vašej doméne. Copy and paste the ad code into the web page to implement Google AdSense. Skopírovať a vložiť kód reklamy do webovej stránky zavedenie služby Google AdSense.

    For publisher using Pre vydavateľa pomocou classic legacy Google AdSense ad code klasické dedičstvo Google AdSense inzerát kód , 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. , Pridať novú premennú s názvom JavaScript google_alternate_ad_url reklamné jednotky Google AdSense inzerát kód, ktorý chce, aby sa schováva reklamnú jednotku, kedy žiadne cielené reklamy. For example, Napríklad,

    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. Po pridaní alternatívne URL, ktoré ukazuje na skriptu miznúce na kód AdSense, budú reklamné jednotky zmiznú, keď cielené reklamy nie sú k dispozícii. When visitor is using Internet Explorer version 5.0 or lower – any unused ad units will appear as empty, transparent boxes. Keď návštevník používa Internet Explorer verzie 5.0 alebo nižšia - všetky nepoužité reklamné jednotky sa zobrazia ako prázdne priehľadné oblasti.

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: Pre používateľov, ktorí nemôžu presúvať alebo prevod HTML súboru na webový server, ale konzola prístup a možnosť SSH alebo Telnet do počítača, stačí vytvoriť nový google_adsense_script.html cez vi na serveri koreňovému adresári webu a skopírujte a vložte nasledujúci obsah:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” <! DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Transitional / / EN"
“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> src = "http://pagead2.googlesyndication.com/pagead/google_adsense_script.js" <script 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. Upozornenie: stránka je stroje preložené a za predpokladu, "ako je" bez záruky. Machine translation may be difficult to understand. Strojový preklad môže byť ťažké pochopiť. Please refer to Nájdete na original English article originál Anglicky artikl whenever possible. ak je to možné.


One Response to “How to Hide and Collapse Google AdSense Ad Unit Instead of Showing Public Service Ad (PSA)” Jedna reakcia na "Ako skryť a zbaliť Google AdSense reklamné jednotky Miesto zobraziť verejnej služby Ad (PSA)"

  1. Guru of Search Guru Vyhľadávanie
    March 10th, 2009 04:26 10.března 2009 04:26
    1 1

    I like the idea of a collapsing script – but is this in line with Google's TOS? Páči sa mi myšlienka skriptu miznúce - ale je to v súlade s TOS Google?

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> Môžete použiť tieto značky: href = "" <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Prihlásiť sa k pripomienkam funkcia bola zakázaná. To receive notification of latest comments posted, subscribe to Ak chcete dostávať oznámenia o najnovšie komentáre vyslaný, prihláste sa My Digital Life Comments RSS feed Má Digital Life Komentáre RSS or alebo register to receive zaregistrovať na new comments in daily email digest. nové komentáre v dennom email Digest.
Custom Search

New Articles Nové články

Incoming Search Terms for the Article Vcházející Hľadať Čas do člen určitý Artikel

hide ad for 2.0 skryť reklama na 2,0 - -- google adsense a button to hide ads Google AdSense tlačidlo skryť reklamy - -- google ad sense js google ad zmysel js - -- how to hide google ads ako skryť google reklamy - -- google free ads url google bez reklám url - -- collapsing blank space in adsense rúca prázdne miesto v adsense - -- manage adds > does not show active adsense units riadiť dodáva> neukazuje aktívne jednotky AdSense - -- google_adsense_script google_adsense_script - -- hide ad on 2.0 skryť reklama na 2,0 - -- how to hide rapidshare links in adsense unit ako skryť rapidshare odkazy na jednotku AdSense - -- js button hidden ads google js tlačidlo skrytej reklamy google - -- collapse text ads by google zbaliť text reklamy by google - -- google ads javascript in internet explorer google reklamy javascript v prehliadači Internet Explorer - -- hide codes with no ad skryť kódy bez reklám - -- hide and collapse skryť a kolaps - -- hide ad on 2.0 skryť reklama na 2,0 - -- hide the ad for 2.0 skryť reklama na 2,0 - -- hide my ip from adsense skryť moje ip z adsense - -- hiding adsense ads skrytie adsense reklamy - -- hide adsense ad under image skrytie adsense reklamy pod obrázkom - -- how to hide googles translation frame on website using javascript ako skryť googles prekladu rám, na webovej stránke pomocou javascriptu - -- how to hide adsense from main page ako skryť adsense z hlavnej stránky - -- Javascript to hide google adsense Javascript skryť Google AdSense - -- why do google ads flash on and then disappear Prečo reklamy Google blikať a zmizne - -- adsense link unit ad code adsense odkazovej jednotky reklamný kód - -- Collapsing ad units in blogger Miznúce v blogger - -- hide ip works for adsense Hide IP pracuje pre AdSense - -- The requested URL /google_adsense_script.html was not found on this server. Požadovaná adresa URL / google_adsense_script.html nebola nájdená na tomto serveri. - -- what is the code to hide advertisements aký je kód skryť inzeráty - -- ad units display same contents zobrazenie reklamnej jednotky rovnakého obsahu - -- adsense unused ad units adsense nevyužité reklamné jednotky - -- adsense ad code server reklamný kód AdSense server - -- google ad services returns html body transparent google reklamné služby vracia html telo transparentné - -- google adsense ad servers Google AdSense reklamy servery - -- how to hide adsense on certain ip in blogger ako skryť adsense na niektoré IP blogger - -- how to hide google pub id ako skryť google krčmy id - -- show non-google ads show bez-google reklamy - -- Websites where I can hide advertisements Webové stránky, kde môžem schovať inzeráty - -- adsense ad does not collapse AdSense nezhroutí - -- adsense hide url adsense skryť url - -- google adsense showing blank Google AdSense zobrazené prázdny - -- google adsense is blank Google AdSense je prázdny - -- how to hide google custom search ako skryť Google Custom Search - -- what color can i use on google adsense unit akú farbu môžem použiť na Google AdSense jednotka - -- adsense hide psa adsense skryť psa - -- adsense hide adsense skryť - -- adsense blank ads psa adsense reklamy prázdne psa - -- collapse ads kolaps reklamy - -- flash player 10.1for nokia n79 flash player 10.1for Nokia N79 - -- hide google ads explorer skryť google reklamy explorer - --