Hi, The expectation from AdWords API is that you need to provide only the data that you need to update, and when data is provided for update, it should be complete. In your case, you are providing experimentdata node. For your call to succeed, you need to either
1. Remove experimentdata node so that the call updates just the bid amount. 2. Add experiment id to experimentdata node so you can update both the bid and the experiment data. Hope this helps. Let me know if you have more questions. Cheers, Anash P. Oommen, AdWords API Advisor. On Tuesday, 27 March 2012 16:34:12 UTC+5:30, Oddball wrote: > > I have been given the task of upgrading our google adwords from v201101 to > v201109 which has been developed in ASP (classic it must be noted) > and I am coming up against error after error while trying to understand > what the new API wants (very difficult considering the total lack of XML > example structuring given, which is funny considering I've found XML is > still considered a supported language, but I digress). > > After sorting the soap header out, I'm now onto the mutate body trying to > get the bids to work with ManualCPCAdGroupBids and all I'm getting is > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Header> > <ResponseHeader xmlns=" > https://adwords.google.com/api/adwords/cm/v201109"> > <requestId>**************************000047a3</requestId> > <serviceName>AdGroupService</serviceName> > <methodName>mutate</methodName> > > <operations>1</operations><responseTime>534</responseTime><units>5</units> > </ResponseHeader> > </soap:Header> > <soap:Body> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>[RequiredError.REQUIRED @ > operations[0].operand.experimentData.experimentId]</faultstring> > <detail><ApiExceptionFault xmlns=" > https://adwords.google.com/api/adwords/cm/v201109"> > <message>[RequiredError.REQUIRED @ > operations[0].operand.experimentData.experimentId]</message> > <ApplicationException.Type>ApiException</ApplicationException.Type> > <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:type="RequiredError"> > > <fieldPath>operations[0].operand.experimentData.experimentId</fieldPath> > <trigger></trigger> > <errorString>RequiredError.REQUIRED</errorString> > <ApiError.Type>RequiredError</ApiError.Type> > <reason>REQUIRED</reason> > </errors> > </ApiExceptionFault> > </detail> > </soap:Fault> > </soap:Body> > </soap:Envelope> > > The string going out is as follows > > <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/v201109"> > <authtoken xmlns=" > https://adwords.google.com/api/adwords/cm/v201109 > ">**********************************************</authtoken> > <developertoken xmlns=" > https://adwords.google.com/api/adwords/cm/v201109 > ">*****************************************</developertoken> > <clientcustomerid xmlns=" > https://adwords.google.com/api/adwords/cm/v201109 > ">426-***-*****</clientcustomerid> > <useragent xmlns=" > https://adwords.google.com/api/adwords/cm/v201109 > ">****************</useragent> > </requestheader> > </soap:header> > <soap:body> > <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201109 > "><operations> > <operator>SET</operator> > <operand> > <id>*****************</id> > <bids xsi:type="ManualCPCAdGroupBids"> > <keywordmaxcpc> > <amount> > <microamount>750000</microamount> > </amount> > </keywordmaxcpc> > </bids> > <experimentdata> > <experimentdatastatus>ACTIVE</experimentdatastatus> > </experimentdata> > </operand> > </operations> > </mutate> > </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