get_location_intent
Check a campaign's location-intent setting to see if it targets people physically present or those searching for or viewing pages about the locations.
Instructions
Read a campaign's location-intent setting (presence vs. broader reach).
Returns the single LocationIntent criterion's intent_option: PeopleIn (only people
physically in the targeted locations) or PeopleInOrSearchingForOrViewingPages (people
in, searching for, or viewing pages about them; Microsoft's default). Legacy campaigns
may still report the deprecated PeopleSearchingForOrViewingPages.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaign_id": "<campaign_id>"
},
"name": "get_location_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | The campaign id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |