Last Updated On February 27, 2023

7 Steps to Merge Google Adsense in Your Joomla Website

7 Steps to Merge Google Adsense in Your Joomla Website
By Team TIS

Monetizing a website is a process that begins when you completely establish the website, put up some great content, and optimize the website for the search engines to generate considerable traffic. The first option that comes to mind to earn from the content-based website is to merge Google AdSense with your Joomla website. A simpler and web-engineering-based way to integrate AdSense in your Joomla website is to copy the Javascript or HTML code and paste it into Custom HTML Module.

There are two problems with this type of coding. Firstly, you need to change the code every time you change the appearance of the ads. Secondly, it requires complex web engineering which may not be easy to understand for many people. Here are some tips to help you merge the Google Adsense in your Joomla website like a professional and without errors.

1. Setup the Adsense Module

Install the Adsense module after downloading it from the website. Then go to Joomla Administrator and click on Joomla Module. Follow the given steps for advanced settings of Module Parameters.

  • Go to ‘New’ and click on ‘Sponsored Links’.
  • Decide a name for the module and enter it in the given space. For safer names, use numbers and letters like 346xmih76.
  • Click on the option ‘Don’t show the title’.
  • Without publishing the module, assign a position for the module on your website. If you have already decided on the size of the ad then don’t assign the position to the module.
  • For publishing the module, go to Menu Assignment and click on Publish Module.

2. Setup the Module Parameters

Go to Parameters and select Module Parameters. In the Advance or Module parameters, you will get options for blocking specific IPs or adding advanced but optional features to your website. The first part contains information about Middle-Class Suffix, Publisher ID, Channel Number, and Div CSS codes. The tip here is to create a backup of this information as this information is difficult to retrieve or change as compared to optional information in the section. The optional information includes ad type, ad layout, link color, text color, background color, border color, URL color, and corner styles.

Some more tips for basic and advanced settings are given here.

  • For Module Class Suffixes, use the Joomla template suffix known as ‘blank’ or ‘-blank’. It allows you to customize the relevant boxes according to your need.
  • Make the process of formatting the code easier by entering the information into the Div CSS code instead of the CSS template. A few examples of the codes include these.

              Text-align: upper right;
              Text-align: center;
              Float: right; margin-right: 12px; margin-bottom: 12px;

  • Find the Google Adsense Publisher ID from the top right corner of Google Adsense. If you are unable to find the ID then log in to your Google Adsense account again and see the ID on the top right corner.
  • The ad type is set to Text and Image only by default. Always check the ad type to set it to Text and Image only, Text only, and Image only according to the type of your advertisement.
  • Always check the corner styles. The options include square corners, very rounded corners, and slightly rounded corners. The slightly rounded corners look better on most of the website designs but you can select one according to your choice.
  • According to the Google Adsense team, 300×450 works the best for medium rectangles, 160×600 works the best for skyscrapers and 728×90 performs the best for the leaderboard. Make sure that the size of your ad equally fits the size of the module positioned on the web page.

3. Choose the Colors Technically

The use of colors does not depend on your choice or the design and color combination of your website but it depends on the ad given by the advertiser to display. Make sure that the ad is well-blended with the colors you choose. It is important that the ad can be visibly seen by visitors.

Avoid using borders for the ads as borderless ads are more efficient in blending with the ads. The tip is to test and experiment with different colors and decide which best suits the website.

Some more tips for choosing the colors are given here.

  • Use ‘FFFFFF’ to set the color of borders as white.
  • Use ‘FFFFFF’ for setting the color of the background as white.
  • For link color, use the color you have used in other sections of the website.
  • For text, the best color is black as it is more vision-friendly for digital audiences as compared to other colors. If you want a darker shade but not black then use ‘111111’ for the text color code.
  • For URL, use the color that you use for the Link Color or any other shade of the same color.

4. Improve the Performance of Ads by Setting up the Google Adsense Channels

The performance and placement of ads are the keys to knowing the success of your monetary goals. To measure the performance of every ad individually, Google Adsense Channels are used. For setting up the Google Adsense Channels and linking the ads to be tracked with them, follow the given settings.

  • Log in to your Google Adsense account.
  • Go to the Adsense Setup tab.
  • Click ‘Channels’.
  • From the new bar, click ‘Add New Custom Channels’.
  • Decide a name for the channel and enter it in the given field.
  • Click ‘Add Channel’.

5. Attract More Advertisers with Ad Placement Option

Advertisers need a call and place to action for placing their ads. Take the example of Tolet hoardings and billboards on the highway and roads. Similarly, you can improve the value of your website and attract more visitors with an ad placement option. Here is the setting for advertising the free space on your website.

  • Log in to your Google Adsense account and go to Adsense Setup.
  • Go to Channels.
  • Now select a Channel for placing the advertisement.
  • Go to the ‘Edit Settings’ of the chosen Channel.
  • Here you will see a checkbox with the statement ‘Show this channel to advertisers as an ad placement. Click to activate this checkbox.
  • Click on Save to activate the settings.

6. Choose the Right Position for Placing the Ad

If you are new to the digital business, you need to attract more visitors to generate money. The established and optimized websites are the needs of advertisers. The position of placing the ad depends on the position of the website on the search engine.

The fresh websites need to give a more prominent position to the advertisers whereas the optimized websites may give some down position to the advertisers. Module Position is a Joomla template that allows you to choose the desired position of the ad. You may also select the position of the ad with the help of Google Adsense Module settings.

7. Check the Ad Placement and Position

Always check the placement and position of the websites every time you add a new ad to the website or change the settings of existing ads. The settings are practically implemented within 20 to 30 minutes. Log out of your Google Adsense account and check the ad position as a visitor.

If you have a responsive website then check the position and placement of the ad on different screens including mobile phones, tablets, laptops, and desktops.


Using Google Adsense for your Joomla website is quite easier and does not require advanced web engineering for editing and formatting the settings. Another important tip is to keep exploring Google Adsense for Joomla for learning more about the benefits it offers to its users.

When you have to incorporate Google AdSense into your Joomla website, there might occur some instances which have complex web building including duplication of Javascript or HTML code in the module. However, by following the tips and tricks mentioned in this guide, you will be able to complete this process easily and quickly. In case you are facing any difficulties, please feel free to connect with an expert professional from TIS India and we will guide you throughout and help you to consolidate your Google AdSense with your Joomla site.

By Team TIS
Recent Article

You May Also Like

The Ultimate Guide to SEO for Attorneys and Law Firms in 2023
By Team TIS
Last Updated On June 21, 2023
Salesforce CPQ: What is It?
By Team TIS
Last Updated On June 09, 2023