Adsense for Search Format and keywords

Use this forum to ask questions about how to do things with my MediaWiki Extensions.
Post Reply
User avatar
coolgreany
Rank 1
Rank 1
Posts: 9
Joined: February 22nd, 2009, 10:01 am

Adsense for Search Format and keywords

Post by coolgreany »

When I setup the adsense for search it asked me for a format and keywords. Does using just <google></google>
use my default settings of format and keywords based on my Client ID?

I tried a search box using a CH0x designator using the #ID from my Google "Manage Ads" page but it just gives me a blank box.



It seems to be using a standard box so I assume it's ignoring the rest of the options (such as keywords).
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Adsense for Search Format and keywords

Post by Paul »

For Google search, all you need is your client ID ...
User avatar
coolgreany
Rank 1
Rank 1
Posts: 9
Joined: February 22nd, 2009, 10:01 am

Re: Adsense for Search Format and keywords

Post by coolgreany »

Thanks, I;ve added the Client ID to the GoogleAdsense.php file as below:

$CLIENTID = "pub-486638311xxxxxxx"; // Your Client ID

$CHANNELS = array( // Your Channel ID
'CH01' => '608xxxxxxx',
'CH02' => 'xxxxxxxxxx',
'CH03' => 'xxxxxxxxxx'

The Google Search Box still doesn't reflect the style I selected when I setup the Adsesnse Search options. Should it or are we limited to a default format? If default format does that mean the keywords selected for Search during setup are ignored?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Adsense for Search Format and keywords

Post by Paul »

don't forget to clean mediawiki cache and browser cache...
Post Reply