enum UserDomainTargetingError.Reason (v202411)
ApiErrorReason
enum for user domain targeting error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["The `UserDomainTargetingError` is an `ApiErrorReason` enum used for identifying user domain targeting errors in Google Ad Manager."],["This error can be triggered by issues within various services like ForecastService, LineItemService, and others listed."],["Two main reasons for this error are invalid domain names (exceeding length or using invalid characters) and an unknown error."],["Domain names for targeting should be 67 characters or less and contain only alphanumeric characters and hyphens."]]],["The core content details the `UserDomainTargetingError` within an API service, specifically version `v202411`. This error, an `ApiErrorReason` enum, applies to multiple services like `AdjustmentService`, `ForecastService`, `LineItemService`, etc. It indicates issues with user domain targeting. Two specific error types are defined: `INVALID_DOMAIN_NAMES` (domains must be under 67 characters with alphanumeric characters and hyphens only) and `UNKNOWN` (when the API can't return a specific value).\n"]]