Re: Re: Including Google Ads

From: Date: Thu, 10 Aug 2006 15:51:40 +0000
Subject: Re: Re: Including Google Ads
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-240472@lists.php.net to get a copy of this message
KermodeBear wrote:
I do not want to include it only but to be able to set the keywords for the add.
You do not define that. Google scans your pages and shows relevant ads according to your pages content.
Actually, you can. I'm doing this for an advertising system with the company I work for right now. You set the 'google_kw' variable before including their awful JavaScript. You can also add 'google_city' and 'google_region' for more local ads, as well as some other goodies. The default behavior is for Google to crawl the page on display the relevant ads, but supplying a key word prevents them from doing this (saving you bandwidth) and giving you more control over what is displayed. This is all documented in their AdSense documentation. HTH, K. Bear
Modifying Google's javascript code even in the slightest (such as messing around with variables) is against the AdSense terms of service, and is a good way to get your account revoked really fast. Only premium publishers that get express permission from Google are allowed to mess with those variables. It's possible that your company is a premium AdSense customer, but Mr. Antunes is almost certainly not. Regards, Adam Zey.

« previous php.general (#240472) next »