# type AdRuleError (v202602)

**Service** **AdRuleService** **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.ApiError) ▼ [AdRuleDateError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.AdRuleDateError) **AdRuleError** [AdRuleFrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.AdRuleFrequencyCapError) [AdRulePriorityError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.AdRulePriorityError) [AdRuleSlotError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.AdRuleSlotError) [AdRuleTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.AdRuleTargetingError) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.CommonError) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.CustomTargetingError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.FeatureError) [GeoTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.GeoTargetingError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.InternalApiError) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.InventoryTargetingError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.NotNullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.PermissionError) [PoddingError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.PoddingError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.QuotaError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.RequiredNumberError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.StringLengthError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.UniqueError)

Errors ad rule break template objects.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202602`

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.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. |
| **`AdRuleError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.AdRuleError.Reason ` *** ** * ** *** **Enumerations** `NAME_CONTAINS_INVALID_CHARACTERS` :   The name contains unsupported or reserved characters. `BREAK_TEMPLATE_MUST_HAVE_EXACTLY_ONE_FLEXIBLE_AD_SPOT` :   The break template must have exactly one flexible ad spot. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |