UrlFieldError Stay organized with collections Save and categorize content based on your preferences.
Page Summary
This document outlines the various errors that can occur with URL fields, providing an enum for each possible error condition.
Errors are categorized based on the specific URL component affected, such as tracking URL templates, final URLs, final mobile URLs, final app URLs, and URL custom parameters.
Common error types across different URL fields include issues with invalid tags, missing or invalid protocols, malformed URLs, and missing or invalid hostnames and top-level domains.
Errors also address issues specific to app URLs, such as multiple app URLs for the same OS type, invalid OS types, invalid protocols, and invalid package IDs.
Limitations on the number of URL custom parameters and issues with characters and tags within custom parameter keys and values are also covered.
Enum describing possible url field errors.
| Enums | |
|---|---|
| Destination Url is deprecated. |
| Duplicate url id. |
| The final url suffix cannot begin with '?' or '&' characters and must be a valid query string. |
| An invalid character appears in the parameter key. |
| An invalid character appears in the parameter value. |
| The final app url is invalid. |
| The final mobile url is invalid. |
| The final url is invalid. |
| The OS type given for an app url is not valid. |
| The package id (app id) given for an app url is not valid. |
| Unsupported protocol in URL. Only http and https are supported. |
| The protocol given for an app url is not valid. (For example, "android-app://") |
| The final mobile url starts with an invalid protocol. |
| The final url starts with an invalid protocol. |
| The tracking url template starts with an invalid protocol. |
| The final app url contains invalid tag. |
| The final mobile url contains invalid tag. |
| The final url contains invalid tag. |
| The final url suffix cannot contain {lpurl} related or {ignore} tags. |
| The tracking url template contains invalid tag. |
| The url contains invalid tag. |
| The url custom parameter value fails url tag validation. |
| The tracking url template has an invalid or missing top level domain extension. |
| The tracking url template has an invalid or missing top level domain extension. |
| The tracking url template has an invalid or missing top level domain extension. |
| The top level domain is invalid, for example, not a public top level domain listed in publicsuffix.org. |
| The tracking url template is invalid. |
| The url is invalid. |
| Invalid url id. |
| The final mobile url contains illegal characters. |
| The final url contains illegal characters. |
| Malformed top level domain in URL. |
| The tracking url template contains illegal characters. |
| Malformed URL. |
| No host found in URL. |
| The final mobile url must contain a host name. |
| The final url must contain a host name. |
| The tracking url template must contain a host name (or lpurl tag). |
| The protocol (http:// or https://) is missing. |
| The final mobile url must start with a valid protocol. |
| The final url must start with a valid protocol. |
| The tracking url template must start with a valid protocol (or lpurl tag). |
| The tracking url template must contain at least one tag (for example, {lpurl}), This applies only to tracking url template associated with website ads or product ads. |
| The url must contain at least one tag (for example, {lpurl}). |
| More than one app url found for the same OS type. |
| Custom parameter value cannot be null. |
| The final app url contains nested occurrences of the same conditional tag (for example, {ifmobile:{ifmobile:x}}). |
| The final mobile url contains nested occurrences of the same conditional tag (for example, {ifmobile:{ifmobile:x}}). |
| The final url contains nested occurrences of the same conditional tag (for example, {ifmobile:{ifmobile:x}}). |
| The tracking url template contains nested occurrences of the same conditional tag (for example, {ifmobile:{ifmobile:x}}). |
| The custom parameter contains nested occurrences of the same conditional tag (for example, {ifmobile:{ifmobile:x}}). |
| The received error code is not known in this version. |
| Enum unspecified. |
| The app store connected to the url is not supported. |
| The number of url custom parameters for an resource exceeds the maximum limit allowed. |
| Track parameter is not supported. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-12 UTC.