Hello we currently have this request 

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";>
  <soapenv:Header>
    <ns1:RequestHeader xmlns:ns1="
https://adwords.google.com/api/adwords/cm/v201809"; 
soapenv:mustUnderstand="0">
      <ns1:clientCustomerId></ns1:clientCustomerId>
      <ns1:developerToken></ns1:developerToken>
      <ns1:userAgent></ns1:userAgent>
      <ns1:validateOnly>false</ns1:validateOnly>
      <ns1:partialFailure>false</ns1:partialFailure>
    </ns1:RequestHeader>
  </soapenv:Header>
  <soapenv:Body>
    <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
      <operations>
        <operator>ADD</operator>
        <operand>
          <campaignId>1111111111111111</campaignId>
          <ns2:criterion xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201809"; xsi:type="ns2:Platform">
            <ns2:id>30000</ns2:id>
          </ns2:criterion>
          <bidModifier>1.0</bidModifier>
        </operand>
      </operations>
    </mutate>
  </soapenv:Body>
</soapenv:Envelope>

and we are getting an error because of the criterion Id, 


<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201809
">
      <requestId>0005c73e66c6d9bc0ac7c3396f04fcce</requestId>
      <serviceName>CampaignCriterionService</serviceName>
      <methodName>mutate</methodName>
      <operations>1</operations>
      <responseTime>78</responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Client</faultcode>
      <faultstring>[OperatorError.OPERATOR_NOT_SUPPORTED @ 
operations[0].operand.criterion; trigger:'CriterionId{id=30000}']</
faultstring>
      <detail>
        <ApiExceptionFault xmlns="
https://adwords.google.com/api/adwords/cm/v201809";>
          <message>[OperatorError.OPERATOR_NOT_SUPPORTED @ 
operations[0].operand.criterion; trigger:'CriterionId{id=30000}']</message>
          <ApplicationException.Type>ApiException</ApplicationException.Type
>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="OperatorError">
            <fieldPath>operations[0].operand.criterion</fieldPath>
            <fieldPathElements>
              <field>operations</field>
              <index>0</index>
            </fieldPathElements>
            <fieldPathElements>
              <field>operand</field>
            </fieldPathElements>
            <fieldPathElements>
              <field>criterion</field>
            </fieldPathElements>
            <trigger>CriterionId{id=30000}</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>

from your documentation, 30000 is a valid id 
https://developers.google.com/adwords/api/docs/appendix/codes-formats#platforms
is it deprecated?

thanks
Damian.-

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e22a2953-bd89-4142-a8a6-ac84725805c9n%40googlegroups.com.

Reply via email to