Bolas
04-04-2006, 10:00 PM
Hi Ya!
What appens if you got lot of styles and you need to put a Google Adsense banner with specified color/background-color for each else?
You have to put the code in every style, with the opportune change of color in the code.
This product will save you from that!
live examples with different styles:
http://www.wellage.net/showthread.php?t=18948
http://www.wellage.net/showthread.php?t=18948&styleid=57
http://www.wellage.net/showthread.php?t=18948&styleid=54
http://www.wellage.net/showthread.php?t=18948&styleid=59
http://www.wellage.net/showthread.php?t=18948&styleid=17
1) Install the product
2) Use this code to put the banner (THIS IS ONLY AN EXAMPLE!!! YOU HAVE TO EDIT YOUR GOOGLE ADSENSE CODE WITH THE RIGHT DATA!!! USE ONLY THE GREEN LINES!!!)
<script type="text/javascript"><!--
google_ad_client = "pub-2120333334261222-EDIT-THIS";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel ="0691023760";
google_color_border = "$google_color_border";
google_color_bg = "$google_color_bg";
google_color_link = "$google_color_link";
google_color_url = "$google_color_url";
google_color_text = "$google_color_text";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
If you want to change color solutions, edit mine GoogleAdsenseColorProduct.xml and try using the following color variables. Then import it again overwriting the old version.
$stylevar["body_fgcolor"]
$stylevar["page_bgcolor"]
$stylevar["page_fgcolor"]
$stylevar["tborder_bgcolor"]
$stylevar["tborder_fgcolor"]
$stylevar["tcat_bgcolor"]
$stylevar["tcat_fgcolor"]
$stylevar["thead_bgcolor"]
$stylevar["thead_fgcolor"]
$stylevar["tfoot_bgcolor"]
$stylevar["tfoot_fgcolor"]
$stylevar["alt1_bgcolor"]
$stylevar["alt1_fgcolor"]
$stylevar["alt2_bgcolor"]
$stylevar["alt2_fgcolor"]
$stylevar["td.inlinemod_bgcolor"]
$stylevar["td.inlinemod_fgcolor"]
$stylevar["wysiwyg_bgcolor"]
$stylevar["wysiwyg_fgcolor"]
$stylevar["time_fgcolor"]
$stylevar["highlight_fgcolor"]
$stylevar["fjsel_bgcolor"]
$stylevar["fjsel_fgcolor"]
$stylevar["fjdpth0_bgcolor"]
$stylevar["fjdpth0_fgcolor"]
$stylevar["panel_bgcolor"]
$stylevar["panel_fgcolor"]
$stylevar["panelsurround_bgcolor"]
$stylevar["panelsurround_fgcolor"]
$stylevar["legend_fgcolor"]
$stylevar["vbmenu_control_bgcolor"]
$stylevar["vbmenu_control_fgcolor"]
$stylevar["vbmenu_popup_bgcolor"]
$stylevar["vbmenu_popup_fgcolor"]
$stylevar["vbmenu_option_bgcolor"]
$stylevar["vbmenu_option_fgcolor"]
$stylevar["vbmenu_hilite_bgcolor"]
$stylevar["vbmenu_hilite_fgcolor"]
$stylevar["outerdivwidth"]
$stylevar["divwidth"]
IMPORTANT! READ THIS! USING THIS PLUGIN WILL BREAK ADSENSE TOS, so use it at your own risk. I will not assume any responsability about your use of this plugin.
The code generated is LIKE an original GOOGLE ADSENSE, but the TOS DENY ANY CHANGE on it using the google adsense control panel.
The adsense TOS says that you cannot modify the code they generate for you in any way.
You're right though, it will probably look and function the same and it would probably go unnoticed (unless something broke). But it is against the adsense TOS.
This was clarified a few times on another forum by a Google employee.
What appens if you got lot of styles and you need to put a Google Adsense banner with specified color/background-color for each else?
You have to put the code in every style, with the opportune change of color in the code.
This product will save you from that!
live examples with different styles:
http://www.wellage.net/showthread.php?t=18948
http://www.wellage.net/showthread.php?t=18948&styleid=57
http://www.wellage.net/showthread.php?t=18948&styleid=54
http://www.wellage.net/showthread.php?t=18948&styleid=59
http://www.wellage.net/showthread.php?t=18948&styleid=17
1) Install the product
2) Use this code to put the banner (THIS IS ONLY AN EXAMPLE!!! YOU HAVE TO EDIT YOUR GOOGLE ADSENSE CODE WITH THE RIGHT DATA!!! USE ONLY THE GREEN LINES!!!)
<script type="text/javascript"><!--
google_ad_client = "pub-2120333334261222-EDIT-THIS";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel ="0691023760";
google_color_border = "$google_color_border";
google_color_bg = "$google_color_bg";
google_color_link = "$google_color_link";
google_color_url = "$google_color_url";
google_color_text = "$google_color_text";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
If you want to change color solutions, edit mine GoogleAdsenseColorProduct.xml and try using the following color variables. Then import it again overwriting the old version.
$stylevar["body_fgcolor"]
$stylevar["page_bgcolor"]
$stylevar["page_fgcolor"]
$stylevar["tborder_bgcolor"]
$stylevar["tborder_fgcolor"]
$stylevar["tcat_bgcolor"]
$stylevar["tcat_fgcolor"]
$stylevar["thead_bgcolor"]
$stylevar["thead_fgcolor"]
$stylevar["tfoot_bgcolor"]
$stylevar["tfoot_fgcolor"]
$stylevar["alt1_bgcolor"]
$stylevar["alt1_fgcolor"]
$stylevar["alt2_bgcolor"]
$stylevar["alt2_fgcolor"]
$stylevar["td.inlinemod_bgcolor"]
$stylevar["td.inlinemod_fgcolor"]
$stylevar["wysiwyg_bgcolor"]
$stylevar["wysiwyg_fgcolor"]
$stylevar["time_fgcolor"]
$stylevar["highlight_fgcolor"]
$stylevar["fjsel_bgcolor"]
$stylevar["fjsel_fgcolor"]
$stylevar["fjdpth0_bgcolor"]
$stylevar["fjdpth0_fgcolor"]
$stylevar["panel_bgcolor"]
$stylevar["panel_fgcolor"]
$stylevar["panelsurround_bgcolor"]
$stylevar["panelsurround_fgcolor"]
$stylevar["legend_fgcolor"]
$stylevar["vbmenu_control_bgcolor"]
$stylevar["vbmenu_control_fgcolor"]
$stylevar["vbmenu_popup_bgcolor"]
$stylevar["vbmenu_popup_fgcolor"]
$stylevar["vbmenu_option_bgcolor"]
$stylevar["vbmenu_option_fgcolor"]
$stylevar["vbmenu_hilite_bgcolor"]
$stylevar["vbmenu_hilite_fgcolor"]
$stylevar["outerdivwidth"]
$stylevar["divwidth"]
IMPORTANT! READ THIS! USING THIS PLUGIN WILL BREAK ADSENSE TOS, so use it at your own risk. I will not assume any responsability about your use of this plugin.
The code generated is LIKE an original GOOGLE ADSENSE, but the TOS DENY ANY CHANGE on it using the google adsense control panel.
The adsense TOS says that you cannot modify the code they generate for you in any way.
You're right though, it will probably look and function the same and it would probably go unnoticed (unless something broke). But it is against the adsense TOS.
This was clarified a few times on another forum by a Google employee.