type UserDomainTargetingError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Lists all errors related to user domain targeting for a line item.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThe UserDomainTargetingError object identifies errors related to user domain targeting for a line item within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eDomain names must adhere to specific criteria, being a maximum of 67 characters long and containing only alphanumeric characters and hyphens.\u003c/p\u003e\n"],["\u003cp\u003eThis error object provides details about the error, including the field path, data that triggered the error, and a reason for the error, like \u003ccode\u003eINVALID_DOMAIN_NAMES\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits properties from the \u003ccode\u003eApiError\u003c/code\u003e object for a more comprehensive understanding of the error context.\u003c/p\u003e\n"]]],["The core content details errors associated with user domain targeting within the Ad Manager API, specifically version 202408. It outlines the `UserDomainTargetingError`, inheriting from `ApiError`, and its `reason` field. This `reason` can be `INVALID_DOMAIN_NAMES` where domain names are not compliant or `UNKNOWN` if the value is not exposed in the current API. It also includes field specifications such as `fieldPath`, `trigger` and error string. Additionally, it lists related services and errors.\n"],null,["# type UserDomainTargetingError (v202408)\n\n**Service** \n[AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.UserDomainTargetingError) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.UserDomainTargetingError) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.UserDomainTargetingError) [LineItemTemplateService](/ad-manager/api/reference/v202408/LineItemTemplateService.UserDomainTargetingError) [OrderService](/ad-manager/api/reference/v202408/OrderService.UserDomainTargetingError) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.UserDomainTargetingError) **TargetingPresetService** [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.UserDomainTargetingError) **Inheritance** \n[ApiError](/ad-manager/api/reference/v202408/TargetingPresetService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202408/TargetingPresetService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202408/TargetingPresetService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202408/TargetingPresetService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202408/TargetingPresetService.CommonError) [CustomTargetingError](/ad-manager/api/reference/v202408/TargetingPresetService.CustomTargetingError) [DateTimeRangeTargetingError](/ad-manager/api/reference/v202408/TargetingPresetService.DateTimeRangeTargetingError) [DayPartTargetingError](/ad-manager/api/reference/v202408/TargetingPresetService.DayPartTargetingError) [EntityChildrenLimitReachedE...](/ad-manager/api/reference/v202408/TargetingPresetService.EntityChildrenLimitReachedError \"EntityChildrenLimitReachedError\") [FeatureError](/ad-manager/api/reference/v202408/TargetingPresetService.FeatureError) [GenericTargetingError](/ad-manager/api/reference/v202408/TargetingPresetService.GenericTargetingError) [GeoTargetingError](/ad-manager/api/reference/v202408/TargetingPresetService.GeoTargetingError) [InternalApiError](/ad-manager/api/reference/v202408/TargetingPresetService.InternalApiError) [InventoryTargetingError](/ad-manager/api/reference/v202408/TargetingPresetService.InventoryTargetingError) [MobileApplicationTargetingE...](/ad-manager/api/reference/v202408/TargetingPresetService.MobileApplicationTargetingError \"MobileApplicationTargetingError\") [NotNullError](/ad-manager/api/reference/v202408/TargetingPresetService.NotNullError) [ParseError](/ad-manager/api/reference/v202408/TargetingPresetService.ParseError) [PermissionError](/ad-manager/api/reference/v202408/TargetingPresetService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202408/TargetingPresetService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202408/TargetingPresetService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202408/TargetingPresetService.QuotaError) [RequestPlatformTargetingError](/ad-manager/api/reference/v202408/TargetingPresetService.RequestPlatformTargetingError) [RequiredCollectionError](/ad-manager/api/reference/v202408/TargetingPresetService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202408/TargetingPresetService.RequiredError) [ServerError](/ad-manager/api/reference/v202408/TargetingPresetService.ServerError) [StatementError](/ad-manager/api/reference/v202408/TargetingPresetService.StatementError) [StringFormatError](/ad-manager/api/reference/v202408/TargetingPresetService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202408/TargetingPresetService.StringLengthError) [TechnologyTargetingError](/ad-manager/api/reference/v202408/TargetingPresetService.TechnologyTargetingError) [UniqueError](/ad-manager/api/reference/v202408/TargetingPresetService.UniqueError) **UserDomainTargetingError** [VideoPositionTargetingError](/ad-manager/api/reference/v202408/TargetingPresetService.VideoPositionTargetingError)\n\nLists all errors related to user domain targeting for a line item.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` The OGNL field path to identify cause of error. |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202408/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)}. |\n| ### `trigger` | ` `xsd:`string` The data that caused the error. |\n| ### `errorString` | ` `xsd:`string` A simple string representation of the error and reason. |\n| **`UserDomainTargetingError`** ||\n| ### `reason` | ` `[UserDomainTargetingError.Re...](/ad-manager/api/reference/v202408/TargetingPresetService.UserDomainTargetingError.Reason \"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. \u003cbr /\u003e |"]]