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 such as AdjustmentService, ForecastService, LineItemService, LineItemTemplateService, OrderService, ProposalLineItemService, TargetingPresetService, and YieldGroupService."],["Two main reasons for this error are: invalid domain names exceeding the character limit or containing invalid characters, and an unknown error not exposed by the current API version."],["Domain names for user domain targeting should be a maximum of 67 characters long and contain only alphanumeric characters and hyphens."]]],["The content outlines `UserDomainTargetingError` as an `ApiErrorReason` enum, detailing potential errors related to user domain targeting within the Google Ad Manager API v202411. It lists services including `AdjustmentService`, `ForecastService`, `LineItemService`, `LineItemTemplateService`, `OrderService`, `ProposalLineItemService`, `TargetingPresetService`, and `YieldGroupService`. Key errors include `INVALID_DOMAIN_NAMES`, specifying domain length and character restrictions, and `UNKNOWN`, for unspecified errors. The namespace for these components is provided.\n"]]