enum UserDomainTargetingError.Reason (v202411)

  • 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.

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.