looks like I needed to set the operatorSpecified = True. But now I am getting:
-------------------------------------------------- -----SoapResponse at 3/11/2009 12:03:17 PM----- Content-type: text/xml; charset=UTF-8 Content-length: 2849 SOAPAction: "mutate" -------------------------------------------------- <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/ v200906"> <requestId>9734840b0cf7f3d60a7cd4a10953b1a0</requestId> <operations>1</operations> <responseTime>192</responseTime> <units>3</units> </ResponseHeader> </soap:Header> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>[ReadOnlyError.READ_ONLY @ operations [0].operand.stats, ReadOnlyError.READ_ONLY @ operations [0].operand.qualityInfo, ReadOnlyError.READ_ONLY @ operations [0].operand.approvalStatus, ReadOnlyError.READ_ONLY @ operations [0].operand.bids.bidSource, ReadOnlyError.READ_ONLY @ operations [0].operand.systemServingStatus, ReadOnlyError.READ_ONLY @ operations [0].operand.firstPageCpc]</faultstring> <detail> <ApiExceptionFault xmlns="https://adwords.google.com/api/ adwords/cm/v200906"> <message>[ReadOnlyError.READ_ONLY @ operations [0].operand.stats, ReadOnlyError.READ_ONLY @ operations [0].operand.qualityInfo, ReadOnlyError.READ_ONLY @ operations [0].operand.approvalStatus, ReadOnlyError.READ_ONLY @ operations [0].operand.bids.bidSource, ReadOnlyError.READ_ONLY @ operations [0].operand.systemServingStatus, ReadOnlyError.READ_ONLY @ operations [0].operand.firstPageCpc]</message> <ApplicationException.Type>ApiException</ ApplicationException.Type> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xsi:type="ReadOnlyError"> <fieldPath>operations[0].operand.stats</fieldPath> <trigger> </trigger> <ApiError.Type>ReadOnlyError</ApiError.Type> <reason>READ_ONLY</reason> </errors> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xsi:type="ReadOnlyError"> <fieldPath>operations[0].operand.qualityInfo</fieldPath> <trigger> </trigger> <ApiError.Type>ReadOnlyError</ApiError.Type> <reason>READ_ONLY</reason> </errors> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xsi:type="ReadOnlyError"> <fieldPath>operations[0].operand.approvalStatus</ fieldPath> <trigger> </trigger> <ApiError.Type>ReadOnlyError</ApiError.Type> <reason>READ_ONLY</reason> </errors> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xsi:type="ReadOnlyError"> <fieldPath>operations[0].operand.bids.bidSource</ fieldPath> <trigger> </trigger> <ApiError.Type>ReadOnlyError</ApiError.Type> <reason>READ_ONLY</reason> </errors> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xsi:type="ReadOnlyError"> <fieldPath>operations[0].operand.systemServingStatus</ fieldPath> <trigger> </trigger> <ApiError.Type>ReadOnlyError</ApiError.Type> <reason>READ_ONLY</reason> </errors> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xsi:type="ReadOnlyError"> <fieldPath>operations[0].operand.firstPageCpc</fieldPath> <trigger> </trigger> <ApiError.Type>ReadOnlyError</ApiError.Type> <reason>READ_ONLY</reason> </errors> </ApiExceptionFault> </detail> </soap:Fault> </soap:Body> </soap:Envelope> On Nov 3, 12:01 pm, alal <ada...@etax.com.au> wrote: > Hi, I am getting an UNEXPECTED_INTERNAL_API_ERROR when trying to > update a maxcpc bid for a keyword criterion via the > AdGroupCriterionService. SOAP request and response below. Any ideas > why this is coming up? > > Thanks > > -------------------------------------------------- > > -----SoapRequest at 3/11/2009 11:52:14 AM----- > POST /api/adwords/cm/v200906/AdGroupCriterionService HTTP/1.0 > Host: adwords.google.com:443 > User-agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client > Protocol 2.0.50727.4200) > Content-type: text/xml; charset=utf-8 > Content-length: 1971 > SOAPAction: "mutate" > -------------------------------------------------- > <?xml version="1.0" encoding="utf-8"?> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > <soap:Header> > <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/ > v200906"> > <applicationToken>********</applicationToken> > <authToken>********</authToken> > <developerToken>********</developerToken> > </RequestHeader> > </soap:Header> > <soap:Body> > <mutate xmlns="https://adwords.google.com/api/adwords/cm/v200906"> > <operations> > <operand xsi:type="BiddableAdGroupCriterion"> > <adGroupId>524487432</adGroupId> > <criterion xsi:type="Keyword"> > <id>12817961</id> > <Criterion.Type>Keyword</Criterion.Type> > <text>australian tax back</text> > <matchType>BROAD</matchType> > </criterion> > <AdGroupCriterion.Type>BiddableAdGroupCriterion</ > AdGroupCriterion.Type> > <userStatus>ACTIVE</userStatus> > <systemServingStatus>ELIGIBLE</systemServingStatus> > <approvalStatus>APPROVED</approvalStatus> > <bids xsi:type="ManualCPCAdGroupCriterionBids"> > <AdGroupCriterionBids.Type>ManualCPCAdGroupCriterionBids</ > AdGroupCriterionBids.Type> > <maxCpc> > <amount> > <ComparableValue.Type>Money</ComparableValue.Type> > <microAmount>150000</microAmount> > </amount> > </maxCpc> > <bidSource>CRITERION</bidSource> > </bids> > <firstPageCpc> > <amount> > <ComparableValue.Type>Money</ComparableValue.Type> > <microAmount>150000</microAmount> > </amount> > </firstPageCpc> > <qualityInfo> > <isKeywordAdRelevanceAcceptable>true</ > isKeywordAdRelevanceAcceptable> > <isLandingPageQualityAcceptable>true</ > isLandingPageQualityAcceptable> > <isLandingPageLatencyAcceptable>true</ > isLandingPageLatencyAcceptable> > <qualityScore>7</qualityScore> > </qualityInfo> > <stats> > <network>SEARCH</network> > <Stats.Type>Stats</Stats.Type> > </stats> > </operand> > </operations> > </mutate> > </soap:Body> > </soap:Envelope> > -------------------------------------------------- > > -----SoapResponse at 3/11/2009 11:52:16 AM----- > Content-type: text/xml; charset=UTF-8 > Content-length: 977 > SOAPAction: "mutate" > -------------------------------------------------- > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Header> > <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/ > v200906"> > <requestId>27f7fba906fb7f79f419d746619327e7</requestId> > <operations>1</operations> > <responseTime>207</responseTime> > <units>15</units> > </ResponseHeader> > </soap:Header> > <soap:Body> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ </ > faultstring> > <detail> > <ApiExceptionFault xmlns="https://adwords.google.com/api/ > adwords/cm/v200906"> > <message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ </ > message> > <ApplicationException.Type>ApiException</ > ApplicationException.Type> > <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema- > instance" xsi:type="InternalApiError"> > <fieldPath> > </fieldPath> > <trigger> > </trigger> > <ApiError.Type>InternalApiError</ApiError.Type> > <reason>UNEXPECTED_INTERNAL_API_ERROR</reason> > </errors> > </ApiExceptionFault> > </detail> > </soap:Fault> > </soap:Body> > </soap:Envelope> > -------------------------------------------------- -- 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-...@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.