Hi,

Thank you for contacting support. My apologies as our team can only provide 
support in English. So I can better investigate the issue, could you 
provide to me the SOAP request and response logs of both the incorrect and 
correct values being returned when you retrieve your BudgetOrder 
information using the BudgetOrderService.get() method? You may reply to me 
via the *Reply privately to author* option.

Thanks and regards,
Peter
AdWords API Team

On Wednesday, November 28, 2018 at 7:33:31 PM UTC+8, dev.zo...@gmail.com 
wrote:
>
> Я получаю бюджет по каждому аккаунту клиента из личного кабинета агенства 
> методом BudgetOrderService v201809 на языке Python.
>
> def get_budget_for_client(self, client):
>     service = client.GetService('BudgetOrderService', version='v201809')
>     selector = {
>         'fields': ['BudgetOrderName', 'SpendingLimit', 'TotalAdjustments']
>     }
>     acc_budget = None
>
>     page = service.get(selector)
>     if 'entries' in page and page['entries']:
>         for payer in page['entries']:
>             acc_budget = int(payer['spendingLimit']['microAmount'])
>     return acc_budget
>
>
> Пример данных которые возвращает метод:
> ТиПО 1 - Мечты меняющие мир
> 181267190000
> Лидер - ремонт квартир
> 85540510000
> Маэстро - Дизайн квартир
> 76367680000
>
> По всем аккаунтам метод возвращается правильный бюджет но по одному сильно 
> занижает сумму. То что выделено и есть ошибка, должно вернуться 
> 1823879300000, 
> и самое интересное что иногда api возвращает правильную цифру!
>
> Не могу понять в чем проблема либо не правильно что то выставлено в личном 
> кабинете, либо не правильно возвращает api.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/49498d3c-8c63-4223-99c7-18418bd14c9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... dev . zolle
    • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to