enum UrlError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Reasons for inventory url errors.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
CANNOT_USE_RESERVED_URL
|
The URL has been reserved, and not available for usage.
|
CANNOT_USE_GOOGLE_URL
|
The URL belongs to Google, and not available for usage.
|
INVALID_URL
|
The URL is invalid.
|
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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],["The core content details the `UrlError.Reason` enumeration within the `NetworkService`'s `SiteService`. It defines the reasons for URL errors related to inventory. The possible error reasons include `CANNOT_USE_RESERVED_URL` (reserved URL), `CANNOT_USE_GOOGLE_URL` (Google-owned URL), `INVALID_URL` (invalid format), and `UNKNOWN` (unspecified error). These are located in the namespace `https://www.google.com/apis/ads/publisher/v202502`.\n"],null,["# enum UrlError.Reason (v202502)\n\n**Service** \n**NetworkService** [SiteService](/ad-manager/api/reference/v202502/SiteService.UrlError.Reason) **Dependencies** \n[UrlError](/ad-manager/api/reference/v202502/NetworkService.UrlError) \n▼\n**UrlError.Reason**\n\nReasons for inventory url errors.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|---------------------------|-------------------------------------------------------------------------------------|\n| `CANNOT_USE_RESERVED_URL` | The URL has been reserved, and not available for usage. |\n| `CANNOT_USE_GOOGLE_URL` | The URL belongs to Google, and not available for usage. |\n| `INVALID_URL` | The URL is invalid. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]