Localising Your Own Ad Content?

Does anyone know if it is possible to localise content through WordPress? e.g. You’ve got an Amazon.com Associate and an Amazon.co.uk Associate and want to display the .com ads to US based users and .co.uk content to European users?

Any quick fix before I go hacking something?