Update:Don't use this hack.. Making image backgrounds can be against the Adsense TOS. So just don't do it.. Hmm guys..Wanna add background image to yourr adsense ad so that it looks better..

Ok then here is the trick..

<table align="center" width="your_image_width" height="your_image_height" border="0" background="your_image_path">
<tr><td width="your_image_width" height="your_image_height">
<div align="center">

Edit the above code properly as below..

Replace Put_Google_Ads_code_here with your adsense code.

Replace your_image_width with the width of your image

Replace your_image_height with the height of your image

Replace your_image_path with your image file's url

After editing put this code in the place you need your ads to appear(with background image)

When you choose the background colour and border colour in Adsense for content setup please try to use colours matching with your back ground image..


  1. Really nice blog...keep it up....im subscribing to it!!

  2. thanks buddy...
    i will try to keep this updated...

  3. i liked your blog.
    i would love to have link exchange with your blog.

    i have added you blog's link to my blog. Kindly add my blog link to your blog also.


  4. Your script is easier to use than using CSS

  5. Hi! I'm just new in the world of blogosphere. This script is cool but to my dismay, google don't allow us to do something tricky on our adsense. Anyway, thanks for this cool code!

  6. Thanks for the updated post, I never knew it's forbiddeb by Google TOS.

  7. This is pure insane!! I wonder who will want to lose his/her AdSense account! As in an instant Google will track this trick down & ban the said account for life, It's a VIOLATION of the Google ToS. SO NEVER TRY THIS.

  8. nice trick to increase adsense revenue !

  9. Frnd Tell Comment About My Blog http://guitar4learners.blogspot.in/

  10. It's against adsense tos.don't try