I Remove the preious Language (English - code 1000), nd the response was ok, but when I tried to add the new language (Arabic - code 1019) I got the next answer <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201506"> <requestId>00051f7faf5e59680a4c99ca510bbba0</requestId> <serviceName>CampaignCriterionService</serviceName> <methodName>mutate</methodName> <operations>1</operations> <responseTime>198</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>[CampaignCriterionError.CONCRETE_TYPE_REQUIRED @ operations[0].operand.criterion]</faultstring> <detail> <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201506"> <message>[CampaignCriterionError.CONCRETE_TYPE_REQUIRED @ operations[0].operand.criterion]</message> <ApplicationException.Type>ApiException</ApplicationException.Type> <errors xsi:type="CampaignCriterionError" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <fieldPath>operations[0].operand.criterion</fieldPath> <trigger/> <errorString>CampaignCriterionError.CONCRETE_TYPE_REQUIRED</errorString> <ApiError.Type>CampaignCriterionError</ApiError.Type> <reason>CONCRETE_TYPE_REQUIRED</reason> </errors> </ApiExceptionFault> </detail> </soap:Fault> </soap:Body> </soap:Envelope>
My Request <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v20="https://adwords.google.com/api/adwords/cm/v201506"> <soapenv:Header> <v20:RequestHeader> <!--Optional:--> <v20:clientCustomerId>xxxxxxxxxxx</v20:clientCustomerId> <!--Optional:--> <v20:developerToken>xxxxxxxxxxx</v20:developerToken> </v20:RequestHeader> </soapenv:Header> <soapenv:Body> <v20:mutate> <!--Zero or more repetitions:--> <v20:operations> <!--Optional:--> <v20:operator>ADD</v20:operator> <v20:operand> <!--Optional:--> <v20:campaignId>139261869</v20:campaignId> <v20:criterion> <!--Optional:--> <v20:id>1019</v20:id> <!--Optional:--> <v20:type>Language</v20:type> </v20:criterion> </v20:operand> </v20:operations> </v20:mutate> </soapenv:Body> </soapenv:Envelope> The request I used when I delete le English language <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v20="https://adwords.google.com/api/adwords/cm/v201506"> <soapenv:Header> <v20:RequestHeader> <!--Optional:--> <v20:clientCustomerId>9633795312</v20:clientCustomerId> <!--Optional:--> <v20:developerToken>tP3c2ui7DsIEzZAcLpbREg</v20:developerToken> </v20:RequestHeader> </soapenv:Header> <soapenv:Body> <v20:mutate> <!--Zero or more repetitions:--> <v20:operations> <!--Optional:--> <v20:operator>REMOVE</v20:operator> <v20:operand> <!--Optional:--> <v20:campaignId>139261869</v20:campaignId> <v20:criterion> <!--Optional:--> <v20:id>1000</v20:id> <!--Optional:--> <v20:type>Language</v20:type> </v20:criterion> </v20:operand> </v20:operations> </v20:mutate> </soapenv:Body> </soapenv:Envelope> El viernes, 11 de septiembre de 2015, 16:28:00 (UTC-5), Anthony Madrigal escribió: > > Hi, > > My initial solution matched your SOAP request when I tested it. > > However, when I tested it using the solution I most recently suggested, I > got a SOAP request similar to the one below: > <soapenv:Body> > <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201506"> > <operations> > <operator>ADD</operator> > <operand> > <campaignId>XXXXXXXXX</campaignId> > <criterion xmlns:ns2=" > https://adwords.google.com/api/adwords/cm/v201506" > xsi:type="ns2:Language"> > <ns2:id>1019</ns2:id> > </criterion> > </operand> > </operations> > </mutate> > </soapenv:Body> > > Hope this helps! > > Regards, > Anthony > 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/f959fa80-510a-4824-ad7f-48729bd520f9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.