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."],[[["UserDomainTargetingError is an `ApiErrorReason` enum used for identifying errors related to user domain targeting in Google Ad Manager."],["This error can occur across various services including AdjustmentService, ForecastService, LineItemService, LineItemTemplateService, OrderService, ProposalLineItemService, TargetingPresetService, and YieldGroupService."],["Possible reasons for UserDomainTargetingError include invalid domain names ( exceeding 67 characters or containing invalid characters) and unknown errors."],["Domain names for user domain targeting must adhere to specific criteria, including a maximum length of 67 characters and containing only alphanumeric characters and hyphens."]]],["The content outlines `UserDomainTargetingError` as an `ApiErrorReason` enum, detailing potential errors related to user domain targeting within the `https://www.google.com/apis/ads/publisher/v202411` namespace. It lists services including Adjustment, Forecast, LineItem, LineItemTemplate, Order, ProposalLineItem, TargetingPreset, and YieldGroup. Two error types are defined: `INVALID_DOMAIN_NAMES`, for domains exceeding 67 characters or containing non-alphanumeric characters and hyphens, and `UNKNOWN`, for unspecified errors.\n"]]