Skip to main content
Glama
swesmith-repos

Meta Ads MCP

search_geo_locations

Find geographic targeting locations for Meta Ads campaigns by searching countries, regions, cities, and other location types with name and hierarchy data.

Instructions

Search for geographic targeting locations.

Args:
    query: Search term for locations (e.g., "New York", "California", "Japan")
    access_token: Meta API access token (optional - will use cached token if not provided)
    location_types: Types of locations to search. Options: ['country', 'region', 'city', 'zip', 
                   'geo_market', 'electoral_district']. If not specified, searches all types.
    limit: Maximum number of results to return (default: 25)

Returns:
    JSON string containing location data with key, name, type, and geographic hierarchy information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
access_tokenNo
location_typesNo
limitNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/swesmith-repos/pipeboard-co__meta-ads-mcp.36128861'

If you have feedback or need assistance with the MCP directory API, please join our Discord server