How does calculate remaining account budget?

66 views
Skip to first unread message

Evgeniy Belov

unread,
May 25, 2017, 9:34:00 AM5/25/17
to AdWords API Forum
Hi.
BudgetOrderService reports a spendingLimit of 140 013,32
totalAdjustments = 0

Taxes = -24 864,42.
Does taxes include in spendingLimit?

Promo = 1200.
Does promo include in spendingLimit?

 invalid click credit = 115,1 (it should be included in totalAdjustments of BudgetOrder, but not included.)
Overdelivery credit = 1143,2 (without overdelivery credits by days)

ACCOUNT_PERFORMANCE_REPORT reported a cost of 140593,86 (with calculated overdelivery credit by days by me)

I know spendingLimit, cost of account report and Overdelivery credit.
Question:
How does calculate remaining account budget?

I think spendingLimit - cost of account report  + Overdelivery credit = 140 013,32 - 140593,86 + 1143,2 = 562,66
But in mcc remaining account budget = 0.02
How 

Sreelakshmi Sasidharan (AdWords API Team)

unread,
May 25, 2017, 1:55:44 PM5/25/17
to AdWords API Forum
Hi, 

When you do a get() on BudgetOrderService, the spendingLimit includes any adjustments that were made to your budget. Please read here for the detailed explanation. Regarding taxes, I would like to take a look at your account. Could you please Reply privately to author and share your client customer Id and the period for which you are checking? If you could include the SOAP logs (request/response) of the get() on BudgetOrderService for that period, it will also be helpful. 


Does promo include in spendingLimit? 
The promo code should be part of your total adjustments. As mentioned earlier, API will include total adjustments in the spendingLimit. 

How to calculate the remaining budget?
The account budget will be (spendingLimit - totalAdjustments). Once you find out the spend, you should be able to find out the remaining budget. To calculate the spend, you may have to store the spendingLimit locally and then perform the calculation as : spent = (oldSpendingLimit - newSpendingLimit) + totalAdjustment.


Thanks,
Sreelakshmi, AdWords API Team
Reply all
Reply to author
Forward
0 new messages