Hello,

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'


I have two questions:

1) How can I get more information on this error (ex: what headline text is 
causing it)?
2) Can I make the batch process skip the failed opperation? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3833af54-2d34-44a5-8e7e-1b1c392ed379%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... adwords-test
    • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to