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.

Example of using different ads depending on visitors location

Discussion in 'Placement / Reviews / Examples' started by seedybee68, Feb 13, 2008.

  1. #1
    Hi

    On the following page

    http://easter.newarchaeology.com/2009_easter_date2.php

    In a vertical column on the RIGHT of the page visitors from the UK should see Affiliate Ads (John Lewis) whereas visitors from overseas should see Adsense.

    Here's how I did it.

    1) I Downloaded a spreadsheet of ip ranges and associated countries. Uploaded this to my SQL database.
    2) Wrote php code to read visitors IP and check against the database entry.
    3) Finally a little 'if / else' routine to display one or other of two include files.


    Now for my requests to you.

    A) Please can someone from outside the UK please check that they are indeed seeing adsense ads (vertical banner on right of page) for me?

    B) Is there a better way of going about this?

    C) Have i broken any obscure TOS?

    thanks
    C
     
    seedybee68, Feb 13, 2008 IP
  2. mutooni

    mutooni Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi..

    I see adsense - and I am not in the UK. Have you run a split test to see if you affiliate ads pays more than adsense for UK visitors?

    The ad in the top seems a little to big. You should also try adding link units.
     
    mutooni, Feb 14, 2008 IP
  3. cheapez

    cheapez Active Member

    Messages:
    1,123
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    78
    #3
    I'm in USA, I see an adsense vertical content unit there.
     
    cheapez, Feb 14, 2008 IP
  4. seedybee68

    seedybee68 Guest

    Messages:
    70
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for the assistance
     
    seedybee68, Feb 14, 2008 IP