enum UrlError.Reason (v202411)

  • UrlError.Reason identifies the cause of inventory URL errors within Google Ad Manager.

  • Potential reasons include reserved or Google-owned URLs, invalid URL formats, or an unknown error state.

  • Each error reason is represented by a specific enumeration value within the https://www.google.com/apis/ads/publisher/v202411 namespace.

  • Developers can use these reasons to diagnose and resolve inventory URL issues encountered through the NetworkService.

Reasons for inventory url errors.


Namespace
https://www.google.com/apis/ads/publisher/v202411
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.