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 Google Ad Manager."],["This enum includes reasons such as `INVALID_DOMAIN_NAMES` for invalid domain name formats and `UNKNOWN` for errors not exposed by the API."],["Domain names used for targeting must adhere to specific criteria, being at most 67 characters long and containing only alphanumeric characters and hyphens."]]],["The core content details the `UserDomainTargetingError` enum within the Google Ad Manager API (v202411). This error type is relevant to multiple services: Adjustment, Forecast, LineItem, LineItemTemplate, Order, ProposalLineItem, TargetingPreset, and YieldGroup. The enum defines two possible errors: `INVALID_DOMAIN_NAMES`, indicating domain names that exceed 67 characters or contain invalid characters, and `UNKNOWN`, for unexposed API version errors. The namespace for these errors is `https://www.google.com/apis/ads/publisher/v202411`.\n"]]