Use free GeoLite version or purchase full GeoIP version for better accuracy.. for your task GeoLite is enough.. it might not recognize some AOL ip's and overall, maybe, 1% of results will be wrong, but then tell your affiliate manager to piss off ;)
MaxMind - GeoLite Country | Open Source IP Address to Country Database