# type UserDomainTargetingError (v202505)

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

Lists all errors related to user domain targeting for a line item.

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202505/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. |
| **`UserDomainTargetingError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.UserDomainTargetingError.Reason ` *** ** * ** *** **Enumerations** `INVALID_DOMAIN_NAMES` :   Invalid domain names. Domain names must be at most 67 characters long. And must contain only alphanumeric characters and hyphens. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |