Google AdSense in external .js file

Discussion in 'Guidelines / Compliance' started by NewComputer, Aug 15, 2004.

  1. #1
    Is anyone doing this? Has anyone tried this? I believe it is not against TOS as I would not be "altering the code".

    Would it only display PSA ads?

    So many questions, so few answers.... as always.
     
    NewComputer, Aug 15, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    It would work, and isn't a violation of their TOS, as long as the HTML code that gets delivered to the browser is not changed.
     
    digitalpoint, Aug 15, 2004 IP
  3. Trance-formation

    Trance-formation Peon

    Messages:
    598
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    All my adsense stuff is done as a php include and works well...
     
    Trance-formation, Aug 15, 2004 IP
  4. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #4
    Thanks Shawn,

    I have started using it on a few pages. I want to see how the ads are served etc... It already looks like there may be some relevancy issues. They were serving floral ads on a few of my pages. If mediabot knew me (6'4 and 300lbs) it would know that flowers are the last thing that interest me, now maybe my wife is some involved.....hmmm.
     
    NewComputer, Aug 15, 2004 IP
  5. DarrenC

    DarrenC Peon

    Messages:
    3,386
    Likes Received:
    154
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Last month I spent days adding the javascript to all of my pages for my stats counter and have just realised reading this post what a moron I've been LOL Why the hell didn't I think about doing a .js file
     
    DarrenC, Aug 15, 2004 IP
  6. hulkster

    hulkster Peon

    Messages:
    1,705
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I "include" external .js files for my Adsense stuff - sure makes things a lot simplier, since the code is all referenced there - have been doing that since inception of the program.
     
    hulkster, Aug 19, 2004 IP
  7. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #7
    Have you ever been contacted by 'G' as a result?

    Ever had relevancy issues?
     
    NewComputer, Aug 19, 2004 IP
  8. hulkster

    hulkster Peon

    Messages:
    1,705
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Have never heard anything from the big "G"
     
    hulkster, Aug 19, 2004 IP
  9. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #9

    I do the same thing, no problems at all.
     
    fryman, Aug 19, 2004 IP
  10. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #10
    What about ad relevancy?

    I really don't think there is anything wrong as far as TOS go, but I am concerned about relevancy of ads.
     
    NewComputer, Aug 19, 2004 IP
  11. AbsoluteJake

    AbsoluteJake Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I can see how it is easy in pHp to get AdSense in, but what about in an external .js? I want to put it in an external .js, but I haven't figured out how since it would require me to import code linking to another site within a .js file, and I am not quite sure how to do that. Does anyone have a website as an example of it?
     
    AbsoluteJake, May 27, 2008 IP