type UrlError (v202502)

  • UrlError inherits from ApiError and is a type of error that can occur within the SiteService.

  • UrlError has a reason field which is an enumeration of possible reasons for the error, including CANNOT_USE_RESERVED_URL, CANNOT_USE_GOOGLE_URL, INVALID_URL, and UNKNOWN.

  • ApiError (the parent class) includes fields such as fieldPath, fieldPathElements, trigger, and errorString.


Namespace
https://www.google.com/apis/ads/publisher/v202502

Field

ApiError (inherited)

fieldPath

xsd:string

fieldPathElements

FieldPathElement[]

trigger

xsd:string

errorString

xsd:string

UrlError

reason

UrlError.Reason


Enumerations
CANNOT_USE_RESERVED_URL
CANNOT_USE_GOOGLE_URL
INVALID_URL
UNKNOWN