Policy Violation Error with any keyword: operand.criterion.text; trigger:' '

371 views
Skip to first unread message

johnvv

unread,
Nov 18, 2011, 10:58:19 AM11/18/11
to AdWords API Forum
When trying to add keywords to an adgroup, I get the error message:
PolicyViolationError.POLICY_ERROR @
operations[0].operand.criterion.text; trigger:' '

What's going on?
It seems it's flagging the very end of the string.

More info.... here's a add keyword fail for a 8 character keyword "my
keyword"
____________________
CriterionPolicyError Object
(

[key] => PolicyViolationKey Object

(

[policyName] => nonstandard_punctuation

[violatingText] =>
)


[externalPolicyName] => Punctuation - nonstandard punctuation

[externalPolicyUrl] =>

[externalPolicyDescription] => Google policy does not permit excessive
or unnecessary punctuation or symbols, or use of nonstandard
punctuation, including tildes (~), asterisks (*),and vertical rules
(|). Please see our full policy.


[isExemptable] =>

[violatingParts] => Array

(

[0] => PolicyViolationErrorPart Object

(

[index] => 10

[length] => 2
)

)


[fieldPath] => operations[0].operand.criterion.text

[trigger] =>

[errorString] => CriterionPolicyError.POLICY_ERROR

[ApiErrorType] => CriterionPolicyError

[_parameterMap:ApiError:private] => Array

(

[ApiError.Type] => ApiErrorType
)

)

Danial Klimkin

unread,
Nov 22, 2011, 8:03:46 AM11/22/11
to adwor...@googlegroups.com
Hello johnvv,


Please send us full XML log of the request and server response. Please make sure to remove any sensitive data such as authToken and developerToken.


-Danial, AdWords API Team.

Demian melskens

unread,
Oct 20, 2017, 9:42:28 AM10/20/17
to AdWords API Forum
Hello everyone,

I had the same problem.
It turned out one of my spaces in the criterion text was a multibyte one.

I fixed this by converting the text to the right encoding and replacing the multibyte space with a normal space.

-Demian.
Reply all
Reply to author
Forward
0 new messages