BudgetOrder and BudgetPerformanceReport don't have the same BudgetID

25 views
Skip to first unread message

Mathieu Dubreuil

unread,
Sep 23, 2016, 4:38:30 PM9/23/16
to AdWords API Forum
Hi, 

I have been looking around a lot and there is no way to get the remaining budget as it was answered in other posts. I found that with the BudgetOrderService I can get all the budgets for every clientCustomerId I have using a for loop. In the same loop I also generate a BudgetPerformanceReport where I can see the cost of my budgets. I wanted to compare the budgets from the BudgetOrderService (spendingLimit) with the cost of the BudgetPerformanceReport to find out if the budget is almost totally spent before it is ended. However, there are no correlation when I look at the BudgetId from the BudgetOrder and the BudgetId from the report, so it seems like I'm doing something wrong. Are the BudgetId fields different in the report and in the BudgetOrder?

Let me know if it isn't clear, my question is how to link the results of BudgetOrder and BudgetPerformanceReport? The BudgetId fields are all different.

Thanks,
Mathieu

Shwetha Vastrad (AdWords API Team)

unread,
Sep 23, 2016, 5:04:11 PM9/23/16
to AdWords API Forum
Hi Mathieu,

BudgetOrders shouldn't be confused with Budgets. A Budget order is an authorization for a particular client account to spend up to a certain amount of money over a certain period of time, accruing that spend onto a particular billing account whereas Budgets are used to manage the amount of money spent for your AdWords campaigns. 

Budget Performance Report includes data at the Budget level. To get the remaining amount of a budget order, you could query for Cost from the Account Performance Report within the date range during which the BudgetOrder was active and deduct this value from the spendingLimit of the BudgetOrder. 

I hope this helps. 

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages