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
To my agony, today I discovered that the Keyword Id is not unique for a keyword+match type even within an account. I manage multiple Adwords accounts and all my scripts were based on the assumption that the Keyword Id uniquely defined the "keyword text" and "match type" combo. I had validated this to be true in a few accounts some time ago.
But today I found some anomalies in reports for one account and when I dug deep I discovered that the same keyword+match type has multiple keyword ids within the same account. In fact in some cases I found 5 different ids for a combo.
Attaching a screenshot of one such instance