Interested in sharing your feedback about the Google Ads API?
Sign up to be invited to participate in user research!
GeoTargetConstantSuggestionError
Enum describing possible geo target constant suggestion errors.
Enums |
UNSPECIFIED
|
Enum unspecified. |
UNKNOWN
|
The received error code is not known in this version. |
LOCATION_NAME_SIZE_LIMIT
|
A location name cannot be greater than 300 characters. |
LOCATION_NAME_LIMIT
|
At most 25 location names can be specified in a SuggestGeoTargetConstants method. |
INVALID_COUNTRY_CODE
|
The country code is invalid. |
REQUEST_PARAMETERS_UNSET
|
Geo target constant resource names or location names must be provided in the request. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-29 UTC.
[null,null,["Last updated 2024-05-29 UTC."],[[["This enum outlines potential errors encountered when suggesting geo target constants."],["Errors can relate to location name size, character limits, the number of specified locations, invalid country codes, or missing request parameters."],["The enum provides specific error codes for troubleshooting, including `UNSPECIFIED`, `UNKNOWN`, `LOCATION_NAME_SIZE_LIMIT`, `LOCATION_NAME_LIMIT`, `INVALID_COUNTRY_CODE`, and `REQUEST_PARAMETERS_UNSET`."]]],["The provided content outlines possible errors when suggesting geo target constants. Errors include unspecified or unknown issues, exceeding the 300-character limit for a location name, specifying more than 25 location names, providing an invalid country code, or failing to provide either geo target constant resource names or location names in the request. These errors are identified through an enum with corresponding error codes.\n"]]