get_campaign_heatmap
Get geographic exposure heatmap data for a campaign.
Returns lat/lng clusters with exposure counts and device reach, useful for visualizing where ads were shown on a map.
WHEN TO USE:
Visualizing campaign geographic coverage
Identifying hotspots of ad exposure
Analyzing geographic distribution of attributed foot traffic
RETURNS: Array of geographic clusters (max 500), each with:
lat, lng (rounded to 3 decimal places)
uniqueDevices, totalExposures
avgConfidence (match confidence score)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | Campaign identifier |