跳到主要內容

[Tutorials] How to google Adsense to your joomla installed website ?


Assuming you already have a Google Adsense account, and you have a Joomla website installed with a truly reliable hosting company like WHW1.com, then the following applies.

How to add Google Adsense to you Joomla installed website?

It seems with Joomla, you will not be able to simply copy and past the HTML code provided by Google into an article or other modules for banners that show either Text or Image banners, as noted in this Tech Notes article here:

With a default installation of Joomla, at the time of writing this, the addition of an Extension would be needed to provide that functionality to your Joomla website.  Well, first let me say that there seems to be many available extensions related to this, and I will only discus one, since the basic concept applies to any other you find or want to try. I choose this one because it was free, and had a descent amount of good votes, and I liked the demo and what I read on it’s description.
Steps:



First Login to your Joomla control panel (Joomla back end).  This would be DIFFERENT from your hosting control panel (such as cpanel) provided by WHW1 hosting.
Delete this content

Next, in a separate Internet browser (such as Firefox, or IE) go to Ads Elite website page that provides you both the download button or links and usage video.  I have saved you the time in figuring this out, and providing it here.  Once you are on that site page, you may get confused on what to download.  Do the “Download Ads Elite All In One Installer”; meaning click on that button, assuming it is a button still at the time you are reading this.  
Delete this content

Once the Ads Elite .zip file download is completed, go to your Joomla back-end control panel, and go to the top menu and select from the Extensions pull down menu select Extension Manager (on Joomla 3.x.x).
Delete this content

