Hello, I suppose you are using the Ruby client library (adwords4r)? Your problem probably has to with the fact that a Budget contains Money, in which the microAmount is defined as one million units for one unit of your local currency. So 1,000,000 microAmount units would represent $1. See http://code.google.com/apis/adwords/docs/reference/latest/CampaignService.Budget.html and http://code.google.com/apis/adwords/docs/reference/latest/CampaignService.Money.html.
For further help, could you provide a code sample where you are setting the budget of the campaign? Then it might be easier to find the problem. Regards, Wilrik 050media On Oct 14, 12:16 am, Bowles <[email protected]> wrote: > first pass at updating campaign info; budget updates with 5 extra > digits; what should be $2,500.00 is $250,000,000.00. > > "campaign.budget.amount" raises error about .to_f not defined; also > error if I add .to_f; works but same format errors with .to_s. > > "campaign.budget.amount.microAmount" gives the right format but wrong > values (i.e., 0.00), appending .to_f leaves me with the same format > errors. > > Any suggestions? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
