We get this problem too but when we retry a second time it invariably works: Looking at the response in Fiddler we get a 500 Internal Server Error the first time
HTTP/1.1 500 Internal Server Error Content-Type: text/xml; charset=UTF-8 Date: Tue, 28 Feb 2012 10:39:24 GMT Expires: Tue, 28 Feb 2012 10:39:24 GMT Cache-Control: private, max-age=0 X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block Content-Length: 2005 Server: GSE <soap:Envelope xmlns:soap="*http://schemas.xmlsoap.org/soap/envelope/*<http://schemas.xmlsoap.org/soap/envelope/>"><soap:Header><ResponseHeader xmlns="*https://adwords.google.com/api/adwords/cm/v201109*<https://adwords.google.com/api/adwords/cm/v201109>"><requestId>0004ba03d72db6000a345ea800001b84</requestId><serviceName>AdParamService</serviceName><methodName>mutate</methodName><operations>2</operations><responseTime>337</responseTime><units>1</units></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ operations[13].operand; trigger:'AdGroupId = 338036203, CriterionId = 30491242603', AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ operations[10].operand; trigger:'AdGroupId = 338036203, CriterionId = 1740440795']</faultstring><detail><ApiExceptionFault xmlns="* https://adwords.google.com/api/adwords/cm/v201109*<https://adwords.google.com/api/adwords/cm/v201109>"><message>[AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ operations[13].operand; trigger:'AdGroupId = 338036203, CriterionId = 30491242603', AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ operations[10].operand; trigger:'AdGroupId = 338036203, CriterionId = 1740440795']</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors xmlns:xsi="*http://www.w3.org/2001/XMLSchema-instance*<http://www.w3.org/2001/XMLSchema-instance>" xsi:type="AdParamError"><fieldPath>operations[13].operand</fieldPath><trigger>AdGroupId = 338036203, CriterionId = 30491242603</trigger><errorString>AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED</errorString><ApiError.Type>AdParamError</ApiError.Type><reason>INVALID_ADGROUP_CRITERION_SPECIFIED</reason></errors><errors xmlns:xsi="*http://www.w3.org/2001/XMLSchema-instance*<http://www.w3.org/2001/XMLSchema-instance>" xsi:type="AdParamError"><fieldPath>operations[10].operand</fieldPath><trigger>AdGroupId = 338036203, CriterionId = 1740440795</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> On Tuesday, 21 February 2012 11:27:48 UTC, Neil Kirk wrote: > 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 [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
