Hi Kristian, Since you are trying to set parameters for different keywords, they'll be counted as different operations. That is why you are getting an error message that there is an unexpected element after "v20:operand" element.
If you include the second operation in a new "v20:operations" element, the script should work as expected. It should look something like this: <v20:operations> <v20:operator>SET</v20:operator> <v20:operand> <v20:adGroupId>[AdGroupId]</v20:adGroupId> <v20:criterionId>[KeywordId1]</v20:criterionId> <v20:insertionText>[paramText]</v20:insertionText> <v20:paramIndex>1</v20:paramIndex> </v20:operand> </v20:operations> <v20:operations> <v20:operator>SET</v20:operator> <v20:operand> <v20:adGroupId>[AdGroupId]</v20:adGroupId> <v20:criterionId>[KeywordId2]</v20:criterionId> <v20:insertionText>[paramText]</v20:insertionText> <v20:paramIndex>1</v20:paramIndex> </v20:operand> </v20:operations> Regards, Shwetha, AdWords API Team. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/0d923a9a-3d01-4287-9e96-d9639cad538c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.