Found a similar looking error from the PHP API, but it doesn't seem to
explain what's going on in the Ruby API:
 
http://groups.google.com/group/adwords-api/browse_thread/thread/662d15363ab9045f/5af75bc27495ddda?lnk=gst&q=BiddingError#5af75bc27495ddda

The PHP API problem states that it's a Float precision problem.
However, in the Ruby issue in the above post, the microAmount is
already being cast to an Integer (using Float#to_i).  I even tried
calling Float#floor before passing the data in, but still doesn't
work.

So, I'm not quite sure what's going on.  Any takers?



On Jun 29, 3:33 pm, ojak wrote:
> I'm receiving "BiddingError.BID_TOO_MANY_FRACTIONAL_DIGITS" for a bid
> microAmount that is not fractional (SOAP log confirms that the number
> is indeed not fractional):
>
>   <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>         <n2:operator>ADD</n2:operator>
>         <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>           <n2:adGroupId>xxx</n2:adGroupId>
>           <n2:criterion xsi:type="n2:Keyword">
>                 <n2:text>My Keyword</n2:text>
>                 <n2:matchType>BROAD</n2:matchType>
>           </n2:criterion>
>           <n2:bids xsi:type="n2:ManualCPCAdGroupCriterionBids">
>                 <n2:maxCpc>
>                   <n2:amount xsi:type="n2:Money">
>                         <n2:microAmount>86666</n2:microAmount>
>                   </n2:amount>
>                 </n2:maxCpc>
>           </n2:bids>
>         </n2:operand>
>   </n2:operations>
>
> Any ideas (Ruby API)?

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