In code which has been running against the sandbox for some time now (in a 
test suite), I've just started to get SettingErrors. I've backed out all of 
our recent changes and re-tested, and code that worked just fine a few days 
ago, now fails as of this afternoon.

The error indicates a path which isn't in the request itself 
(operations[0].operand.settings[1]), so how do I find out what data the 
error is referencing?

If you need more detail, here's the request body:

 <SOAP-ENV:Body>
  <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201109"; 
xmlns:cm="https://adwords.google.com/api/adwords/cm/v201109";>
   <operations xsi3:type="cm:CampaignOperation">
    <cm:operator>ADD</cm:operator>
    <cm:operand xsi3:type="cm:Campaign">
     <cm:name>Unit test campaign 
b8fac442-b174-4148-b7ea-a96997551341</cm:name>
     <cm:status>PAUSED</cm:status>
     <cm:budget xsi3:type="cm:Budget">
      <cm:period>DAILY</cm:period>
      <cm:amount xsi3:type="cm:Money">
       <cm:microAmount>50000000</cm:microAmount>
      </cm:amount>
      <cm:deliveryMethod>STANDARD</cm:deliveryMethod>
     </cm:budget>
     <cm:biddingStrategy xsi3:type="cm:ManualCPC">
     </cm:biddingStrategy>
    </cm:operand>
   </operations>
  </mutate>
 </SOAP-ENV:Body>

And this is the response:

<?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/v201109";>
   <requestId>0004bd456fcc1b380a0ce105000014f8</requestId>
   <serviceName>CampaignService</serviceName>
   <methodName>mutate</methodName>
   <operations>1</operations>
   <responseTime>579</responseTime>
   <units>1</units>
  </ResponseHeader>
 </soap:Header>
 <soap:Body>
  <soap:Fault>
   <faultcode>soap:Server</faultcode>
   <faultstring>[SettingError.SETTING_TYPE_IS_NOT_AVAILABLE @ 
operations[0].operand.settings[1]]</faultstring>
   <detail>
    <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>
     <message>[SettingError.SETTING_TYPE_IS_NOT_AVAILABLE @ 
operations[0].operand.settings[1]]</message>
     <ApplicationException.Type>ApiException</ApplicationException.Type>
     <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="SettingError">
      <fieldPath>operations[0].operand.settings[1]</fieldPath>
      <trigger/>
      <errorString>SettingError.SETTING_TYPE_IS_NOT_AVAILABLE</errorString>
      <ApiError.Type>SettingError</ApiError.Type>
      <reason>SETTING_TYPE_IS_NOT_AVAILABLE</reason>
     </errors>
    </ApiExceptionFault>
   </detail>
  </soap:Fault>
 </soap:Body>
</soap:Envelope>

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