Stay organized with collections
Save and categorize content based on your preferences.
Definitions
EntityFeed Definition
messageEntityFeed{repeatedEntitydata=1;}
Entity Definition
//// Information about an Entity that is on the partner's platform. For example,// an Entity could be a retail store, a hospital, an online business etc.messageEntity{// An opaque string generated by the partner that identifies an Entity.// Must be unique across all entities.// Strongly recommended to only include URL-safe characters. (required)stringentity_id=1;// If present, the name, telephone, url and location are used to support// matching partner inventory with entities already present on Google. This// information will not be displayed.// The name of the Entity. (required)stringname=2;// The contact telephone number of the Entity including its country and area// codes, e.g. +14567891234. Highly recommended. (optional)stringtelephone=3;// The url of the Entity's public website. Highly recommended. (optional)stringurl=4;// The location of the Entity (required)madden.ingestion.GeoCoordinateslocation=5;// This field is used by the aggregator to define which Brand should be// applied to which entity. (optional)stringaggregator_brand_id=6;}
GeoCoordinates Definition
// The Geo data of a location, including latitude, longitude, and address.// At least one of [lat/lng or address] should be provided (or both).messageGeoCoordinates{// [-90, +90] degrees (inclusive). (optional)doublelatitude=1;// [-180, +180] degrees (inclusive). (optional)doublelongitude=2;// Address for a location, could either be structured or unstructured.oneofaddresses{// Postal address of the location, preferred.PostalAddressaddress=3;// An unstructured address could also be provided as a fallback.// E.g. "1600 amphitheatre parkway mountain view, ca 94043"stringunstructured_address=4;}}
PostalAddress Definition
// The postal address for a merchant.messagePostalAddress{// The country, using ISO 3166-1 alpha-2 country code, e.g. "US" (required)stringcountry=1;// The locality/city, e.g. "Mountain View". (required)stringlocality=2;// The region/state/province, e.g. "CA". This field is only required in// countries where region is commonly a part of the address. (optional)stringregion=3;// The postal code, e.g. "94043". (required)stringpostal_code=4;// The street address, e.g. "1600 Amphitheatre Pkwy". (required)stringstreet_address=5;}
Entity feeds samples
Entity Feed
{"data":[{"entity_id":"reservations-redirect-merchant-1","name":"Lorem ipsum Barbershop","telephone":"+11111222233","url":"https://example.com","location":{"latitude":37.422113,"longitude":-122.084041,"address":{"country":"US","locality":"Mountain View","region":"California","postal_code":"94043","street_address":"1600 Amphitheater Drive"}}}]}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-29 UTC."],[[["\u003cp\u003eEntity feeds, defining business information like name, location, and contact details, should be uploaded in JSON format, despite the specification being in protobuffer.\u003c/p\u003e\n"],["\u003cp\u003eEach entity within the feed requires a unique \u003ccode\u003eentity_id\u003c/code\u003e, name, and location, while telephone and URL are highly recommended for better matching with Google's existing data.\u003c/p\u003e\n"],["\u003cp\u003eLocation data can be provided using latitude/longitude coordinates or a postal address, with the postal address being preferred for accuracy.\u003c/p\u003e\n"],["\u003cp\u003ePostal addresses require country, locality, postal code, and street address, with region being optional but recommended for specific countries.\u003c/p\u003e\n"],["\u003cp\u003eSample JSON feeds and a descriptor file are available to guide the structure and content of the data provided.\u003c/p\u003e\n"]]],["Partners provide Entity Feeds in JSON format, defining entities with unique `entity_id`, `name`, `telephone`, and `url`. Each `Entity` requires `location` data, which can be specified by `latitude`, `longitude`, or a `PostalAddress`. `PostalAddress` needs `country`, `locality`, `postal_code`, and `street_address`. The Entity Feed contains an array of `Entity` data. A descriptor file contains feed information, `name` and `data_file`. The entity feed sample shows an example of an `Entity` information.\n"],null,["# Entity feed\n\nDefinitions\n-----------\n\n| **Note:** The Entity feed spec is defined in protobuffer format below, however we recommend uploading the feeds in JSON format. You can reference our [JSON sample feeds](#samples) for more information.\n\n### EntityFeed Definition\n\n```protobuf\nmessage EntityFeed {\n repeated Entity data = 1;\n}\n```\n\n### Entity Definition\n\n```protobuf\n//\n// Information about an Entity that is on the partner's platform. For example,\n// an Entity could be a retail store, a hospital, an online business etc.\nmessage Entity {\n // An opaque string generated by the partner that identifies an Entity.\n // Must be unique across all entities.\n // Strongly recommended to only include URL-safe characters. (required)\n string entity_id = 1;\n\n // If present, the name, telephone, url and location are used to support\n // matching partner inventory with entities already present on Google. This\n // information will not be displayed.\n\n // The name of the Entity. (required)\n string name = 2;\n\n // The contact telephone number of the Entity including its country and area\n // codes, e.g. +14567891234. Highly recommended. (optional)\n string telephone = 3;\n\n // The url of the Entity's public website. Highly recommended. (optional)\n string url = 4;\n\n // The location of the Entity (required)\n madden.ingestion.GeoCoordinates location = 5;\n\n // This field is used by the aggregator to define which Brand should be\n // applied to which entity. (optional)\n string aggregator_brand_id = 6;\n}\n```\n\n### GeoCoordinates Definition\n\n```protobuf\n// The Geo data of a location, including latitude, longitude, and address.\n// At least one of [lat/lng or address] should be provided (or both).\nmessage GeoCoordinates {\n // [-90, +90] degrees (inclusive). (optional)\n double latitude = 1;\n\n // [-180, +180] degrees (inclusive). (optional)\n double longitude = 2;\n\n // Address for a location, could either be structured or unstructured.\n oneof addresses {\n // Postal address of the location, preferred.\n PostalAddress address = 3;\n\n // An unstructured address could also be provided as a fallback.\n // E.g. \"1600 amphitheatre parkway mountain view, ca 94043\"\n string unstructured_address = 4;\n }\n}\n```\n\n### PostalAddress Definition\n\n```protobuf\n// The postal address for a merchant.\nmessage PostalAddress {\n // The country, using ISO 3166-1 alpha-2 country code, e.g. \"US\" (required)\n string country = 1;\n\n // The locality/city, e.g. \"Mountain View\". (required)\n string locality = 2;\n\n // The region/state/province, e.g. \"CA\". This field is only required in\n // countries where region is commonly a part of the address. (optional)\n string region = 3;\n\n // The postal code, e.g. \"94043\". (required)\n string postal_code = 4;\n\n // The street address, e.g. \"1600 Amphitheatre Pkwy\". (required)\n string street_address = 5;\n}\n```\n\nEntity feeds samples\n--------------------\n\n### Entity Feed\n\n```json\n{\n \"data\": [\n {\n \"entity_id\": \"reservations-redirect-merchant-1\",\n \"name\": \"Lorem ipsum Barbershop\",\n \"telephone\": \"+11111222233\",\n \"url\": \"https://example.com\",\n \"location\": {\n \"latitude\": 37.422113,\n \"longitude\": -122.084041,\n \"address\": {\n \"country\": \"US\",\n \"locality\": \"Mountain View\",\n \"region\": \"California\",\n \"postal_code\": \"94043\",\n \"street_address\": \"1600 Amphitheater Drive\"\n }\n }\n }\n ]\n}\n```\n\n### Descriptor File\n\n```json\n{\n \"generation_timestamp\": 1677545962,\n \"name\": \"reservewithgoogle.entity\",\n \"data_file\": [\n \"entity_1677545962.json\"\n ]\n}\n```"]]