type UrlError (v202411)

  • This documentation details the UrlError object within the SiteService of the Google Ad Manager API.

  • UrlError is a subclass of ApiError and inherits its fields (fieldPath, fieldPathElements, trigger, errorString).

  • The UrlError object has one additional field: reason, which is an enumeration detailing the specific URL issue.

  • reason can be one of the following: CANNOT_USE_RESERVED_URL, CANNOT_USE_GOOGLE_URL, INVALID_URL, or UNKNOWN.

  • The namespace for this service is https://www.google.com/apis/ads/publisher/v202411.


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

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