Thanks Josh; you are right. This was fixed with SET. Thanks for your prompt reply.
-Devraj On Tuesday, January 27, 2015 at 2:27:28 PM UTC-8, Josh Radcliff (AdWords API Team) wrote: > > Hi Devraj, > > The key here is to look at the error message: > > CriterionError.BID_MODIFIER_ALREADY_EXISTS > > That error means that you are trying to *ADD* a bid modifier that already > exists for the ad group. As mentioned in the AddAdGroupBidModifier.java > <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201409/advancedoperations/AddAdGroupBidModifier.java#L84> > example: > > // Use 'ADD' to add a new modifier and 'SET' to update an existing one. > A > // modifier can be removed with the 'REMOVE' operator. > operation.setOperator(Operator.ADD); > > If you change the line above to use the *SET* operator when updating an > existing bid modifier, the example should run successfully. > > Thanks, > Josh, 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/9dbc50bf-39ae-4333-a224-b4f38907ed3d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.