Under where it says “Upload & Install Joomla Extension”, click the Browse button with your mouse’s left button, and locate the .zip file you downloaded from the Ads Elite website.  Select the .zip file on your computer and click on Open/Ok.
Delete this content

  • Next, click on Upload & Install button to have it uploaded to your hosting server (your joomla file system) and installed.
  • Once installed, you will see a Ads Elite Package splash page/banner, and above that a message saying something like, “Installing package was successful”.  It will indicate that you have installed an Ads Elite Plugin, and Module, and also the Ads Starter Elite Plugin.
    Delete this content

  • To have, for example, a banner throughout a site, you would set the settings of the Ads Elite Module.  In addition to the below instructions, you can watch the video on the same page, link above, for further instructions on getting the ads added to your sites top, side, etc. and also within (in the middle) your article’s content.
  • Select Module Manager from the Joomla control panel Extensions menu at top.
    Delete this content
  • You will not see a new module showing, and called Ads Elite.  Click on it (mouse left button click on the phrase Ads Elite), and change the settings as you need. If using this module to have G Adsense ads shown throughout your site at the top, then it is suggested you rename the Title to be something like "Top Ads", or "Ads Elite Top".
  • In a different Internet browser window or tab, Login to your Google Adsense account and go to My Ads => Ad Units => click on Get Code on the Ad size or the one you want, and copy the HTML Code shown on a popup window (leaving the setting be Asynchronous, in my opinion).
  • Go back to the window or tab that is showing the Ads Elite setting fields, and scroll down and paste the Adsense code you copied into the Ads Elite field box of Adsense Code.
  • If you have a G Ad that is of the type that is "Text and Display", then leave the Ads Elite select for Ad Type be Display Ads.
  • Scroll back up on the Ads Elite module settings page, and set the Position select to "Top [position-1]", which is if you want the ads to show on the top.
  • Change the Status selection to Published.
  • Look further up and to the left and click on the tab of Menu Assignment, and once there, change the Module Assignment selection to All pages.
  • Click the Joomla "Save and Close" button.  Open your Joomla site in another browser window or tab and refresh the page, and you will see your ads show at top on any page, but ONLY if your G Adsense account is already active and approved by G.
  • Assuming you want more than just one ad on a page (note that Google only allows 3 adsense ads to show per page), then select Duplicate from the pull down menu that shows when you click on the down arrow next to the Ads Elite module you names something like Top Ads. After you select Duplicate, a second copy of that module will show with a name like Top Ads (2).
  • Repeat steps above (at time of writing this line it would be steps 9 to 16), but instead of selecting "Top [position-1]" for the position of the ads, you would select maybe bottom or right or left sides.  Note that if you select either a different spaced location, like right or left, then you should get the code for the appropriate ads size, so it will fit and show correctly.
  • If you want to add advertisements within your article, then use the Ads Elite Plugin. Watch their video or Comment here or contact me to expand on this article.  If I see interest on explaining that part further, I will put time into expanding this.
  • One important bit of WARNING.  After activating the Plugins and setting it to Published, you might not see ads show still.  I have noticed this happen even when your account is an established active Google Adsense account.  There may be a delay from Google's end before the ads start getting pushed out.  Not sure if this is done purposely or not by Google, or some kind of review is done before they start showing, but the ads do eventually start showing.  Sometimes a delay of 15 minutes to half an hour occurs before they ads start showing.

    這個網誌中的熱門文章

    正確設置404頁面及其他.505,500....

    正確設置404頁面 404頁面的設置是否正確直接關係到網站粘性,而現在很多網站的錯誤頁面返回碼都是200和302,只要蜘蛛爬行錯誤頁面不是404,那麼你的404頁 面設置就是錯誤的了,這裡跟大家介紹如何正確設置404頁面。 怎麼正確設置404頁面?很多人看到這個話題可能覺得下文不屑一顧,其實你是否知道自己的404頁面有沒有設置正確呢?很多開源的cms系統和博客 系統都會帶有404頁面,你是不是覺得這樣已經ok了?不用設置了?這些想法是錯誤的,我們做優化的時候,應該測試404頁面時候生效,設置是否正 確等。下面我們詳細說明怎麼設置404頁面。 這先說一下怎麼樣的404頁面才是有效的404頁面。大家應該都知道搜索引擎是通過http狀態碼來識別網頁狀態的,那麼當蜘蛛檢索到一個錯誤鏈 接時,就需要返回404狀態碼來告訴搜索引擎,這個頁面是錯誤頁面,以後不用索取了。而如果返回200,則告訴搜索引擎這個頁面是正常頁面。 所以我們要查看網站錯誤頁面的返回碼是200還是404,而現在很多網站的404頁面返回碼是200而不是404.    那怎麼正確設置404頁面?

    Mac OS X Server 架設兩個網站、兩個郵件伺服器

    from:http://www.bnw.com.tw/conference/viewtopic.php?t=208 我的需求要更簡單。  朋友的工作室就兩三人而已,另外一個工作室也是兩三人。  希望有屬於自己的網站及網域名稱郵件  www.123.com   abc@123.com  

    Mac mini server(2012 年末和 2011 年中):如何將 OS X Server 安裝到軟體 RAID

    重要事項 這些步驟會清除 Mac mini Server 中兩個磁碟機上的所有資料。雖然您可以重新安裝 OS X Server,但是請務必確認這些磁碟機上的任何其他資料都已完成備份,然後再繼續。 您無法在 RAID 卷宗上建立恢復分割區。如果沒有恢復分割區, 將無法支援 OS X 的某些功能 ,因此您應該考慮使用 恢復磁碟輔助程式 建立外接恢復磁碟,然後才建立 RAID 卷宗。 本文所提供的步驟需要使用透過 WiFi 或乙太網路的寬頻 Internet 連線。您的網路連線必須符合 這篇連結文章 的「重新安裝 OS X 的需求」一節中,針對 Internet 回復功能所述的需求。 安裝步驟 按住 Command、Option 和 R 鍵的同時啟動 Mac mini Server,以便啟動進入 Internet 回復模式。這可能要花數分鐘的時間。看到旋轉地球和“正在從網路啟動回復程序”訊息時,放開這些按鍵。