**Service** [ForecastService](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.AdUnitCodeError.Reason) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnitCodeError.Reason) **PublisherQueryLanguageService** **Dependencies** [AdUnitCodeError](https://developers.google.com/ad-manager/api/reference/v202605/PublisherQueryLanguageService.AdUnitCodeError) ▼ **AdUnitCodeError.Reason**

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202605`

| Enumeration | Description |
|---|---|
| `INVALID_CHARACTERS` | For [AdUnit.adUnitCode](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnit#adUnitCode), only alpha-numeric characters, underscores, hyphens, periods, asterisks, double quotes, back slashes, forward slashes, exclamations, left angle brackets, colons and parentheses are allowed. |
| `INVALID_CHARACTERS_WHEN_UTF_CHARACTERS_ARE_ALLOWED` | For [AdUnit.adUnitCode](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnit#adUnitCode), only letters, numbers, underscores, hyphens, periods, asterisks, double quotes, back slashes, forward slashes, exclamations, left angle brackets, colons and parentheses are allowed. |
| `INVALID_CHARACTERS_FOR_LEGACY_AD_EXCHANGE_TAG` | For [AdUnit.adUnitCode](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnit#adUnitCode) representing slot codes, only alphanumeric characters, underscores, hyphens, periods and colons are allowed. |
| `LEADING_FORWARD_SLASH` | For [AdUnit.adUnitCode](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnit#adUnitCode), forward slashes are not allowed as the first character. |
| `RESERVED_CODE` | Specific codes matching ca-\*pub-\*-tag are reserved for "Web Property IUs" generated as part of the SlotCode migration. |
| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |