enum UrlError.Reason (v202411)

  • UrlError.Reason lists the reasons for inventory URL errors within the NetworkService and SiteService dependencies.

  • Possible reasons for a UrlError include using reserved or Google URLs, having an invalid URL, or encountering an unknown error.

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.