Re: Re: Including Google Ads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux