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."],["Two main reasons for this error are `INVALID_DOMAIN_NAMES`, indicating issues with domain name format, and `UNKNOWN`, used for errors not exposed by the current API version."],["Domain names causing this error must adhere to specific rules: a maximum length of 67 characters and containing only alphanumeric characters and hyphens."]]],["The core content outlines the `UserDomainTargetingError` within the context of various services, including Adjustment, Forecast, LineItem, LineItemTemplate, Order, ProposalLineItem, TargetingPreset, and YieldGroup. It details `UserDomainTargetingError` as an `ApiErrorReason` enum. This enum has two defined values: `INVALID_DOMAIN_NAMES`, which specifies constraints for domain names, and `UNKNOWN`, used when the API version doesn't expose the actual error value. The namespace for these errors is `https://www.google.com/apis/ads/publisher/v202411`.\n"]]