David,

Please find below the SOAP request when i try to use 'SET' operator to
update campaign criteria.

[Dec 09 2011 14:47:36.000000 - ERROR] POST
/api/adwords/cm/v201109/CampaignCriterionService HTTP/1.1
Host: adwords-sandbox.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.17, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 664

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201109"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";>
  <SOAP-ENV:Header>
    <ns1:RequestHeader>
      <ns1:authToken>*****</ns1:authToken>
      <ns1:clientCustomerId>XXXXXXXXX</ns1:clientCustomerId>
      <ns1:developerToken>EMAIL++USD</ns1:developerToken>
      <ns1:userAgent>AwApi-PHP-2.7.2-Cam Tool</ns1:userAgent>
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:mutate>
      <ns1:operations>
        <ns1:operator>SET</ns1:operator>
        <ns1:operand>
          <ns1:campaignId>500367</ns1:campaignId>
          <ns1:criterion xsi:type="ns1:Platform">
            <ns1:id>30002</ns1:id>
          </ns1:criterion>
        </ns1:operand>
      </ns1:operations>
    </ns1:mutate>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Fri, 09 Dec 2011 22:47:37 GMT
Expires: Fri, 09 Dec 2011 22:47:37 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 505
Server: GSE

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201109
">
      <requestId>0004b3b0925382480a0d010e00007e89</requestId>
      <serviceName>CampaignCriterionService</serviceName>
      <methodName>mutate</methodName>
      <operations>1</operations>
      <responseTime>67</responseTime>
      <units>1</units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[OperatorError.OPERATOR_NOT_SUPPORTED @
operations[0]]</faultstring>
      <detail>
        <ApiExceptionFault xmlns="
https://adwords.google.com/api/adwords/cm/v201109";>
          <message>[OperatorError.OPERATOR_NOT_SUPPORTED @
operations[0]]</message>

<ApplicationException.Type>ApiException</ApplicationException.Type>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="OperatorError">
            <fieldPath>operations[0]</fieldPath>
            <trigger/>
            <errorString>OperatorError.OPERATOR_NOT_SUPPORTED</errorString>
            <ApiError.Type>OperatorError</ApiError.Type>
            <reason>OPERATOR_NOT_SUPPORTED</reason>
          </errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>


Regards,
Neha

On Fri, Dec 9, 2011 at 8:21 AM, David Torres <[email protected]> wrote:

> Hi,
>
> I can't reproduce the issue in my side and it is hard for me to pull logs
> of Sanbdox, so unfortunately your request id is not much helpful for me. Do
> you mind posting your entire sanitized SOAP request?
>
> Best,
>
> -David Torres - AdWords API Team
>
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to