Get Balance Api Adwords

73 views
Skip to first unread message

Василий Рогачев

unread,
Feb 21, 2020, 4:53:00 AM2/21/20
to AdWords API and Google Ads API Forum
Hello.

"Balance information is still not directly available via the AdWords API. Please continue to follow our blog for updates.

However, as a workaround, you can compute the remaining balance by subtracting the total Cost of the Account Performance Report from your known budget."

Could you tell us more about calculating the balance? About calculating the cost of clicks, for a week it is clear "SELECT AccountDescriptiveName, Cost, AccountCurrencyCode   FROM ACCOUNT_PERFORMANCE_REPORT DURING LAST_7_DAYS". What is the Account Performance Report ? How is it calculated? And how is it related to the balance?

Google Ads API Forum Advisor Prod

unread,
Feb 21, 2020, 2:47:01 PM2/21/20
to shtr...@gmail.com, adwor...@googlegroups.com

Hi,

Thanks for reaching out. The way mentioned to calculate the balance is by subtracting the spending from the pre-set budget on the account. The Account Performance Report is the report for retrieving metrics for a specific account within a date range. Once you get the Cost value from the Account Performance Report, you could subtract it from the budget you set for the account for the same period of time to know how much budget left for the account.  

Thanks and regards,
Xiaoming, Google Ads API Team



 

ref:_00D1U1174p._5001UV1n7T:ref

Василий Рогачев

unread,
Feb 22, 2020, 1:00:25 AM2/22/20
to AdWords API and Google Ads API Forum
the Cost value from the Account Performance Report - How to get it?

Google Ads API Forum Advisor Prod

unread,
Feb 24, 2020, 11:31:45 AM2/24/20
to shtr...@gmail.com, adwor...@googlegroups.com

Hi,

There is a better way to get this value by fetching the account_budget.amount_served_micros field from the account_budget resource. You could refer to this documentation on how to write the report query. 



Thanks and regards,
Xiaoming, Google Ads API Team

 

 



 

ref:_00D1U1174p._5001UV1n7T:ref
Reply all
Reply to author
Forward
0 new messages