enum UserDomainTargetingError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
ApiErrorReason
enum for user domain targeting error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
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."],[],["The core content details the `UserDomainTargetingError` within an API environment, specifically in version v202502. This error applies to multiple services, including AdjustmentService, ForecastService, LineItemService, LineItemTemplateService, OrderService, ProposalLineItemService, TargetingPresetService, and YieldGroupService. The error has two potential reasons: `INVALID_DOMAIN_NAMES` which is raised when domain names exceed 67 characters or contain non-alphanumeric characters/hyphens, and `UNKNOWN`, which is used when the true reason isn't exposed by the API version. The namespace is `https://www.google.com/apis/ads/publisher/v202502`.\n"],null,["# enum UserDomainTargetingError.Reason (v202502)\n\n**Service** \n[AdjustmentService](/ad-manager/api/reference/v202502/AdjustmentService.UserDomainTargetingError.Reason) [ForecastService](/ad-manager/api/reference/v202502/ForecastService.UserDomainTargetingError.Reason) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.UserDomainTargetingError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202502/LineItemTemplateService.UserDomainTargetingError.Reason) **OrderService** [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.UserDomainTargetingError.Reason) [TargetingPresetService](/ad-manager/api/reference/v202502/TargetingPresetService.UserDomainTargetingError.Reason) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.UserDomainTargetingError.Reason) **Dependencies** \n[UserDomainTargetingError](/ad-manager/api/reference/v202502/OrderService.UserDomainTargetingError) \n▼\n**UserDomainTargetingError.Re...**\n\n\n`ApiErrorReason` enum for user domain targeting error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|------------------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| `INVALID_DOMAIN_NAMES` | Invalid domain names. Domain names must be at most 67 characters long. And must contain only alphanumeric characters and hyphens. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]