Hello,
I'm batch uploading 1000s of adds. I'm running into this failure:

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'


Is there a way to get more details about the PolicyViolation (ex: what 
headline text is causing it)? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7e5c581f-4cc6-49df-9fb0-b1fe9a1e5992%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Nellle Rickchards
    • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... Nellle Rickchards
    • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... Nellle Rickchards
    • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... Nellle Rickchards
    • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to