Hi,

I am getting this error on some keywords, when trying to set the 
parameters. I get all the keywords for a particular ad group and then 
update them, but some return this error. Here is one request that worked:
[21 Feb 2012 10:24:01,829 - INFO ] Outgoing Request:
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
  <SOAP-ENV:Header>
    <RequestHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>
      <authToken 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>REDACTED</authToken>
      <clientCustomerId 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>4973822169</clientCustomerId>
      <developerToken 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>REDACTED</developerToken>
      <userAgent 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>AwApi-Perl-2.5.5|neilkirk</userAgent>
      <validateOnly 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>false</validateOnly>
      <partialFailure 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>false</partialFailure>
    </RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201109";>
      <operations>
        <operator>SET</operator>
        <operand>
          <adGroupId>2010965785</adGroupId>
          <criterionId>11635220</criterionId>
          <insertionText>0.006</insertionText>
          <paramIndex>1</paramIndex>
        </operand>
      </operations>
    </mutate>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

[21 Feb 2012 10:24:02,609 - INFO ] Incoming response:
<?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>0004b976d2a91b200a341b62000043e3</requestId>
      <serviceName>AdParamService</serviceName>
      <methodName>mutate</methodName>
      <operations>1</operations>
      <responseTime>239</responseTime>
      <units>1</units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <mutateResponse 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>
      <rval>
        <adGroupId>2010965785</adGroupId>
        <criterionId>11635220</criterionId>
        <insertionText>0.006</insertionText>
        <paramIndex>1</paramIndex>
      </rval>
    </mutateResponse>
  </soap:Body>
</soap:Envelope>

And the very next one didn't:
[21 Feb 2012 10:24:02,627 - INFO ] Outgoing Request:
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
  <SOAP-ENV:Header>
    <RequestHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>
      <authToken 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>REDACTED</authToken>
      <clientCustomerId 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>4973822169</clientCustomerId>
      <developerToken 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>REDACTED</developerToken>
      <userAgent 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>AwApi-Perl-2.5.5|neilkirk</userAgent>
      <validateOnly 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>false</validateOnly>
      <partialFailure 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>false</partialFailure>
    </RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201109";>
      <operations>
        <operator>SET</operator>
        <operand>
          <adGroupId>2010965785</adGroupId>
          <criterionId>12099920</criterionId>
          <insertionText>0.006</insertionText>
          <paramIndex>1</paramIndex>
        </operand>
      </operations>
    </mutate>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

[21 Feb 2012 10:24:03,297 - INFO ] Incoming response:
<?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>0004b976d2b890280a341b62000043e3</requestId>
      <serviceName>AdParamService</serviceName>
      <methodName>mutate</methodName>
      <operations>1</operations>
      <responseTime>207</responseTime>
      <units>1</units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ 
operations[0].operand; trigger:'AdGroupId = 2010965785, CriterionId = 
12099920']</faultstring>
      <detail>
        <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";>
          <message>[AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ 
operations[0].operand; trigger:'AdGroupId = 2010965785, CriterionId = 
12099920']</message>
          
<ApplicationException.Type>ApiException</ApplicationException.Type>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="AdParamError">
            <fieldPath>operations[0].operand</fieldPath>
            <trigger>AdGroupId = 2010965785, CriterionId = 
12099920</trigger>
            
<errorString>AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED</errorString>
            <ApiError.Type>AdParamError</ApiError.Type>
            <reason>INVALID_ADGROUP_CRITERION_SPECIFIED</reason>
          </errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

Is there any reason that it didn't work? Everything is the same, bar the 
criterionID

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