Hello!
We are creating a service for customers through which they could combine and analyze the statistics and remaining credits of several Google Ads accounts in one place.
At this point, we need to get the correct amount of the account balance via API.
As we know, it’s not possible to get it directly.
According to API documentation and Google Ads API Team, we have to calculate it from such parameters as spendingLimit and totalAdjustments from BudgetOrder(using BudgetOrderService), and the Cost from Account Performance Report.
Unfortunately, we can’t get the same amount as we see in Google Ads account in Billing Summary tab as “Your remaining credit”.
For example, if we get data from 151-032-3320 Google Ads account, we see
spendingLimit = 5872722560000
totalAdjustments = 8308800000
start date of budget order = 20160202 121240 Europe/Moscow
end date of budget order = 20371231 105959 Europe/Moscow
Cost (Feb 2, 2016-Dec 31, 2037) = 5781697901970
Calculated remaining balance = Account budget - Cost = (spendingLimit - totalAdjustments) - Cost = 827 158,58 RUB
"Your remaining credit" (Google Ads account) = 124 242.02 RUB
As you see, the difference is huge. Probably, the problem is that not all adjustments are summed up in totalAdjustments.
So we ask you to help us to find a way how to get the correct account balance for customers via API.
|
||||||
Hi Inna,
For the logs, please reply using "reply privately to author" to send them to us.
Thank you,

