# type GenericTargetingError (v202605)

**Service** **AdjustmentService** [ForecastService](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.GenericTargetingError.md.txt) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202605/LineItemService.GenericTargetingError.md.txt) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202605/LineItemTemplateService.GenericTargetingError.md.txt) [OrderService](https://developers.google.com/ad-manager/api/reference/v202605/OrderService.GenericTargetingError.md.txt) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202605/ProposalLineItemService.GenericTargetingError.md.txt) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202605/TargetingPresetService.GenericTargetingError.md.txt) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202605/YieldGroupService.GenericTargetingError.md.txt) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.ApiError.md.txt) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.ApiVersionError.md.txt) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.AuthenticationError.md.txt) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.CollectionSizeError.md.txt) [CommonError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.CommonError.md.txt) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.CustomTargetingError.md.txt) [DateError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.DateError.md.txt) [DateTimeRangeTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.DateTimeRangeTargetingError.md.txt) [DayPartTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.DayPartTargetingError.md.txt) [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.EntityLimitReachedError.md.txt) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.FeatureError.md.txt) [ForecastAdjustmentError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.ForecastAdjustmentError.md.txt) [ForecastError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.ForecastError.md.txt) **GenericTargetingError** [GeoTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.GeoTargetingError.md.txt) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.InternalApiError.md.txt) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.InvalidUrlError.md.txt) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.InventoryTargetingError.md.txt) [InventoryUnitError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.InventoryUnitError.md.txt) [InventoryUnitSizesError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.InventoryUnitSizesError.md.txt) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.NotNullError.md.txt) [NullError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.NullError.md.txt) [ParseError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.ParseError.md.txt) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.PermissionError.md.txt) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.PublisherQueryLanguageContextError.md.txt "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.PublisherQueryLanguageSyntaxError.md.txt "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.QuotaError.md.txt) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.RequiredCollectionError.md.txt) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.RequiredError.md.txt) [ServerError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.ServerError.md.txt) [StatementError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.StatementError.md.txt) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.StringFormatError.md.txt) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.StringLengthError.md.txt) [TechnologyTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.TechnologyTargetingError.md.txt) [TrafficForecastSegmentError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.TrafficForecastSegmentError.md.txt) [TypeError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.TypeError.md.txt) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.UniqueError.md.txt) [UserDomainTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.UserDomainTargetingError.md.txt)

Targeting validation errors that can be used by different targeting types.

*** ** * ** ***

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

| ## 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. |
| **`GenericTargetingError`** ||
| ### `reason` | ` GenericTargetingError.Reason ` *** ** * ** *** **Enumerations** `CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS` :   Both including and excluding sibling criteria is disallowed. `INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA` :   Including descendants of excluded criteria is disallowed. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |