How to Hide and Collapse Google AdSense Ad Unit Instead of Showing Public Service Ad (PSA) Cara Sembunyikan dan Tutup Unit Iklan Google AdSense Daripada Menampilkan Iklan Layanan Masyarakat (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 mungkin adalah jaringan periklanan yang memiliki tingkat tertinggi untuk mengisi setiap ruang iklan persediaan yang tersedia, berada di US, Amerika Utara atau Eropa berdasarkan pengunjung atau lalu lintas internasional. However, it's still possible that Google AdSense crawler scans the page, and does not find any relevant ads to display. Namun, itu masih mungkin bahwa crawler Google AdSense memindai halaman, dan tidak menemukan iklan yang relevan untuk ditampilkan. 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. Bila tidak ada iklan yang ditargetkan dalam unit iklan, Google AdSense Iklan Layanan Masyarakat, umumnya dikenal sebagai PSA yang akan ditampilkan, kecuali iklan alternatif URL yang ditentukan.
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. Untuk webmaster, blogger atau penerbit yang tidak memiliki alternatif lain untuk menampilkan iklan, tidak ingin mengisi ruang iklan dengan warna yang solid (dengan JavaScript google_alternate_color variabel), dan tidak ingin pengunjung situs untuk melihat iklan layanan masyarakat ( yang dibayar tidak tetap), Google AdSense menawarkan pilihan lain, yang runtuh unit iklan.
According to Menurut AdSense Help AdSense Help , 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. , Ambruk unit iklan adalah opsional fitur lanjutan dari iklan alternatif - yang runtuh kode unit iklan akan 'runtuh' unit iklan Anda agar tidak mengambil halaman ruang jika tidak ada iklan tertarget yang tersedia. This allows you to minimize any blank, unused, or not monetizing space that would otherwise occur through the use of alternate colors. Hal ini memungkinkan Anda untuk meminimalkan kosong, tidak terpakai, atau tidak Mendapatkan ruang yang kalau tidak akan terjadi melalui penggunaan alternatif warna.
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). Perlu diketahui bahwa unit iklan runtuh hanya bekerja di website yang di-host pada nama domain sendiri atau subdomain di server sendiri yang memungkinkan akses konsol terpencil atau (juga mungkin melalui FTP atau SFTP, Telnet atau 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. Alasannya adalah karena file script harus upload dan host di lokasi dari setiap domain dan sub-domain, yang akan dirujuk dan dipanggil oleh URL iklan pengganti untuk melaksanakan unit iklan runtuh. 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. Jadi pengguna Blogger atau blogspot.com (kecuali host pada server eksternal atau sebelumnya upgrade ke Blog * Spot Plus), WordPress.com, Blogsome.com dan sebagainya mungkin kurang beruntung.
To implement the collapsing ad units feature, follow the instructions below: Untuk menerapkan fitur runtuh unit iklan, ikuti petunjuk di bawah ini:
- Download the collapsing ad units file by right-clicking the link below and selecting 'Save Target as…': Download file runtuh unit iklan dengan mengklik kanan link di bawah ini dan memilih 'Save Target as ...': google_adsense_script.html google_adsense_script.html . .
- Copy or upload google_adsense_script.html to any location on a domain to implement the collapsing ad unit. Menyalin atau upload google_adsense_script.html pada lokasi manapun di domain untuk melaksanakan unit iklan runtuh. 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. Lokasi ini tidak penting asalkan ada di domain yang sama dengan halaman web dengan unit iklan untuk menyembunyikan saat tidak ada iklan. For multiple domains or subdomains, the HTML file is required for each of them in order for collapsing ad unit to work. Untuk beberapa domain atau subdomain, file HTML diperlukan untuk masing-masing agar runtuh unit iklan untuk bekerja.
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. Sebagai contoh, host dapat www.mydigitallife.info HTML untuk semua halaman web di bawah www.mydigitallife.info, tetapi tidak www.tipandtrick.net, tidak forums.mydigitallife.info akan bekerja.
- Login to Google AdSense account. Login ke account Google AdSense.
- For existing ad unit, click on AdSense Setup, and then Manage Ads. Untuk unit iklan yang ada, klik Konfigurasi AdSense, lalu Kelola Iklan. Edit Ad Settings of the ad unit to implement the collapsing on no ad feature. Edit Pengaturan Iklan dari unit iklan untuk mengimplementasikan tidak runtuh pada fitur iklan. 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. Di bawah "Pilihan", pilih Tampilkan iklan non-Google dari URL lain tombol radio, dan masukkan didefinisikan sepenuhnya runtuh path ke file HTML unit iklan pada domain Anda. No change of code necessary. Tidak ada perubahan kode yang diperlukan.

For new ad code, click on AdSense Setup, and then Get Ads. Untuk kode iklan baru, klik pada Konfigurasi AdSense, lalu Dapatkan Iklan. 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. Klik pada AdSense untuk Konten, lalu pilih Tampilkan iklan non-Google dari URL lain tombol radio di bawah "Pilihan lainnya" bagian, lalu masukkan ditentukan sepenuhnya runtuh path ke file HTML unit iklan pada domain Anda. Copy and paste the ad code into the web page to implement Google AdSense. Salin dan sisipkan kode iklan ke halaman web untuk menerapkan Google AdSense.
For publisher using Untuk penerbit menggunakan classic legacy Google AdSense ad code warisan klasik kode iklan Google AdSense , 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. , Tambahkan variabel baru bernama google_alternate_ad_url JavaScript untuk unit iklan Google AdSense kode iklan yang ingin membuat unit iklan bersembunyi bila tidak ada iklan bertarget. For example, Misalnya
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. Setelah menambahkan alternatif URL yang menunjuk ke skrip runtuh pada kode iklan AdSense, unit iklan akan hilang ketika iklan bertarget tidak tersedia. When visitor is using Internet Explorer version 5.0 or lower – any unused ad units will appear as empty, transparent boxes. Ketika pengunjung menggunakan Internet Explorer versi 5.0 atau yang lebih rendah - setiap unit iklan yang tidak terpakai akan muncul sebagai kosong, kotak transparan.
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: Untuk pengguna yang tidak bisa meng-upload atau mentransfer file HTML ke web server, tetapi memiliki akses konsol dan mampu SSH atau Telnet ke host, hanya membuat google_adsense_script.html baru melalui vi pada server web direktori root, dan kemudian salin dan paste konten berikut:
<!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="color: transparent;">
</body> </ body>
</html> </ html>
IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman ini adalah mesin diterjemahkan dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Terjemahan mesin mungkin sulit untuk mengerti. Please refer to Silakan merujuk ke original English article artikel asli bahasa Inggris whenever possible. bila memungkinkan.
Related Articles Artikel Terkait
- google_ad_host Host ID in Google AdSense Ad Unit Code and Revenue Sharing google_ad_host Host ID dalam Google AdSense Kode Unit Iklan dan Revenue Sharing
- Place AdSense Ad Unit In Various Positions Inside Within Blogger Post Contents Menempatkan AdSense Unit Iklan Various Positions Di Dalam Blogger Dalam Isi Posting
- Add and Put AdSense Ads Code and JavaScript to Google Page Creator Website Tambahkan dan Letakkan Kode Iklan AdSense dan JavaScript ke Google Page Creator Website
- Google AdSense Legacy Old Generation Code Reference (Generate and Get) Google AdSense Legacy Old Generation Kode Referensi (Menghasilkan dan Dapatkan)
- Monitor Google AdSense Account With Shock AdSense Monitor Account Google AdSense Shock Dengan AdSense
- Alternative Payment Option from Google AdSense via Western Union Quick Cash Service Opsi Pembayaran alternatif dari Google AdSense melalui Western Union Quick Cash Layanan
- Set Allowed Sites for Google AdSense Publisher Account Tetapkan Situs yang Diperbolehkan untuk Google AdSense Account Penerbit
- How to Remove or Delete (Unlink) Google AdSense and Analytics Integration Cara Hapus atau Delete (hapus) Google AdSense dan Analytics Integrasi
- Google Adsense New Ads Revenue Stream – Content Referral Network Google Adsense Revenue Stream Iklan Baru - Isi Arahan Jaringan
- When was Google AdSense Launched? Kapan Diluncurkan Google AdSense?










































March 10th, 2009 04:26 10 Maret 2009 04:26
I like the idea of a collapsing script – but is this in line with Google's TOS? Saya suka ide tentang naskah runtuh - tapi apakah ini sejalan dengan Google KL?