# type UserDomainTargetingError (v202602)

**Service** [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202602/AdjustmentService.UserDomainTargetingError.md.txt) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.UserDomainTargetingError.md.txt) **LineItemService** [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemTemplateService.UserDomainTargetingError.md.txt) [OrderService](https://developers.google.com/ad-manager/api/reference/v202602/OrderService.UserDomainTargetingError.md.txt) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.UserDomainTargetingError.md.txt) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.UserDomainTargetingError.md.txt) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202602/YieldGroupService.UserDomainTargetingError.md.txt) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.ApiError.md.txt) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.ApiVersionError.md.txt) [AssetError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.AssetError.md.txt) [AudienceExtensionError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.AudienceExtensionError.md.txt) [AudienceSegmentError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.AudienceSegmentError.md.txt) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.AuthenticationError.md.txt) [ClickTrackingLineItemError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.ClickTrackingLineItemError.md.txt) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.CollectionSizeError.md.txt) [CommonError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.CommonError.md.txt) [CompanyCreditStatusError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.CompanyCreditStatusError.md.txt) [CreativeError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.CreativeError.md.txt) [CrossSellError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.CrossSellError.md.txt) [CurrencyCodeError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.CurrencyCodeError.md.txt) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.CustomFieldValueError.md.txt) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.CustomTargetingError.md.txt) [DateTimeRangeTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.DateTimeRangeTargetingError.md.txt) [DayPartTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.DayPartTargetingError.md.txt) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.EntityChildrenLimitReachedError.md.txt "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.EntityLimitReachedError.md.txt) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.FeatureError.md.txt) [ForecastError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.ForecastError.md.txt) [FrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.FrequencyCapError.md.txt) [GenericTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.GenericTargetingError.md.txt) [GeoTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.GeoTargetingError.md.txt) [GrpSettingsError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.GrpSettingsError.md.txt) [ImageError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.ImageError.md.txt) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.InternalApiError.md.txt) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.InvalidUrlError.md.txt) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.InventoryTargetingError.md.txt) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.LabelEntityAssociationError.md.txt) [LineItemActivityAssociation...](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.LineItemActivityAssociationError.md.txt "LineItemActivityAssociationError") [LineItemCreativeAssociation...](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.LineItemCreativeAssociationError.md.txt "LineItemCreativeAssociationError") [LineItemError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.LineItemError.md.txt) [LineItemFlightDateError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.LineItemFlightDateError.md.txt) [LineItemOperationError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.LineItemOperationError.md.txt) [MobileApplicationTargetingE...](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.MobileApplicationTargetingError.md.txt "MobileApplicationTargetingError") [NotNullError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.NotNullError.md.txt) [NullError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.NullError.md.txt) [OrderActionError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.OrderActionError.md.txt) [OrderError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.OrderError.md.txt) [ParseError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.ParseError.md.txt) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.PermissionError.md.txt) [PrecisionError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.PrecisionError.md.txt) [ProgrammaticError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.ProgrammaticError.md.txt) [PublisherProvidedSignalsTar...](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.PublisherProvidedSignalsTargetingError.md.txt "PublisherProvidedSignalsTargetingError") [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.PublisherQueryLanguageContextError.md.txt "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.PublisherQueryLanguageSyntaxError.md.txt "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.QuotaError.md.txt) [RangeError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.RangeError.md.txt) [RegExError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.RegExError.md.txt) [RequestPlatformTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.RequestPlatformTargetingError.md.txt) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.RequiredCollectionError.md.txt) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.RequiredError.md.txt) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.RequiredNumberError.md.txt) [RequiredSizeError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.RequiredSizeError.md.txt) [ReservationDetailsError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.ReservationDetailsError.md.txt) [ServerError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.ServerError.md.txt) [SetTopBoxLineItemError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.SetTopBoxLineItemError.md.txt) [StatementError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.StatementError.md.txt) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.StringFormatError.md.txt) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.StringLengthError.md.txt) [TeamError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.TeamError.md.txt) [TechnologyTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.TechnologyTargetingError.md.txt) [TimeZoneError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.TimeZoneError.md.txt) [TranscodingError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.TranscodingError.md.txt) [TypeError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.TypeError.md.txt) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.UniqueError.md.txt) **UserDomainTargetingError** [VideoPositionTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.VideoPositionTargetingError.md.txt)

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

*** ** * ** ***

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` | ` 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` | ` UserDomainTargetingError.Re... ` *** ** * ** *** **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 /> |