Hi Inna,

Apologies for the delay - I'm a Developer Programs Engineer on the Google Ads 
API jumping in here to help with your problem.

I was wondering if you could give me a bit more background on where you got the 
equation: spendingLimit - totalAdjustments - Cost = remaining balance

Based on the documentation spendingLimit should already include 
totalAdjustments when retrieved via a BudgetOrderService.get. You should only 
need to subtract totalAdjustments when trying to determine the amount that was 
originally set before adjustments were applied.

With that said, adjusting your equation below still doesn't yield the same 
values, thought they appear closer. I think it's possible that there may always 
be slight differences between the values retrieved in the API and what's 
visible via the UI. I'm going to try to get some better information on that and 
will follow up, meanwhile let me know if updating your equation to remove 
totalAdjustments is helpful.

Thanks,
Ben Karl, Google Ads API Team
ref:_00D1U1174p._5004Q23tJDV:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/_OR3Q000000000000000000000000000000000000000000000QFYK4F00-eMLISZTQI6lTxUwJmB40g%40sfdc.net.

Reply via email to