Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Randomize your Adsense Ad Colour Palette on Page Refresh Details »»
Randomize your Adsense Ad Colour Palette on Page Refresh
Version: 1.00, by Q-v-n-s-Q Q-v-n-s-Q is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.2 Rating:
Released: 08-09-2008 Last Update: Never Installs: 8
 
No support by the author.

Guaranteed 25% Increase in your Adsense Revenue



Google Adsense allows you to change you ad colours into 6 different variations randomly on every page reload and this is only possible if you are using the older ad codes and not the new ones which can be directly managed from your account. The Google adsense new ad colour codes are easy to manage as a publisher but has no options to show up different colours in random orders. You can just get the channel code and Pub-ID from your new ad codes and replace in the following Sample Random Ad Colour Pallete Template and get started. I have been using this and have seen a significantly 3% increase in my CTR though many of my readers keep sending me emails referring to use a better ad colour paletter but when they refresh the same page they themselves get surprised for a new coloured ads on my blog.



Code:
Normal Ad Code Template :
<script type=?text/javascript?><!?
google_ad_client = ?pub-XXXXXXXXXXXXXXXX?;
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = ?160?600_as?;
google_ad_type = ?text?;
google_ad_channel = ?XXXXXXXXXXX?;
google_color_border = ?FFFFFF?;
google_color_bg = ?FFFFFF?;
google_color_link = ?666666″;
google_color_text = ?666666″;
google_color_url = ?666666″;
//?>
</script>
<script type=?text/javascript?
src=?http://pagead2.googlesyndication.com/pagead/show_ads.js?>
</script>


Google Adsense Random Colour Palette Template :

Code:
google_color_border = ["FFFFFF","FFFF66","6131BD","FFFF66"];
google_color_bg = ["FFFFFF","3D81EE","3D81EE","000033"];
google_color_link = ["990033","FFFFCC","FFFF66","FFFF66"];
google_color_url = ["990033","FFFFFF","FFFFFF","FFFFFF"];
google_color_text = ["000000","FFFFCC","FFFFCC","FFFFCC"];


Full color adsense code:

Code:
<script type=?text/javascript?><!?
google_ad_client = ?pub-XXXXXXXXXXXXXXXX?;
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = ?160?600_as?;
google_ad_type = ?text?;
google_ad_channel = ?XXXXXXXXXXX?;
google_color_border = ["FFFFFF","FFFF66","6131BD","FFFF66"];
google_color_bg = ["FFFFFF","3D81EE","3D81EE","000033"];
google_color_link = ["990033","FFFFCC","FFFF66","FFFF66"];
google_color_url = ["990033","FFFFFF","FFFFFF","FFFFFF"];
google_color_text = ["000000","FFFFCC","FFFFCC","FFFFCC"];
//?>
</script>
<script type=?text/javascript?
src=?http://pagead2.googlesyndication.com/pagead/show_ads.js?>
</script>
Live demo: http://www.integeeks.com/ Reflesh to change the color.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-11-2008, 10:49 AM
thompson thompson is offline
 
Join Date: Jul 2007
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sounds really interesting.
Reply With Quote
  #13  
Old 11-07-2015, 05:36 PM
webnsn webnsn is offline
 
Join Date: Oct 2009
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DO NOT CHANGE ADSENCE CODE
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:26 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03611 seconds
  • Memory Usage 2,213KB
  • Queries Executed 17 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete