10 replies
  • SEO
  • |
Hi all,
Please I want to know if adding adsense code in table(without touch adsense code ) is it legal or against TOS
and what if I add color background to the table like this

<table background="#fff">
<tr><td>
Adsense code here
</td></tr></table>

is it legal or not , Let's see professional
Thanks
#adsense #tables
  • Profile picture of the author rahmanpaidar
    It's ok. No problem with adsense and using table, border and colors.

    If you don't force the width and height of the adsense code to change, you are ok.
    {{ DiscussionBoard.errors[6772025].message }}
    • Profile picture of the author lurance
      Originally Posted by rahmanpaidar View Post

      It's ok. No problem with adsense and using table, border and colors.

      If you don't force the width and height of the adsense code to change, you are ok.
      Thanks you for reply Rahmanpaidar
      I want to customize width and height for the table (i.e hight=450, width=500 etc.) and I will put adsens inside the cell without change ,
      dose this acceptable to adsense or not please I need sure answer
      I still worry about this

      Thank you in advance
      {{ DiscussionBoard.errors[6774798].message }}
      • Profile picture of the author rahmanpaidar
        Originally Posted by lurance View Post

        Thanks you for reply Rahmanpaidar
        I want to customize width and height for the table (i.e hight=450, width=500 etc.) and I will put adsens inside the cell without change ,
        dose this acceptable to adsense or not please I need sure answer
        I still worry about this

        Thank you in advance
        No problem even if you specify width and height for table cells using
        adsense code in it if the adsense shows up entirely in the cell.

        You can test it yourself in your code. If you see the adsense entirely
        without cutting the edges, you are ok to go on.
        {{ DiscussionBoard.errors[6775028].message }}
        • Profile picture of the author lurance
          Originally Posted by rahmanpaidar View Post

          No problem even if you specify width and height for table cells using
          adsense code in it if the adsense shows up entirely in the cell.

          You can test it yourself in your code. If you see the adsense entirely
          without cutting the edges, you are ok to go on.
          Thank you for reply
          my last question is just , if i add background color to the table same as adsense color
          (like they be one unite )is it accepted or not

          Thank you all for help
          {{ DiscussionBoard.errors[6776205].message }}
          • Profile picture of the author rahmanpaidar
            Originally Posted by lurance View Post

            Thank you for reply
            my last question is just , if i add background color to the table same as adsense color
            (like they be one unite )is it accepted or not

            Thank you all for help
            Lurance, IMO it should be no problem.

            Alternatively you can post this question on googleblog.blogspot.com or
            googlewebmastercentral.blogspot.com or just ask Matt Cutts on his blog:
            mattcutts.com
            {{ DiscussionBoard.errors[6776407].message }}
            • Profile picture of the author lurance
              Originally Posted by rahmanpaidar View Post

              Lurance, IMO it should be no problem.

              Alternatively you can post this question on googleblog.blogspot.com or
              googlewebmastercentral.blogspot.com or just ask Matt Cutts on his blog:
              mattcutts.com
              Thank you for help Rahmanpaidar
              I really appreciate your answers
              but for the official blog i couldn't find way to ask
              anyway I still have some worry of close account if i use table in adsense :confused:
              {{ DiscussionBoard.errors[6776979].message }}
              • Profile picture of the author Carl Brown
                It's not a problem at all. Before I mastered divs & css, I did everything in tables for years. It's how I got the adsense block to the left or right of the content (instead of just above). Just make sure the table width & height, including the cellpadding is greater than the ad block you're using. You'll want to add at least 10 or 15px to the cell padding so the content doesn't touch the ad block (that might cause problems with google).
                Signature

                {{ DiscussionBoard.errors[6777024].message }}
                • Profile picture of the author lurance
                  Originally Posted by Carl Brown View Post

                  It's not a problem at all. Before I mastered divs & css, I did everything in tables for years. It's how I got the adsense block to the left or right of the content (instead of just above). Just make sure the table width & height, including the cellpadding is greater than the ad block you're using. You'll want to add at least 10 or 15px to the cell padding so the content doesn't touch the ad block (that might cause problems with google).
                  Thank you Carl Brown for your help ,

                  please check this code is it acceptable to google ???

                  <table border="1" cellspacing="0" cellpadding="0" align="center" width="400" height ="400">
                  <tbody>
                  <tr>
                  <td style="background: #344342; text-align: center;" valign="center" > Adsense code here </td>
                  </tr>
                  </tbody>
                  </table>
                  is it ok or I need to add any thing else , Please Advice

                  And Thank you again for help
                  {{ DiscussionBoard.errors[6777215].message }}
                  • Profile picture of the author Carl Brown
                    This is the code I use on one of my sites for a 336x280 ad block with 10px padding all around (the align="left" puts the table on the left of the content):

                    Code:
                    <table width="356" height="300" border="0" align="left" cellpadding="10" cellspacing="0">
                      <tr>
                        <td>Google Adsense Code</td>
                      </tr>
                    </table>
                    Signature

                    {{ DiscussionBoard.errors[6777423].message }}
                    • Profile picture of the author lurance
                      Originally Posted by Carl Brown View Post

                      This is the code I use on one of my sites for a 336x280 ad block with 10px padding all around (the align="left" puts the table on the left of the content):

                      Code:
                      <table width="356" height="300" border="0" align="left" cellpadding="10" cellspacing="0">
                        <tr>
                          <td>Google Adsense Code</td>
                        </tr>
                      </table>
                      Thank you very much Mr. Carl Brown for your help
                      I will use your one
                      but can I add bgcolor to table to fit the bgcolor of Google Adsene?? or I shouldn't

                      Thank you..
                      {{ DiscussionBoard.errors[6777706].message }}
                      • Profile picture of the author samex4rill
                        [DELETED]
                        {{ DiscussionBoard.errors[10161852].message }}

Trending Topics