Archive for the 'Technology' Category Page 2 of 2



Google Adsense ad language

When I started using Google Adsense, my ads were set in the wrong language: in stead of displaying ads in English, Google sent me ads in French. Even more: in stead of calling the whole thing “Ads by Google“, it was called “Google Annonces“. And all this happened on a site with not a single non-English word. It took me some time to find out how to change this, even though in the end it was pretty trivial. That’s why I decided to list some items you’ll want to check when the language of your ads are not the language you expected.

Google is pretty good in keeping secrets,  so I expect there are not a lot of people outside Google that know its recipe for selecting the language of ads they send you. We do know, however, that it is based on a range of different factors, and changing only one might not yield the result you were hoping for.

  • First of all, there are the -very- obvious ones: your personal settings in your Adsense account. Even though this site is hosted on a server in Seattle and  fully written in English, it still received French advertising. I think this is due to the fact that that is the closest they could get to my mother country. Mind you, the language in my account was set to English. You can’t move to another country, in order to have your ads displayed in another country, of course (or if you do, you must have a great website, can I join?) but keep it in mind anyway.
  • Then we go to the – for the less web savvy users – less obvious ones: the meta information in your sites headers. Every webpage starts with a bit of information about itself. This information is formatted in tags, that are called the meta tags. One piece of information you can share with the world, is the language used on the page. I found that my WordPress header didn’t include this information by default. You can change this by adding it to your header.php file. You can find this file in the directory of the theme you’re using (e.g. wp-content->themes->default->header.php). You can open it with any text editor, and then you want to change the line that looks like this:
    <html xmlns=”http://www.w3.org/1999/xhtml” <?php language_attributes(); ?>>

    into this:

    <html xmlns=”http://www.w3.org/1999/xhtml” <?php language_attributes(); ?> xml:lang=”en” lang=”en” >

    Now you let the browsers of your visitors and Google or any other robot know that the language of your webpage is English (If you want another language, you’ll have to change the “en” of course). That’s what did it for me.

  • And now we go into the really obscure parts: the things you display on your page. It seems to make sense that Google looks at the words you use, and tries to link them to a certain language. So if your website is in Spanish, then it makes sense that the ads are in Spanish, right? But if that’s what they do, then that’s only a part of the story. Apparently, the  use of non-English characters can upset the Great Googly Moogly language detector as well. So if tweaking of all the above setting doesn’t help, you might want to check on what exactly you’re displaying.
  • There’s another factor influencing the language of the ads shown on your site, but there’s not much you can do about it yourself: the locality of the visitor. A visitor’s location is obviously a strong indication of his language. So if you’re located in a Spanish speaking region, and visit an English website, you can still receive adds in Spanish. If you want to check what people in another region will see, you might try to use some kind of a proxy service. (The last time I checked www.webproxy.pro for example, its IP address returned an address in the States.)
  • If after all these great tips, you’re still receiving ads in click language, then alas, I don’t know what to do. If you do have other tips, though, do not hesitate to put them in a comment!

Cheers

Thumbs up for DrupalValueHosting!

Not too long ago, I signed up with DrupalValueHosting for a BlowoutPackage2008. So far, I have been very pleased with the services they provide, and I have yet to have performance issues on my websites (though, admittedly, these sites are of the very-small-homebrew type that normally don’t attract millions of unique visitors each day).

A first issue I had was that on the temporary IP address they provided for accessing files I uploaded to the public html directory, it was not possible to run php scripts (due to safety reasons). Clearly, I had no clue about what was going on, so I opened a service ticket. Not only did they respond quickly – on a Sunday morning – but moreover, they assigned me a private IP address so I could test my sites before changing the DNS servers. Great service.

The second issue I had was with the free domain name that comes with the blowoutpackage. After a couple of days, I noticed that my domain name still hadn’t been registered. As I had gone back and forth a couple of times during the sign-up, and even changed the domain name once, I thought I messed up the registration. Opened another service ticket, and an hour later, the domain was registered and online…

As I haven’t been using DVH for long, I can only speak for this short period, but I really wanted to share how well they treated me up till know. (And as you can see, I haven’t signed up for the referral program, so you can really trust me, I make no money by telling you this. I might sign up though, as additional users mean an additional load on the server I am using myself. At least, I get something in return that way…)

Edit: I did sign up for the program, so this review is no longer unbiased :-)

What’s the insert key for?

I imagine that the keyboard real estate is a hard business to be involved in, these days. Keyboards tend to get tiny, as devices with keyboards are getting smaller, and small devices like cell phones are being fitted with fully functional keyboards. One of the major complaints of the average Asus Eee PC user, besides the small screen size – an issue that is being tackled with the new version as we speak – seems to be the awkwardly small keyboard.

Then why, one wonders, do all keyboard manufacturers all over the world put utterly useless keys on the board? I think the most useless part of my laptop, besides its 56k modem (and to be honest, I’m pretty sure that if I would try hard enough, I would be able to think of a situation where a 56k modem comes in handy), is the insert key. Is there one living soul that can explain to me what it’s use is? The only use I can see for it, is luring you into touching it while hitting the backspace, and subsequently sending two full sentences to sentence valhalla before you realise what’s going on. And of course, you wrote those sentences half an hour earlier, so you don’t remember them too well, and everything you substitute them with doesn’t really flow nicely.

I think ages ago, when a mouse was still something you tried to catch with a rusty piece of metal and a bit of cheese, it might have made sense to use the ‘overtype’ mode. In those times, you couldn’t easily select a bit of text, and type something else. So if your alinea didn’t flow nicely, you would go to the start of it, hit the insert key, and start allover. But those times are over! Now, we have more than 2 or 4 colours on our screen. We don’t use floppy disks anymore. 640 k was clearly not enough for everybody, and guess what: we don’t need the insert key anymore.

So I humbly suggest to all keyboard designers in the world, to find a good alternative use for the insert key. Even a smiley key would get used more often on my keyboard…