Share your feedback about the Google Ads (AdWords) API. Take the 2021 AdWords API and Google Ads API Annual Survey.

The AdWords API will sunset on April 27, 2022. Migrate to the Google Ads API to take advantage of the latest Google Ads features.

type CriterionPolicyError (v201809)

Contains the policy violations for a single BiddableAdGroupCriterion.


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

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 (inherited)

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.

CriterionPolicyError