I'm  trying to target iOS. I'm using the value from 
http://code.google.com/apis/adwords/docs/appendix/mobileplatforms.html

This is a snippet of the SOAP call:

 <soapenv:Body>
    <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201109"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
      <operations>
        <operator>ADD</operator>
        <operand>
          <campaignId>73235673</campaignId>
          <criterion 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201109"; 
xsi:type="ns2:Location">
            <id>2840</id>
          </criterion>
        </operand>
      </operations>
      <operations>
        <operator>ADD</operator>
        <operand>
          <campaignId>73235673</campaignId>
          <criterion 
xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201109"; 
xsi:type="ns3:Platform">
            <id>30001</id>
          </criterion>
        </operand>
      </operations>
      <operations>
        <operator>ADD</operator>
        <operand>
          <campaignId>73235673</campaignId>
          <criterion 
xmlns:ns4="https://adwords.google.com/api/adwords/cm/v201109"; 
xsi:type="ns4:Platform">
            <id>30000</id>
          </criterion>
        </operand>
      </operations>
      <operations>
        <operator>ADD</operator>
        <operand>
          <campaignId>73235673</campaignId>
          <criterion 
xmlns:ns5="https://adwords.google.com/api/adwords/cm/v201109"; 
xsi:type="ns5:Platform">
            <id>30002</id>
          </criterion>
        </operand>
      </operations>
      <operations>
        <operator>ADD</operator>
        <operand>
          <campaignId>73235673</campaignId>
          <criterion 
xmlns:ns6="https://adwords.google.com/api/adwords/cm/v201109"; 
xsi:type="ns6:Platform">
            <id>630153</id>
          </criterion>
        </operand>
      </operations>
    </mutate>
  </soapenv:Body>


This is the relevant response:

  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[CriterionError.INVALID_CRITERION_ID @ 
operations[4].operand.criterion; trigger:'630153']</faultstring>
      <detail>
        <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>
          <message>[CriterionError.INVALID_CRITERION_ID @ 
operations[4].operand.criterion; trigger:'630153']</message>
          
<ApplicationException.Type>ApiException</ApplicationException.Type>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="CriterionError">
            <fieldPath>operations[4].operand.criterion</fieldPath>
            <trigger>630153</trigger>
            <errorString>CriterionError.INVALID_CRITERION_ID</errorString>
            <ApiError.Type>CriterionError</ApiError.Type>
            <reason>INVALID_CRITERION_ID</reason>
          </errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>


Any ideas why I'm running into this error?

Thanks in advance,
Mike

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

Reply via email to