Thanks you, I figured it out the errors. forget to create new ManualCPCAdGroupCriterionBids Regards Suraj
On Apr 5, 2010, at 4:51 PM, Suraj Khakurel wrote: > Hi, > > While working on AdGroup mutate (SET). i got the following error: > [ReadOnlyError.READ_ONLY @ operations[0].operand.bids.bidSource, > ReadOnlyError.READ_ONLY @ operations[1].operand.bids.bidSource] > > I did not assign any BidSource. i don't understand why I'm getting this error. > > Here is my request and response xml. > > Thanks for your help > > -Suraj > > Xml Request > <mutate xmlns="https://adwords.google.com/api/adwords/cm/v200909"> > <operations> > <operator>SET</operator> > <operand xsi:type="ns2:BiddableAdGroupCriterion" > xmlns:ns2="https://adwords.google.com/api/adwords/cm/v200909"> > <adGroupId>***5237417</adGroupId> > <criterion xsi:type="ns2:Keyword"> > <id>***05211437</id> > <Criterion.Type>Keyword</Criterion.Type> > <text>particulier domiciliations postales</text> > <matchType>EXACT</matchType> > </criterion> > <bids xsi:type="ns2:ManualCPCAdGroupCriterionBids"> > > <AdGroupCriterionBids.Type>ManualCPCAdGroupCriterionBids</AdGroupCriterionBids.Type> > <maxCpc> > <amount> > <microAmount>6610000</microAmount> > </amount> > </maxCpc> > <bidSource>CRITERION</bidSource> > </bids> > </operand> > </operations> > <operations> > <operator>SET</operator> > <operand xsi:type="ns3:BiddableAdGroupCriterion" > xmlns:ns3="https://adwords.google.com/api/adwords/cm/v200909"> > <adGroupId>***5237417</adGroupId> > <criterion xsi:type="ns3:Keyword"> > <id>***05211527</id> > <Criterion.Type>Keyword</Criterion.Type> > <text>domiciliation pour particuliers postales</text> > <matchType>EXACT</matchType> > </criterion> > <bids xsi:type="ns3:ManualCPCAdGroupCriterionBids"> > > <AdGroupCriterionBids.Type>ManualCPCAdGroupCriterionBids</AdGroupCriterionBids.Type> > <maxCpc> > <amount> > <microAmount>6610000</microAmount> > </amount> > </maxCpc> > <bidSource>CRITERION</bidSource> > </bids> > </operand> > </operations> > </mutate> > > > Response > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>[ReadOnlyError.READ_ONLY @ > operations[0].operand.bids.bidSource, ReadOnlyError.READ_ONLY @ > operations[1].operand.bids.bidSource]</faultstring> > <detail> > <ApiExceptionFault > xmlns="https://adwords.google.com/api/adwords/cm/v200909"> > <message>[ReadOnlyError.READ_ONLY @ > operations[0].operand.bids.bidSource, ReadOnlyError.READ_ONLY @ > operations[1].operand.bids.bidSource]</message> > <ApplicationException.Type>ApiException</ApplicationException.Type> > <errors xsi:type="ReadOnlyError" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <fieldPath>operations[0].operand.bids.bidSource</fieldPath> > <trigger/> > <ApiError.Type>ReadOnlyError</ApiError.Type> > <reason>READ_ONLY</reason> > </errors> > <errors xsi:type="ReadOnlyError" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <fieldPath>operations[1].operand.bids.bidSource</fieldPath> > <trigger/> > <ApiError.Type>ReadOnlyError</ApiError.Type> > <reason>READ_ONLY</reason> > </errors> > </ApiExceptionFault> > </detail> > </soap:Fault> > > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Have you migrated to v200909 yet? > The v13 sunset is on April 22, 2010. > > 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 > > To unsubscribe, reply using "remove me" as the subject. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. 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
