Remaining budget in Adwords Api

608 views
Skip to first unread message

desenvo...@guiafacil.com

unread,
May 31, 2017, 10:45:37 AM5/31/17
to AdWords API Forum
I would like an aid to get an Adwords information through the API. I would like to take the Remaining budget, Account budget and Spent but I am not having success in catching in the API.

Could tell me how to get this information?

I am using the API v201702 in PHP.


Shwetha Vastrad (AdWords API Team)

unread,
May 31, 2017, 4:12:32 PM5/31/17
to AdWords API Forum
Hi, 

Unfortunately, the BudgetOrderService will not return the account budget, remaining amount or % spent as it is. But you will be able to calculate these values from the available API fields.
  • The account budget will be equal to spendingLimit - totalAdjustments.
  • The remaining amount can be found out once you know the spend. To find out spend, you could save the spendingLimit locally and apply the calculation as : spent = (oldSpendingLimit - newSpendingLimit) + totalAdjustments. 
  • Once you know the spend you will be able to calculate the remaining amount and % spent. 
Thanks,
Shwetha, AdWords API Team

Alef Felipe

unread,
Jan 17, 2022, 2:36:06 PM1/17/22
to Google Ads API and AdWords API Forum
Did you manage to solve it? I have the same problem doing in php if you can give me a light thank you

Alef Felipe

unread,
Jan 17, 2022, 3:04:00 PM1/17/22
to Google Ads API and AdWords API Forum
What method do I use to retrieve these values?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 "Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/b33f499d-5f21-4198-b734-63e09f9ed213n%40googlegroups.com.

Google Ads API Forum Advisor

unread,
Jan 18, 2022, 3:15:16 AM1/18/22
to aleffeli...@gmail.com, adwor...@googlegroups.com

Hello Alef,

Thank you for reaching out to us.

This thread seems to be very old (2017). For more tracking on your concern, let's utilize your created thread instead.

Regards,

Google Logo
Mark Kevin Albios
Google Ads API Team
 


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