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 [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
