Keyword and creative IDs are unique only within their ad group, while ad group and campaign IDs are globally unique.
Reference: http://support.google.com/adwordsapi/bin/answer.py?hl=en&answer=15202