Handling policy errors

46 views
Skip to first unread message

tom.wa...@raisingit.com

unread,
Oct 31, 2018, 12:30:08 PM10/31/18
to AdWords API and Google Ads API Forum
Hi everyone,

My script has fallen foul of PolicyViolationError.POLICY_ERROR for attempting to create a new keyword that contained a sensitive word (suggested by the Targeting Idea Service!)

In the GUI these trigger words are flagged for you, but then you can 'upload & request exemption'. Is a similar facility available via the API?

Cheers,
Tom

Vincent Racaza (AdWords API Team)

unread,
Oct 31, 2018, 3:04:43 PM10/31/18
to AdWords API and Google Ads API Forum
Hi Tom,

On the AdWords API perspective, it is possible to submit exemption requests for keywords and ads that trigger policy violations (response should include isExemptable = true). This guide shows how to handle policy violations programmatically along with code samples in various languages that you can refer to. Once you have populated exemptionRequests, these ads will be automatically submitted for review if they trigger a policy violation. As you can see in the red box in the guide, it is important to "Do not simply resubmit every ad or keyword that generates a PolicyViolationError after adding exemption requests. Only resubmit those ads or keywords you believe comply with our advertising policies and warrant further review.".

Let me know if you have further clarifications.

NoteWe are running an annual developer feedback survey. Please take opportunity to leave feedback on how we can make managing campaigns at scale even easier.

Thanks,
Vincent
AdWords API Team
Reply all
Reply to author
Forward
0 new messages