I'm batch uploading 1000s of ads. I'm running into a policy error:
Operation 221 - FAILURE:
errorType=PolicyViolationError
trigger=None
errorString=AdPolicyError.POLICY_ERROR
fieldPath=operations[221].operand.ad.headlinePart1
Traceback (most recent call last):
File "create-text-ads.py", line 75, in <module>
campaign_batch_upload.PrintResponse(batch_job_helper, response)
File "/Users/****/Projects/adwords-management/campaign_batch_upload.py", line 302, in PrintResponse
print ('\treason=%s' % data['errorList']['errors']['reason'])
KeyError: 'reason'