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.

Block International Traffic

Discussion in 'Publisher Network' started by aaron_nimocks, Mar 14, 2006.

  1. intelliot

    intelliot Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #41
    I'm concerned about performance too, especially since I use this on forums which have many repeat visitors. One idea I've thought of as an easy fix is setting a cookie the first time the visitor views the site and we have to check where the IP is located. If the IP is in the US, we set the cookie like setcookie("Location", "United States") or setcookie("Location", "International")
    SEMrush
    Then just check $_COOKIE['cookiename'] == "United States" to determine which ads to show on future page loads.
     
    intelliot, Apr 1, 2006 IP
    SEMrush
  2. americanguy

    americanguy Peon

    Messages:
    62
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #42
    Yahoo wants quality US traffic. So i guess it is right that they are not showing the ads for international traffic.
     
    americanguy, Apr 2, 2006 IP
  3. ArcticPro

    ArcticPro Banned

    Messages:
    1,277
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #43
    Can't we just do an IF statement? IF U.S. then show YPN ads ELSE Adsense without all the countries and everything, that would be the fastest I would think.
     
    ArcticPro, Apr 3, 2006 IP