API gives wrong microAmount in BudgetOrders

63 views
Skip to first unread message

WL

unread,
Mar 11, 2015, 4:31:54 PM3/11/15
to adwor...@googlegroups.com
After createing a new budget order in the Adwords GUI, e.g. 10€, we get from the API with the BudgetOrderService:

BudgetOrder Object
(
    [billingAccountId] => XXX
    [id] => XXX
    [billingAccountName] => XXX
    [poNumber] =>
    [budgetOrderName] => XXX
    [primaryBillingId] => XXX
    [secondaryBillingId] =>
    [spendingLimit] => {"microAmount":0,"ComparableValueType":"Money"}
    [startDateTime] => 20150309 204644 Europe/Berlin
    [endDateTime] => 20150403 000000 Europe/Berlin
    [lastRequest] => {"status":"APPROVED","date":null,"billingAccountName":"XXX","poNumber":null,"budgetOrderName":"XXX","spendingLimit":null,"startDateTime":null,"endDateTime":null}

=> "microAmount":0 instead of "microAmount":10000000

WL

unread,
Mar 11, 2015, 4:32:38 PM3/11/15
to adwor...@googlegroups.com
20-40 minutes later we get the correct values.

Anash P. Oommen (AdWords API Team)

unread,
Mar 17, 2015, 10:26:16 AM3/17/15
to adwor...@googlegroups.com
Hi,

I think the mutate response is returning zero, but if you do a get() immediately after (instead of 20-40 mins wait), you should get the correct values. Let me know if that works for you.

Cheers,
Anash P. Oommen,
AdWords API Advisor.
Reply all
Reply to author
Forward
0 new messages