Learn more about migrating to the Google Ads API by watching our latest webinar

UrlFieldError

Enum describing possible url field errors.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

INVALID_TRACKING_URL_TEMPLATE

The tracking url template is invalid.

INVALID_TAG_IN_TRACKING_URL_TEMPLATE

The tracking url template contains invalid tag.

MISSING_TRACKING_URL_TEMPLATE_TAG

The tracking url template must contain at least one tag (e.g. {lpurl}), This applies only to tracking url template associated with website ads or product ads.

MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE

The tracking url template must start with a valid protocol (or lpurl tag).

INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE

The tracking url template starts with an invalid protocol.

MALFORMED_TRACKING_URL_TEMPLATE

The tracking url template contains illegal characters.

MISSING_HOST_IN_TRACKING_URL_TEMPLATE

The tracking url template must contain a host name (or lpurl tag).

INVALID_TLD_IN_TRACKING_URL_TEMPLATE

The tracking url template has an invalid or missing top level domain extension.

REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG

The tracking url template contains nested occurrences of the same conditional tag (i.e. {ifmobile:{ifmobile:x}}).

INVALID_FINAL_URL

The final url is invalid.

INVALID_TAG_IN_FINAL_URL

The final url contains invalid tag.

REDUNDANT_NESTED_FINAL_URL_TAG

The final url contains nested occurrences of the same conditional tag (i.e. {ifmobile:{ifmobile:x}}).

MISSING_PROTOCOL_IN_FINAL_URL

The final url must start with a valid protocol.

INVALID_PROTOCOL_IN_FINAL_URL

The final url starts with an invalid protocol.

MALFORMED_FINAL_URL

The final url contains illegal characters.

MISSING_HOST_IN_FINAL_URL

The final url must contain a host name.

INVALID_TLD_IN_FINAL_URL

The tracking url template has an invalid or missing top level domain extension.

INVALID_FINAL_MOBILE_URL

The final mobile url is invalid.

INVALID_TAG_IN_FINAL_MOBILE_URL

The final mobile url contains invalid tag.

REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG

The final mobile url contains nested occurrences of the same conditional tag (i.e. {ifmobile:{ifmobile:x}}).

MISSING_PROTOCOL_IN_FINAL_MOBILE_URL

The final mobile url must start with a valid protocol.

INVALID_PROTOCOL_IN_FINAL_MOBILE_URL

The final mobile url starts with an invalid protocol.

MALFORMED_FINAL_MOBILE_URL

The final mobile url contains illegal characters.

MISSING_HOST_IN_FINAL_MOBILE_URL

The final mobile url must contain a host name.

INVALID_TLD_IN_FINAL_MOBILE_URL

The tracking url template has an invalid or missing top level domain extension.

INVALID_FINAL_APP_URL

The final app url is invalid.

INVALID_TAG_IN_FINAL_APP_URL

The final app url contains invalid tag.

REDUNDANT_NESTED_FINAL_APP_URL_TAG

The final app url contains nested occurrences of the same conditional tag (i.e. {ifmobile:{ifmobile:x}}).

MULTIPLE_APP_URLS_FOR_OSTYPE

More than one app url found for the same OS type.

INVALID_OSTYPE

The OS type given for an app url is not valid.

INVALID_PROTOCOL_FOR_APP_URL

The protocol given for an app url is not valid. (E.g. "android-app://")

INVALID_PACKAGE_ID_FOR_APP_URL

The package id (app id) given for an app url is not valid.

URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT

The number of url custom parameters for an resource exceeds the maximum limit allowed.

INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY

An invalid character appears in the parameter key.

INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE

An invalid character appears in the parameter value.

INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE

The url custom parameter value fails url tag validation.

REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG

The custom parameter contains nested occurrences of the same conditional tag (i.e. {ifmobile:{ifmobile:x}}).

MISSING_PROTOCOL

The protocol (http:// or https://) is missing.

INVALID_PROTOCOL

Unsupported protocol in URL. Only http and https are supported.

INVALID_URL

The url is invalid.

DESTINATION_URL_DEPRECATED

Destination Url is deprecated.

INVALID_TAG_IN_URL

The url contains invalid tag.

MISSING_URL_TAG

The url must contain at least one tag (e.g. {lpurl}).

DUPLICATE_URL_ID

Duplicate url id.

INVALID_URL_ID

Invalid url id.

FINAL_URL_SUFFIX_MALFORMED

The final url suffix cannot begin with '?' or '&' characters and must be a valid query string.

INVALID_TAG_IN_FINAL_URL_SUFFIX

The final url suffix cannot contain {lpurl} related or {ignore} tags.

INVALID_TOP_LEVEL_DOMAIN

The top level domain is invalid, e.g, not a public top level domain listed in publicsuffix.org.

MALFORMED_TOP_LEVEL_DOMAIN

Malformed top level domain in URL.

MALFORMED_URL

Malformed URL.

MISSING_HOST

No host found in URL.

NULL_CUSTOM_PARAMETER_VALUE

Custom parameter value cannot be null.