googleads / googleads-python-lib

The Python client library for Google's Ads APIs
Apache License 2.0
685 stars 975 forks source link

response from dfp services via API (python) periodically returns is None type #306

Closed evgeny-shestakov closed 6 years ago

evgeny-shestakov commented 6 years ago

.... File "/usr/lib/python2.7/dist-packages/googleads/dfp.py", line 830, in DownloadPqlResultToList self._PageThroughPqlSet(pql_query, results.append, values) File "/usr/lib/python2.7/dist-packages/googleads/dfp.py", line 917, in _PageThroughPqlSet if 'rows' in response: TypeError: argument of type 'NoneType' is not iterable

periodically (infrequently) there are similar problems with the same query/params . please help

python-googleads = 9.0.0-1 API v201711 Ubuntu 14.04.5 x64 LTS

grivescorbett commented 6 years ago

Hi, thanks for writing in! Could you please share any additional code, such as the arguments to the download method? If you can't share that here, feel free to post in the DFP API Forum.

msaniscalchi commented 6 years ago

Hello,

I'm taking ownership of this issue. If you happen to still see this issue, please follow up with the additional information Gabe requested. Otherwise, I'll close this soon with the expectation that it has been resolved elsewhere--e.g. the DFP API Forum.

Regards, Mark