1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Code Snippet Needed

Discussion in 'Publisher Network' started by mika123, Aug 18, 2006.

  1. #1
    Does anyone know a code snippet (perl, php, asp) that you can plug into your existing site and it displays contextual ads based on the visitor's origin? Let's say if a visitor comes from USA it should show YPN ads otherwise AdSenese...
     
    mika123, Aug 18, 2006 IP
  2. andy11

    andy11 Peon

    Messages:
    282
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Mika,

    Many threads covered this topic - the easiest way to find em is 2 use the search feature. The terms geo geotarget, "geo target" etc are good candidates.
     
    andy11, Aug 19, 2006 IP
  3. ArcticPro

    ArcticPro Banned

    Messages:
    1,273
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
  4. mika123

    mika123 Peon

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks a lot!
     
    mika123, Aug 19, 2006 IP
  5. loopy62

    loopy62 Peon

    Messages:
    668
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Pm'ed you about your geotarget campaign
     
    loopy62, Aug 20, 2006 IP
  6. tigrrra

    tigrrra Well-Known Member

    Messages:
    2,109
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    120
    #6
    tigrrra, Aug 22, 2006 IP
  7. Chuckun

    Chuckun Well-Known Member

    Messages:
    1,161
    Likes Received:
    60
    Best Answers:
    2
    Trophy Points:
    150
    #7
    phpadsnew kicks @$$ IMO, adpeeps is probably better for most people, but phpAdsNew is free, and has geotargetting so..
     
    Chuckun, Aug 23, 2006 IP
  8. mika123

    mika123 Peon

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    What is adpeeps?
     
    mika123, Aug 24, 2006 IP
  9. feha

    feha Active Member

    Messages:
    1,005
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    80
    #9
    Please check hotscripts.com
     
    feha, Aug 30, 2006 IP
  10. mika123

    mika123 Peon

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    But I ALSO need something that I can integrate into static html pages... Any ideas, Please???
     
    mika123, Aug 30, 2006 IP
  11. GeorgeB.

    GeorgeB. Notable Member

    Messages:
    5,695
    Likes Received:
    288
    Best Answers:
    0
    Trophy Points:
    280
    #11
    use mod_rewrite to turn the html pages into PHP server side.

    Or you're stuck using iframes.
     
    GeorgeB., Aug 30, 2006 IP
  12. mika123

    mika123 Peon

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Any how exactly that would be done? I don't have access to httpd.conf so I guess I need to put rules in .htaccess file. But what would be the contents of .htaccess files, PLEASE.

    Thanks,

    Mika123
     
    mika123, Sep 1, 2006 IP