RE: [PHP] Re: Including Google Ads
| From: | KermodeBear | Date: | Thu, 10 Aug 2006 14:34:50 +0000 |
| Subject: | RE: [PHP] Re: Including Google Ads | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-240467@lists.php.net to get a copy of this message | ||
>> 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