-
Notifications
You must be signed in to change notification settings - Fork 978
Description
We’ve been using the same pattern of accessing AdWords batch service as this example. However, since about 10 days ago after we upgraded our python googleads library to 12.2.0 from 9.0.0, we started to receive intermittent issues with these two lines.
The error message quoted below seems to indicate the batch_job[‘downloadUrl’] object is null even if the “downloadUrl” key is present in the batch_job object.
url = batch_job['downloadUrl']['url']
TypeError: 'NoneType' object has no attribute '__getitem__'
Retry the script usually eventually fixes this issue, but every day we got some jobs failing too many times even after retrying and people getting the alert messages have to manually retry the jobs. We looked up the releasing notes from version 10.0.0 but couldn’t find anything related.
Can you check what is causing this issue and what should be the best practice for us moving forward?