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.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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
--- 
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f35ae73c-5c18-4475-8bf6-f37e53474cf5n%40googlegroups.com.

Reply via email to