enum UserDomainTargetingError.Reason (v202411)

  • UserDomainTargetingError.Reason is an enum used for user domain targeting errors within the Google Ad Manager API.

  • This enum helps identify issues like invalid domain names based on character limits and allowed characters.

  • Domain names causing errors can be diagnosed using the INVALID_DOMAIN_NAMES reason.

  • UNKNOWN is a fallback reason if the actual error isn't exposed by the API version in use.

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.