Shadow background Effects of Google Adsense ads

Source: Internet
Author: User

Recently, many of my friends have asked how the shadow effect of Google Adsense ads under the title of this site is achieved. This is actually a very simple CSS technique. This is really not enough to write an article to introduce it, however, yesterday, a netizen wanted to pay for the effect. :) so he promised to give a special introduction to this user.How to Implement shadow background Effects of Google Adsense ads. As follows:

 

Implementation Method

1. Use a div label to wrap your Google Adsense advertisement code, as shown below:

<Div class = "ggad"> Google Adsense Advertising Code </div>

2. Use photoshop or other tools to create a background image. For example, my background image is a triangle with a width of pixel PX and a height of 113px. it is saved in the images folder of the wordpress topic with the name of mongoggshadow.jpg.

3. Use the CSS code as the <div class = "ggad"> background image and write it in style.css:

. Ggad {
Padding-left: pixel PX;/* width of the background image */
Background: url (images/ggshadow.jpg) left bottom;/* specify the background image and display it in the lower left position */
}

OK.

Violation?

In addition, some netizens asked whether to add such background rules to Google Adsense ads. My answer is: no.

I do not know. I only remember reading an article a long time ago. The general idea is that adding decorative background images for GG advertisements is acceptable (whether the information is accurate cannot be verified ). However, Google Adsense prohibits any form of click induction. So the question is:How to determine whether a background image is decorated or induced?? I think it cannot be judged, or the judgment depends on Google:Google thinks that you are decorating, and think that you are inducing or inducing!

Increase click rate?

The reason why the site uses this effect is completely for good looks and fun. According to the long-term statistics of Adsense on this site, there is basically no impact on the click rate, there is little change before and after the decoration, and sometimes it may even reduce the click rate. Therefore, consider whether your website needs such an effect.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.