In the Google AdWords API, I believe Keyword IDs and AdGroup IDs (and obviously Campaign IDs) are unique within an account (as opposed to the Keyword ID only being unique within
I've always found them to be unique, but you shouldn't count on it because Google doesn't actually guarantee that they are. I asked the same question in the official AdWords API forum a few years ago:
http://groups.google.com/group/adwords-api/browse_thread/thread/5383edba772b7b6c/548e04f54b1d4a74?hl=en&q=#548e04f54b1d4a74