If you want to use the GoogleSearch (CSE) component in your Joomla site, you need the Google CSE ID. So where do you find this Google CSE ID?
The Google CSE ID is the unique CSE ID generated by Google for it's Custom Search Engine (CSE). It looks something like partner-pub-1234567812345678:1smy9a-qdjr
. It shows up as a "cx" value in the search box code provided by Google.
Note that you can create a Custom Search Engine (CSE) using both AdSense for search and Custom Search.
Using AdSense for Search
- Login to your Google Adsense admin
- Click "My Ads" on the top menu
- Click "Search" followed by "Custom Search Engines" on the left menu
- Click "Get code" and copy the Search Box Code.
- The Google CSE ID is the value that corresponds to
name="cx"
. - Copy the Google CSE ID.
- Go to your Joomla backend and login as administrator. Select Components > googleSearch(CSE) > Config
- Click on the corresponding Search Engine and enter the Google CSE ID
<input type="hidden" name="cx" value="partner-pub-1234567812345678:1smy9a-qdjr" />
Using AdSense for Search
- Login to Google's Custom Search
- Click on the corresponding Search Engine.
- Click the button "Search engine ID". The Google CSE ID will be displayed.
- Copy the Google CSE ID.
- Go to your Joomla backend and login as administrator. Select Components > googleSearch(CSE) > Config
- Click on the corresponding Search Engine and enter the Google CSE ID
What do the different free editions mean? "Free" and "Free - (partner CSE)
- If you create the Search Engine using Google's Custom Search, you will see it listed as "Free" in the column "Edition". The Google CSE ID will appear in the following format:
123456789012345678901:abcdef12345
partner-pub-1234567890123456:abcde12345
Read more...