Hi,
I am trying to automate Budget Order management (I am using consolidated 
billing). I want to be able to add an amount to a budget order using the 
adwords api.
Using the BudgetOrderService, I can get a BudgetOrder 
<https://developers.google.com/adwords/api/docs/reference/v201607/BudgetOrderService.BudgetOrder>,
 
and see its spendingLimit. I can also use BudgetOrderService to modify the 
spendingLimit.

Using these, I can increase the Budget Amount of a BudgetOrder by any 
amount. Let's say I want to add $50 to a $180 budget:
I get the BudgetOrder's spendingLimit ($180) and add $50 for a total of 
$230. I then use BudgetOrderService to set the spendingLimit of the budget 
order to $230. So far, this has been working perfectly.

The problem comes in when there is a credit on the budget order:

<https://lh3.googleusercontent.com/-QT7C_lpPsNc/V65O6BDroCI/AAAAAAAAA6Y/k92kV4CVk-gCgdFVqACwTA61OgxJsIKuwCLcB/s1600/Screen%2BShot%2B2016-08-12%2Bat%2B4.50.26%2BPM.png>
In this case, the BudgetOrder's spendingLimit is $280.00, which makes 
sense, I guess: $180 + $100 = $280

Let's say I want to add $50 to this budget order. I get the spendingLimit 
($280), and add $50 for a total of $330. I use BudgetOrderService to set 
the spendingLimit of this particular budget order to $330.

I expect to see in the account's Account Budgets page:
*Budget Amount*
$230
+$100
= $330

But what I get is:
*Budget Amount*
$330
+$100
= $430

So, if I am looking at this correctly, spendingLimit represents *Budget 
Amount* + *Credit Amount,* but when I mutate the budget order, 
spendingLimit *only* represents *Budget Amount.*
Is there any way around this?

(If it makes any difference, I am using the googleads/googleads-python-lib 
<https://github.com/googleads/googleads-python-lib> client library)

Thanks!


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1dc0be91-22ca-4cf2-9739-276ac8268572%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • BudgetOrderServi... Evan Giesel
    • Re: BudgetO... 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum

Reply via email to