type UrlError (v202502)Stay organized with collectionsSave and categorize content based on your preferences.
Page Summary
UrlError inherits from ApiError and is a type of error that can occur within the SiteService.
UrlError has areasonfield which is an enumeration of possible reasons for the error, includingCANNOT_USE_RESERVED_URL,CANNOT_USE_GOOGLE_URL,INVALID_URL, andUNKNOWN.
ApiError (the parent class) includes fields such asfieldPath,fieldPathElements,trigger, anderrorString.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The `SiteService` inherits from `ApiError`, which includes fields like `fieldPath`, `fieldPathElements`, `trigger`, and `errorString`. It encompasses various error types, including `AdSenseAccountError`, `QuotaError`, and `SiteError`. `UrlError`, a subcategory, specifies reasons such as `CANNOT_USE_RESERVED_URL`, `INVALID_URL`, and `UNKNOWN`. The namespace for this service is `https://www.google.com/apis/ads/publisher/v202502`. All the errors listed use the same namespace.\n"]]