AI-generated Key Takeaways
-
The request message for
GeoTargetConstantService.SuggestGeoTargetConstants
is used to suggest geo target constants. -
The
locale
field is used to translate returned geo targets or provide a hint, defaulting to 'en' if translation is not possible. -
The
country_code
field restricts returned geo targets to a specific country. -
The
query
union field, which is required, acts as a selector for geo target constants and can use eitherlocation_names
orgeo_targets
.
Request message for GeoTargetConstantService.SuggestGeoTargetConstants
.
Fields | |
---|---|
|
If possible, returned geo targets are translated using this locale. If not, en is used by default. This is also used as a hint for returned geo targets. |
|
Returned geo targets are restricted to this country code. |
Union field
|
|
|
The location names to search by. At most 25 names can be set. |
|
The geo target constant resource names to filter by. |