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 such as AdjustmentService, ForecastService, LineItemService, LineItemTemplateService, OrderService, ProposalLineItemService, TargetingPresetService, and YieldGroupService.

  • Two main reasons for this error are: invalid domain names exceeding the character limit or containing invalid characters, and an unknown error not exposed by the current API version.

  • Domain names for user domain targeting should be a maximum of 67 characters long and contain 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.