Contents

SearchEntity

The list of geolocations that includes the geoidentifier and entity type.

Declaration

object SearchEntity

Properties

NameTypeDescription
adminAreastring

A state or the equivalent according to its associated country.

countryOrRegionstring

The geoterritory where you’re promoting your app in ISO alpha-2 country code format.

displayNamestring

The geographic targeting location in the format of locality,adminArea,countryOrRegion.

entitystring

The type of geography for targeting locations. Search results are in the preferred language according to your organization.

idstring

The geographic location in the format of CountryOrRegion|adminArea|locality.

localitystring

A city or the equivalent according to its associated adminArea.

Discussion

Use the Search for Geolocations endpoint to fetch a displayName for a geolocation.

Example Search Entity Object

{
  "id": "US|CA|Cupertino",
  "entity": "locality",
  "displayName": "Cupertino, California, United States",
  "countryOrRegion": "US",
  "adminArea": "CA",
  "locality": "Cupertino"
}

See Also

Search Geolocation Request and Response Objects