create_apple_ads_location_group
Create an Apple Maps location group
Description
Create a location group — the set of a brand’s shops an Apple Maps ad group promotes. TWO KINDS. STATIC takes an explicit locationIds list (from list_apple_ads_locations) and is VALID immediately. DYNAMIC takes rules and maintains itself as the brand opens and closes shops, but starts PENDING while Apple evaluates them — wait for systemStatus VALID before targeting it. A RULE THAT MATCHES NOTHING IS APPLE’S ONE SILENT FAILURE HERE: it returns no error and simply builds a group with groupTotal 0, so adminArea must be the FULL English name ("California", never "CA") and locality must be countryOrRegion|adminArea|locality ("US|New York|Brooklyn", never "Brooklyn") — both shapes are refused here before the group is built. A group SPENDS NOTHING and does not decide who sees the ad or how near they are: it only scopes WHICH shops the ad group promotes, while radius and geo targeting on the ad group decide reach. mapsBrandId and the ad account are locked in permanently at creation. Target it afterwards with create_apple_ads_ad_group(targeting.locationGroupIds) or update_apple_ads_object(level:"adgroup"). Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
namerequired | string | REQUIRED. |
mapsBrandId | string | REQUIRED: from list_apple_ads_brands. Immutable afterwards. |
brandId | string | older name for mapsBrandId (MCP only) |
groupType | "STATIC" | "DYNAMIC" | Default STATIC. Immutable afterwards. |
locationIds | string[] | REQUIRED for STATIC — ids from list_apple_ads_locations. |
rules | object[] | REQUIRED for DYNAMIC. value is a string for EQUALS/NOT_EQUALS and an array for IN/NOT_IN. |
rules[].fieldrequired | "adminArea" | "locality" | "postalCode" | "locationId" | adminArea (full state name, e.g. California), locality (countryOrRegion|adminArea|locality), postalCode or locationId |
rules[].operatorrequired | "EQUALS" | "NOT_EQUALS" | "IN" | "NOT_IN" | EQUALS, NOT_EQUALS, IN or NOT_IN |
rules[].valuerequired | string | string[] | string for EQUALS or NOT_EQUALS; array for IN or NOT_IN |
description | string | description of the location group |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/create_apple_ads_location_group.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_apple_ads_location_group","arguments":{"name":"<string>"}}}
CLI
hermoso call create_apple_ads_location_group --json '{"name":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
list_apple_ads_locationsList Apple Maps business locationscreate_apple_ads_ad_groupCreate an Apple Ads ad groupupdate_apple_ads_objectEdit an Apple Ads campaign, ad group, keyword or location grouplist_apple_ads_location_groupsList Apple Maps location groupslist_apple_ads_brandsList Apple Maps brands