type PolicyViolationError (v201806)

Represents violations of a single policy by some text in a field. Violations of a single policy by the same string in multiple places within a field is reported in one instance of this class and only one exemption needs to be filed. Violations of a single policy by two different strings is reported as two separate instances of this class. e.g. If 'ACME' violates 'capitalization' and occurs twice in a text ad it would be represented by one instance. If the ad also contains 'INC' which also violates 'capitalization' it would be represented in a separate instance.


Namespace
https://adwords.google.com/api/adwords/cm/v201806

Field

ApiError (inherited)

fieldPath

xsd:string

The OGNL field path to identify cause of error.

fieldPathElements

FieldPathElement[]

A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}.

trigger

xsd:string

The data that caused the error.

errorString

xsd:string

A simple string representation of the error and reason.

ApiError.Type

xsd:string

Indicates that this instance is a subtype of ApiError. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

PolicyViolationError

key

PolicyViolationKey

Unique identifier for the violation.

externalPolicyName

xsd:string

Name of policy suitable for display to users. In the user's preferred language.

externalPolicyUrl

xsd:string

Url with writeup about the policy.

externalPolicyDescription

xsd:string

Localized description of the violation.

isExemptable

xsd:boolean

Whether user can file an exemption request for this violation.

violatingParts

PolicyViolationError.Part[]

Lists the parts that violate the policy.

Send feedback about...

AdWords API
AdWords API
Need help? Visit our support page.