basicly, we want to get keywords for a list about 30000 products url and products id with google adwords keyword planner.
load webpage in iframeset, read csv file line by line , and set the form and submit it, fetch metrics from results and export as csv file line by line.
you might have better idea.
adwords might block this process,you need a adwords account yourself and do on your side.
Looks attachment for exact idea