Hello, I am trying to add and remove sitelink extensions using the following request:
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Header> <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/v201506"> <developerToken>8MQ2891hEAbOZ_Szp5x0fw</developerToken> <clientCustomerId>9887064440</clientCustomerId> <userAgent>INSERT_YOUR_COMPANY_OR_APPLICATION_NAME_HERE (AwApi-DotNet/18.14.0, Common-Dotnet/3.8.0, .NET CLR/4.0.30319.34014, gzip)</userAgent> </RequestHeader> </soap:Header> <soap:Body> <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201506"> <operations> <operator>ADD</operator> <operand> <campaignId>203208457</campaignId> <extensionType>SITELINK</extensionType> <extensionSetting> <extensions xsi:type="SitelinkFeedItem"> <sitelinkText>Best 3.</sitelinkText> <sitelinkFinalUrls> <urls>http://www.hotels.com</urls> </sitelinkFinalUrls> </extensions> <extensions xsi:type="SitelinkFeedItem"> <sitelinkText>Best price - 35$.</sitelinkText> <sitelinkFinalUrls> <urls>http://www.hotels.com</urls> </sitelinkFinalUrls> </extensions> </extensionSetting> </operand> </operations> <operations> <operator>REMOVE</operator> <operand> <campaignId>203208457</campaignId> <extensionType>SITELINK</extensionType> <extensionSetting> <extensions xsi:type="SitelinkFeedItem"> <feedItemId>1790337999</feedItemId> </extensions> <extensions xsi:type="SitelinkFeedItem"> <feedItemId>1790338002</feedItemId> </extensions> </extensionSetting> </operand> </operations> </mutate> </soap:Body></soap:Envelope> but I gen an error saying: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201506"><requestId>00051ae79a0399800a8138d70600a3a2</requestId><serviceName>CampaignExtensionSettingService</serviceName><methodName>mutate</methodName><operations>0</operations><responseTime>59</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[DistinctError.DUPLICATE_ELEMENT @ operations[1]]</faultstring><detail><ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201506"><message>[DistinctError.DUPLICATE_ELEMENT @ operations[1]]</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DistinctError"><fieldPath>operations[1]</fieldPath><trigger></trigger><errorString>DistinctError.DUPLICATE_ELEMENT</errorString><ApiError.Type>DistinctError</ApiError.Type><reason>DUPLICATE_ELEMENT</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope> I do not see any duplicated element. What can be the reason for this error? Best regards, Joanna -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/7d90fccc-a897-43d8-bf4e-8626768105f5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.