Another adsense in iframe question ...

Discussion in 'AdSense' started by Chios, Dec 19, 2006.

  1. #1
    Is it legal ?

    I have seen the terms https://www.google.com/adsense/terms
    but they only mention that you cannot frame your visitors after they click on a ad link. (searched for iframe and frame on the document)

    and in their policies https://www.google.com/adsense/support/bin/answer.py?answer=48182&topic=8423
    They state that no Google ad may be placed on any non-content-based pages.

    I know the ads wont find content to serve relevant ads but I willing to find a javascript solution by making the script think that its not inside a frame. without changing google's code of course.

    Would such a solution violate their terms and policies ?

    If you have to ask, I am using what I realized is a crappy CMS and it won't let me insert <script> code or other similar stuff but it will let me insert an <iframe>
     
    Chios, Dec 19, 2006 IP
  2. tobycoke

    tobycoke Well-Known Member

    Messages:
    1,676
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    140
    #2
    I'm sure it it would violate their TOS. Will your CMS template let you do a php include?
     
    tobycoke, Dec 19, 2006 IP
  3. frisby

    frisby Well-Known Member

    Messages:
    1,378
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    140
    #3
    If you can't add <script> tag through CMS, go directly to base (probably mysql) with phpmyadmin and add the code into proper content.
     
    frisby, Dec 19, 2006 IP
  4. Chios

    Chios Well-Known Member

    Messages:
    1,740
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    195
    #4
    I know but I am looking for the simplest solution without getting my hands dirty

    Anyway thanks for the concern. I also send google this question, waiting for their answer.
     
    Chios, Dec 19, 2006 IP
  5. Chios

    Chios Well-Known Member

    Messages:
    1,740
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    195
    #5
    They finally answered that its OK to use iframe so now I am just looking for a simple solution on how to make javascript see outside of the iframe

    Anyone has a solution ?
     
    Chios, Dec 22, 2006 IP
  6. Chios

    Chios Well-Known Member

    Messages:
    1,740
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    195
    #6
    I finally got around in solving this problem I just use

    document=parent.document;

    before the adsense code;

    I send the google team my concerns whether I could use or not it and they said it was ok with their policies since I was not modifying the google code.

    read the whole correspondence if you want
    http://geoland.org/2007/01/adsense-in-iframe/
     
    Chios, Jan 22, 2007 IP
  7. rcajht

    rcajht Peon

    Messages:
    103
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    https://www.google.com/adsense/support/?fulldump=1
    Why am I getting PSA's?
    The AdSense ad code was placed within an IFRAME.
    Our targeting technology is not optimized to serve ads within a separate IFRAME. If you placed the AdSense code in a separate IFRAME, your site may display less targeted ads or public service ads. For better results, please implement our ad code directly into the source of your web page. Once you make these changes, relevant ads may not appear immediately. Until we are able to re-crawl your site, which may take up to 48 hours or more, your page may continue to display untargeted or public service ads.
     
    rcajht, Jan 29, 2007 IP
  8. tdotn

    tdotn Peon

    Messages:
    117
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    its not legal, they emailed me a while back with a warning
     
    tdotn, Jan 29, 2007 IP
  9. mihd

    mihd Peon

    Messages:
    136
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #9
    its against the TOS most likely but take a look at http://megaupload.com/

    their ads are inside 2 frames!
    and the best part firefoxes adblock doesnt block it!
     
    mihd, Jan 29, 2007 IP
  10. Chios

    Chios Well-Known Member

    Messages:
    1,740
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    195
    #10
    well in my case it was communicated to the google adsense team and they responded positive - I have their coresondence I hope they honor this and not come up with a funny story at the end.
     
    Chios, Jan 30, 2007 IP