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

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

*** ** * ** ***

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` | ` https://developers.google.com/ad-manager/api/reference/v202605/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/v202605/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 /> |