RE: [PHP] Re: Including Google Ads
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Including Google Ads
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
RE: [PHP] Re: Including Google Ads
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. Interesting! Of this I was unaware. All the business stuff is taken care of by someone else. I guess where I work is considered 'premium', which is pretty darn scary when I think about it. (o; Thanks for the heads up, I've been considering adding some ad stuff to a few small sites of my own. Regards, Adam Zey. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php