Thanks Danial. I think it will help if the documentation is updated to mention this limitation i.e. to update campaign constants (like Language, Device or Location), one has to use the REMOVE CampaignCriterionOperation first to delete everything that is there, and then follow it with a another ADD operation to set the new values.
Oliver On Thursday, January 10, 2013 11:43:45 AM UTC, Danial Klimkin wrote: > > Hello Oliver, > > > Criteria such as Language are system-wide constants. You can't change the > language keeping the criterion (identified by the ID) the same, you need to > remove English criterion and add Spanish. > > The SET operation could be used to change other criterion parameters (not > ID, type or read-only), such as bidModifier. > > > -Danial, AdWords API Team. > > > > > On Tuesday, January 8, 2013 1:49:51 AM UTC+4, Oliver wrote: >> >> The docs for CampaignCriterionOperation: >> >> >> https://developers.google.com/adwords/api/docs/reference/latest/CampaignCriterionService.CampaignCriterionOperation >> >> says it supports the SET operator. However, using SET results in getting: >> >> CampaignCriterionError.OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE >> >> CampaignCriterionOperation seems to work only with ADD and REMOVE >> operator. Any ideas why this is? >> >> I'm trying to modify the Language, Device and Location of a campaign. >> The current campaign has English as a Language. I want to add Spanish. So >> I create a SET operation with English & Spanish, but I get the above error. >> >> The same goes for Devices and Locations. >> >> Thanks >> >> Oliver >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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