Hi, You can use the validateOnly header on a request to validate your keywords before adding them:
http://adwordsapi.blogspot.com/2009/12/discover-v2009-validateonly-header.html Best, - Eric Koleda, AdWords API Team On May 19, 2:01 am, rohit a <[email protected]> wrote: > Hi, > > In v2009 I have tried to add 5 keywords at a time by passing five > AdGroupCriterionOperations to AdGroupCriterionService. When all the > five keywords are correct, all the five keywords are added to the > system. When i deliberately give a specific keyword's.text as "" to an > adgroupcriterionoperation, then all the keywords are not added and it > gives an error that a specific adgroupcriterionoperation keyword has > invalid text. Is there a way to get the added keywords as well as the > failed keywords. > I didn't have this problem in v13 as there was check > criterion which i used to get me the invalid keywords and i remove > them from the list and add only the correct results. > > I am only left with bruteforce addition of one criterion at a time > which would lead to increase in the number of calls between the > adwords and client. > > Can anyone please suggest any workaround for this? > > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Also find us on our blog and discussion > group:http://adwordsapi.blogspot.comhttp://groups.google.com/group/adwords-api > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > You received this message because you are subscribed to the Google > Groups "AdWords API Forum" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/adwords-api?hl=en -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
