Minor Code Changes

Discussion in 'Guidelines / Compliance' started by ThisIsOli, Mar 20, 2008.

  1. #1
    I recently joined adsense and decided to put a square ad box floating
    top right on my posts (Only when showing single posts) Unfortunately
    when I entered the HTML into the code it seems blogger has some
    parsing issues with google code.

    <b:if cond='data:blog.pageType != "item"'>
    <div style='float:right; margin-left:10px;'>
    <script type="text/javascript"><!--
    google_ad_client = "pub-5630441301022684";
    /* WoWRGFloatTopLeft */
    google_ad_slot = "6824574540";
    google_ad_width = 250;
    google_ad_height = 250;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </div>
    </b:if>

    There is however a workaround

    <b:if cond='data:blog.pageType == "item"'>
    <div style='float:right; margin-left:10px;'>
    &lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
    google_ad_client = &quot;pub-5630441301022684&quot;;
    /* WoWRGFloatTopLeft */
    google_ad_slot = &quot;6824574540&quot;;
    google_ad_width = 250;
    google_ad_height = 250;
    //--&gt;&lt;/script&gt;
    &lt;script type=&quot;text/javascript&quot;
    src=&quot;http://pagead2.googlesyndication.com/pagead/
    show_ads.js&quot;&gt;
    &lt;/script&gt;
    </div>
    </b:if>

    This code does not make any real difference apart from leting me show
    an advert heavily suggested by google itself, the modification however
    is clearly against google TOS.

    My question is would this modification be allowed as it is in no way
    trying to do anything subversive, just changing the coding slightly to
    keep it compatable with blogger.

    I also have a slight query regarding the search boxes, where I would
    like the choice of site search or web search to be below one another.
    I can see how to do this but I am wary of breaking google ToS even
    though it is purely a cosmetic change (Inserting <br></br>)
    And preferably changing the label to read my site name not the site address (WIth it benig a blogspot URL it is fairly long winded!
     
    ThisIsOli, Mar 20, 2008 IP
  2. whoyouare

    whoyouare Active Member

    Messages:
    167
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #2
    i heard that changing codes from adsense can cause BAN! but i m not sure....
     
    whoyouare, Mar 22, 2008 IP
  3. poshswinger

    poshswinger Active Member

    Messages:
    2,527
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    90
    #3
    Unless the changes you made to the code is the same as the one generated from your Adsense account, it is a violation to policy for you to alter the code.
     
    poshswinger, Mar 25, 2008 IP
  4. ThisIsOli

    ThisIsOli Active Member

    Messages:
    540
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #4
    In that case how come so many websites amke tehse minor appearance changes and get away with it.

    Take WoWwiki .com for instance, even changed the display of the URL!

    There are many major websites that are using google and have made minor changes, as well as smaller ones. I really wish a google representative would talk to me abotu this rather than just sending a related response that actually doesnt get close to solving the problem!
     
    ThisIsOli, Apr 4, 2008 IP
  5. kmofo

    kmofo Active Member

    Messages:
    442
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    85
    #5
    Contact Adsense staff before doing any changes, you don't want to risk getting banned.
     
    kmofo, Apr 4, 2008 IP
  6. cri8bat

    cri8bat Well-Known Member

    Messages:
    1,459
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    160
    #6
    Contact google thats the best advice I can give you

    I also contacted them for my isse for the http://surfproxy.us/news/world_news.php
    were I am using CSS to blend the ads. And they didnt give me an streight answer, they said to read the TOS
    but they didnt say that it was againts the TOS :S
    :???
     
    cri8bat, Apr 4, 2008 IP
  7. glockp10

    glockp10 Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    wow that is risk if u change that ,,,,
    hmmm.. ever I read changing code will be banned and ads can't work very well

    but i dont know the fact !!!
     
    glockp10, Apr 5, 2008 IP
  8. ThisIsOli

    ThisIsOli Active Member

    Messages:
    540
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #8
    contacted adsense staff and they sent me another generic email that didn't quite answer my question.

    God I hate these guys sometimes, it would be so easy, they could even have an option in their search box maker thing to list urls horizontally!
     
    ThisIsOli, Apr 5, 2008 IP
  9. glockp10

    glockp10 Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    oo i cee must be contacted to staff !! yhx for information
     
    glockp10, Apr 6, 2008 IP