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.Reason` is an enum used for user domain targeting errors within the Google Ad Manager API."],["This enum helps identify issues with user-specified domain names, primarily related to their format and length restrictions, through values like `INVALID_DOMAIN_NAMES` and `UNKNOWN`."],["Domain names causing errors through this enum must adhere to specific criteria, including a maximum length of 67 characters and usage of only alphanumeric characters and hyphens."]]],["The content outlines services and their dependencies related to user domain targeting. Key services include AdjustmentService, ForecastService, LineItemService, LineItemTemplateService, OrderService, ProposalLineItemService, TargetingPresetService, and YieldGroupService. The `UserDomainTargetingError` dependency utilizes the `ApiErrorReason` enum, specifying `INVALID_DOMAIN_NAMES` (domains must be \u003c= 67 chars, alphanumeric, or hyphens) and `UNKNOWN` (value not in the API version) error types. The namespace is provided as `https://www.google.com/apis/ads/publisher/v202411`.\n"]]