Hello Nellle, Glad you are able to solve the issue. Thanks for sharing the root cause here. Let me know if you have any other questions.
Regards, Sai Teja, AdWords API Team. On Friday, September 14, 2018 at 6:43:15 PM UTC-4, Nellle Rickchards wrote: > > Found the problem... I had an indented if statement which was causing the > "max_poles" look to only run once. > > On Friday, September 14, 2018 at 12:26:18 PM UTC-4, Nellle Rickchards > wrote: >> >> Error: >> >> Traceback (most recent call last): >> File "src/update-keywords.py", line 49, in <module> >> main(client, update_keywords) >> File "src/update-keywords.py", line 35, in main >> download_url = >> campaign_batch_upload.GetBatchJobDownloadUrlWhenReady(client, batch_job_id) >> File "/src/campaign_batch_upload.py", line 333, in >> GetBatchJobDownloadUrlWhenReady >> url = batch_job['downloadUrl']['url'] >> TypeError: 'NoneType' object is not subscriptable >> >> >> >> On Friday, September 14, 2018 at 12:22:07 PM UTC-4, Nellle Rickchards >> wrote: >>> >>> My batchjob upload is not dependable. The >>> batch_job_helper.UploadOperations takes too long. This is cause an error as >>> None object is being passed to batch_job_helper. >>> >>> This is happening about 75% of the time I run the script. Any fix to >>> this? >>> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/77c187ae-fbae-42c6-b64c-2fe2397ec3b0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.