Get location
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The shared identifier of the physical location to fetch.
Responses
Section titled “Responses”A successful response.
object
The partner version, falling back to the canonical.
object
Location represents a retail store with its full operational profile.
object
The metadata of the location.
object
The unique identifier for the resource.
The fully qualified name of the resource.
The name of the resource.
The timestamp when the resource was first created.
The timestamp when the resource was last updated.
The revision of the resource. Must be empty if the resource is not under version control.
object
The unique identifier for a particular revision of the resource.
The timestamp when this particular revision was created.
The unique identifier for the latest revision of the resource. Must be empty if this is already the latest revision.
The labels of the resource.
object
The fields to update or to return in the location.
ISO 4217 currency codes, e.g. “EUR”.
BCP-47 language tags, e.g. [“de”, “en”].
The operational status of the location.
IANA timezone, e.g. “Europe/Berlin”.
object
GPS coordinates of the location.
object
The latitude in degrees. It must be in the range [-90.0, +90.0].
The longitude in degrees. It must be in the range [-180.0, +180.0].
Recurring weekly operating rules (open/closed windows per day).
WeeklyHours is a recurring weekly operating rule for a single day. An unset start/end means the rule applies to the whole day.
object
Represents a day of the week.
- DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
- MONDAY: Monday
- TUESDAY: Tuesday
- WEDNESDAY: Wednesday
- THURSDAY: Thursday
- FRIDAY: Friday
- SATURDAY: Saturday
- SUNDAY: Sunday
Availability indicates whether a time rule opens or closes the location.
Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are [google.type.Date][google.type.Date] and
google.protobuf.Timestamp.
object
Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value “24:00:00” for scenarios like business closing time.
Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are [google.type.Date][google.type.Date] and
google.protobuf.Timestamp.
object
Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value “24:00:00” for scenarios like business closing time.
Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
Date-specific operating overrides (annual if year=0, otherwise one-off).
DateOverride is a date-specific operating rule. year=0 means it recurs annually; otherwise it is a one-off date. An unset start/end means the rule applies to the whole day.
object
- A full date, with non-zero year, month, and day values.
- A month and day, with a zero year (for example, an anniversary).
- A year on its own, with a zero month and a zero day.
- A year and month, with a zero day (for example, a credit card expiration date).
Related types:
- [google.type.TimeOfDay][google.type.TimeOfDay]
- [google.type.DateTime][google.type.DateTime]
- [google.protobuf.Timestamp][google.protobuf.Timestamp]
object
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn’t significant.
Availability indicates whether a time rule opens or closes the location.
Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are [google.type.Date][google.type.Date] and
google.protobuf.Timestamp.
object
Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value “24:00:00” for scenarios like business closing time.
Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are [google.type.Date][google.type.Date] and
google.protobuf.Timestamp.
object
Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value “24:00:00” for scenarios like business closing time.
Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
Client defined unique id.
Global Location Number (GLN / ILN), e.g. “4314318377126”.
TDLinx store identifier.
Nielsen geographic marketing area.
Sales floor size in square metres.
Retail chain brand, e.g. “EDEKA”.
object
Read-only unique id.
Client defined unique id.
Distribution line / sub-chain, e.g. “EDEKA Nordbayern”.
object
Read-only unique id.
Client defined unique id.
Store owner / contract holder name.
object
Read-only unique id.
Client defined unique id.
object
Advertising-industry taxonomy categories that must not be served for every Device at this location.
LocationSource tells which collection a version comes from.
- LOCATION_SOURCE_CANONICAL: The tenant-wide consensus record.
- LOCATION_SOURCE_LATEST: One partner’s latest copy.
The partner’s organization name; empty for the canonical version.
Every stored version of this physical location, canonical first.
LocationGetItem is one stored version of a physical location,
carrying its full resource data. Mirrors LocationVersion, but data
(the full Location) instead of summary.
object
Location represents a retail store with its full operational profile.
object
The metadata of the location.
object
The unique identifier for the resource.
The fully qualified name of the resource.
The name of the resource.
The timestamp when the resource was first created.
The timestamp when the resource was last updated.
The revision of the resource. Must be empty if the resource is not under version control.
object
The unique identifier for a particular revision of the resource.
The timestamp when this particular revision was created.
The unique identifier for the latest revision of the resource. Must be empty if this is already the latest revision.
The labels of the resource.
object
The fields to update or to return in the location.
ISO 4217 currency codes, e.g. “EUR”.
BCP-47 language tags, e.g. [“de”, “en”].
The operational status of the location.
IANA timezone, e.g. “Europe/Berlin”.
object
GPS coordinates of the location.
object
The latitude in degrees. It must be in the range [-90.0, +90.0].
The longitude in degrees. It must be in the range [-180.0, +180.0].
Recurring weekly operating rules (open/closed windows per day).
WeeklyHours is a recurring weekly operating rule for a single day. An unset start/end means the rule applies to the whole day.
object
Represents a day of the week.
- DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
- MONDAY: Monday
- TUESDAY: Tuesday
- WEDNESDAY: Wednesday
- THURSDAY: Thursday
- FRIDAY: Friday
- SATURDAY: Saturday
- SUNDAY: Sunday
Availability indicates whether a time rule opens or closes the location.
Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are [google.type.Date][google.type.Date] and
google.protobuf.Timestamp.
object
Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value “24:00:00” for scenarios like business closing time.
Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are [google.type.Date][google.type.Date] and
google.protobuf.Timestamp.
object
Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value “24:00:00” for scenarios like business closing time.
Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
Date-specific operating overrides (annual if year=0, otherwise one-off).
DateOverride is a date-specific operating rule. year=0 means it recurs annually; otherwise it is a one-off date. An unset start/end means the rule applies to the whole day.
object
- A full date, with non-zero year, month, and day values.
- A month and day, with a zero year (for example, an anniversary).
- A year on its own, with a zero month and a zero day.
- A year and month, with a zero day (for example, a credit card expiration date).
Related types:
- [google.type.TimeOfDay][google.type.TimeOfDay]
- [google.type.DateTime][google.type.DateTime]
- [google.protobuf.Timestamp][google.protobuf.Timestamp]
object
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn’t significant.
Availability indicates whether a time rule opens or closes the location.
Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are [google.type.Date][google.type.Date] and
google.protobuf.Timestamp.
object
Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value “24:00:00” for scenarios like business closing time.
Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are [google.type.Date][google.type.Date] and
google.protobuf.Timestamp.
object
Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value “24:00:00” for scenarios like business closing time.
Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
Client defined unique id.
Global Location Number (GLN / ILN), e.g. “4314318377126”.
TDLinx store identifier.
Nielsen geographic marketing area.
Sales floor size in square metres.
Retail chain brand, e.g. “EDEKA”.
object
Read-only unique id.
Client defined unique id.
Distribution line / sub-chain, e.g. “EDEKA Nordbayern”.
object
Read-only unique id.
Client defined unique id.
Store owner / contract holder name.
object
Read-only unique id.
Client defined unique id.
object
Advertising-industry taxonomy categories that must not be served for every Device at this location.
LocationSource tells which collection a version comes from.
- LOCATION_SOURCE_CANONICAL: The tenant-wide consensus record.
- LOCATION_SOURCE_LATEST: One partner’s latest copy.
The partner’s organization name; empty for the canonical version.
True when the versions carry more than one distinct content checksum.
One entry per content-checksummed field that diverges across versions.
Always empty when has_conflict is false.
FieldConflict is one content-checksummed field whose value diverges across at least two of the versions in this response.
object
The full path of the diverging field, matching Location’s proto field names: dotted for nested messages, bracket-indexed for repeated entries, e.g. “address.city”, “weekly_hours[1].availability”.
One entry per distinct value observed for this field across versions.
object
The field’s value shared by every version listed in versions below.
An unset/absent field is rendered as an explicit null, not omitted.
Metadata.id of every LocationGetItem in LocationsGetResponse.versions that holds this exact value.
Every device deployed across this physical location’s versions (the canonical and every partner’s), regardless of which project claims them — the itemized pair of LocationListItem.device_count. The caller’s own devices come first.
LocationDeviceItem is one device deployed at this physical location, in its short summary form, tagged with whether it is the caller’s own.
object
Summary is the short list-view projection of one stored Device.
object
The ids of this device’s record.
object
Display name of the device.
The hardware form factor of the device.
The operational status of the device.
Device unique external identifier, in the format “{identifier.key}_{identifier.player_id}”.
True when the device belongs to the caller’s own organization. Always false for a tenant-scoped caller, which has no organization of its own.
Example
{ "resource": { "data": { "status": "STATUS_UNSPECIFIED", "weeklyHours": [ { "day": "DAY_OF_WEEK_UNSPECIFIED", "availability": "AVAILABILITY_UNSPECIFIED" } ], "dateOverrides": [ { "availability": "AVAILABILITY_UNSPECIFIED" } ], "nielsenArea": "NIELSEN_AREA_UNSPECIFIED", "excludedAdProducts": [ "AD_PRODUCT_UNSPECIFIED" ] }, "source": "LOCATION_SOURCE_UNSPECIFIED" }, "versions": [ { "data": { "status": "STATUS_UNSPECIFIED", "weeklyHours": [ { "day": "DAY_OF_WEEK_UNSPECIFIED", "availability": "AVAILABILITY_UNSPECIFIED" } ], "dateOverrides": [ { "availability": "AVAILABILITY_UNSPECIFIED" } ], "nielsenArea": "NIELSEN_AREA_UNSPECIFIED", "excludedAdProducts": [ "AD_PRODUCT_UNSPECIFIED" ] }, "source": "LOCATION_SOURCE_UNSPECIFIED" } ], "devices": [ { "summary": { "type": "DEVICE_TYPE_UNSPECIFIED", "status": "STATUS_UNSPECIFIED" } } ]}