The problem with this approach is that it rapidly consumes the API
quota as each id retreived counts as 1 operation.
So I want to perform a certain action on 1 keyword out of 500, I first
have to retrieve IDs for all 500 and then find mine among them. This is
500 API operations.
If you look at the link for "find alternatives" or "delete", the URL
contains a parameter called "criterionid" which is nothing but the
keyword id.
But if you signed up for Google API, then unfortunately you signed away
your rights to screen scrape the Google website.
I had earlier written screen scraping scripts to automate many of my
processes. But unfortunately after signing up for this API, I am not
able to use those scripts and the number of operations allowed in the
API is too very restrictive.
I am even thinking of scrapping my existing account and opening a new
adwords account. I would then not sign up for the Google API and
continue to use my old screen scraping scripts. What a pity!!!