Understanding Locations
Query and inspect the business locations associated with your brand for use in Apple Maps campaigns.
Overview
A location represents a physical place of business, such as a retail store, restaurant, or service center. Ads on Apple Maps promote these locations. See Managing Location Groups for how a location group organizes locations into a targetable set for an ad group.
Locations are read-only from the API perspective. Apple Business, not the Apple Ads Platform API, creates and maintains them. Use the location endpoints to discover locations associated with your brand, verify eligibility, and retrieve location IDs for use in location group construction.
Understand Key Concepts
Familiarize yourself with these concepts before you query locations or build location groups:
Concept | Description |
|---|---|
Location | A physical place of business associated with a brand. Each location belongs to one brand. |
ID | The unique |
status | Operational state: |
eligibility | System-managed field that indicates whether ads can promote the location. See Eligibilitystatus for possible values. You can add only |
Location group | A named collection of location IDs. Ad groups reference location groups, not individual locations. See Location Groups Overview. |
Follow the Location Workflow
Use location endpoints to discover and validate locations before building location groups for an Apple Maps campaign:
Query locations for a brand. Call Query for Locations with a
brandIdfilter to retrieve all locations associated with your brand. Note theidvalue of each location you want to target.Filter by status. Add a
status EQUALS OPENfilter to return only locations that are eligible for ad targeting. You can’t add closed or temporarily closed locations to location groups.Verify eligibility. Check the
eligibility.statusfield in each location object. A location must haveeligibility.status: ELIGIBLEbefore you can add it to a location group and use it in a campaign.Retrieve a single location. Call Get a Location by
idto confirm address, coordinates, and eligibility before adding the location to a group.Build and manage location groups. Once you’ve verified location IDs, see Managing Location Groups for the full group creation, targeting, and maintenance workflow.
Review Location Fields
Each location object returned by the API includes these read-only fields:
Field | Type | Description |
|---|---|---|
| string | Identifier for the location. Read-only. |
| string | Display name of the location. Read-only. |
| string | The brand this location belongs to. Read-only. |
| string | Operational status: |
| string | ISO 3166-1 alpha-2 country or region code for the location (for example, |
| array of strings | Business category identifiers. The first entry is the primary category. Read-only. |
| object | Full address with subfields for street, city, state, postal code, and country. Read-only. |
| object | Geographic coordinates of the location. Read-only. |
| string | ISO-8601 creation timestamp. Read-only. |
| string | ISO-8601 last-modification timestamp. Read-only. |
| object | System-managed eligibility status for ad targeting. See Eligibilitystatus for possible values. Read-only. |