# type GeoTargetingError (v202602)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.GeoTargetingError) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202602/AdjustmentService.GeoTargetingError) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.GeoTargetingError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.GeoTargetingError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemTemplateService.GeoTargetingError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202602/OrderService.GeoTargetingError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.GeoTargetingError) **TargetingPresetService** [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202602/YieldGroupService.GeoTargetingError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.ApiError) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.CommonError) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.CustomTargetingError) [DateTimeRangeTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.DateTimeRangeTargetingError) [DayPartTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.DayPartTargetingError) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.EntityChildrenLimitReachedError "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.FeatureError) [GenericTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.GenericTargetingError) **GeoTargetingError** [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.InternalApiError) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.InventoryTargetingError) [MobileApplicationTargetingE...](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.MobileApplicationTargetingError "MobileApplicationTargetingError") [NotNullError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.NotNullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.PermissionError) [PublisherProvidedSignalsTar...](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.PublisherProvidedSignalsTargetingError "PublisherProvidedSignalsTargetingError") [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.QuotaError) [RequestPlatformTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.RequestPlatformTargetingError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.RequiredError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.StringLengthError) [TechnologyTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.TechnologyTargetingError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.UniqueError) [UserDomainTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.UserDomainTargetingError) [VideoPositionTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.VideoPositionTargetingError)

Lists all errors associated with geographical targeting for a
[LineItem](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.LineItem).

*** ** * ** ***

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/TargetingPresetService.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. |
| **`GeoTargetingError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.GeoTargetingError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `TARGETED_LOCATIONS_NOT_EXCLUDABLE` :   A location that is targeted cannot also be excluded. `EXCLUDED_LOCATIONS_CANNOT_HAVE_CHILDREN_TARGETED` :   Excluded locations cannot have any of their children targeted. `POSTAL_CODES_CANNOT_BE_EXCLUDED` :   Postal codes cannot be excluded. `UNTARGETABLE_LOCATION` :   Indicates that location targeting is not allowed. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |