Did you manage to solve it? I have the same problem doing in php if you can give me a light thank you
Em quarta-feira, 31 de maio de 2017 às 17:12:32 UTC-3, Shwetha Vastrad (AdWords API Team) escreveu: > Hi, > > Unfortunately, the BudgetOrderService > <https://developers.google.com/adwords/api/docs/reference/v201702/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 > > <https://developers.google.com/adwords/api/docs/reference/v201702/BudgetOrderService.BudgetOrder#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 > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 "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+unsubscr...@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.